-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
What were you trying to accomplish?
Create Pod identity Associations saving in other files than cluster config file, by using eksctl get/create/update podidentityassociation commands
What happened?
Command works fine, but when I compare eksctl get podidentityassociation
output and fields which can be present (https://github.com/eksctl-io/eksctl/blob/main/examples/39-pod-identity-association.yaml), missing some potential crucial information (wellKnownPolicies, permissionPolicyARNs, ...)
How to reproduce it?
- Create cluster with mentionned iam podIdentityAssociations
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: my-cluster
iam:
podIdentityAssociations:
- namespace: my-namespace
serviceAccountName: my-sa
roleName: my-role
permissionPolicyARNs:
- arn:aws:iam::112233445566:policy/my-policy
- namespace: cert-manager
serviceAccountName: cert-manager
wellKnownPolicies:
certManager: true
- Launch
eksctl get podidentityassociation --cluster my-cluster
and save output. - You can see output doesn't mentioned some creation fields
- If you launch
eksctl update podidentityassociation --cluster my-cluster --namespace my-namespace --service-account-name my-sa --role-arn my-role-arn
,my-role
will be modify to removepermissionPolicyARNs
and I can set it with update command - In the same time, for
cert-manager
exemple,wellKnownPolicies
are missing from output from get command and we can't set it with update command
Logs
Anything else we need to know?
Versions
$ eksctl info
eksctl version: 0.212.0
kubectl version: v1.32.5
OS: linux
mickavaz