Closed hsalluri259 closed 4 months ago
Hi @hsalluri259,
I have run the provider code snippet and it works with no issues.
$ kubectl describe serviceaccount -n kube-system argocd-manager
Name: argocd-manager
Namespace: kube-system
Labels: <none>
Annotations: <none>
Image pull secrets: <none>
Mountable secrets: <none>
Tokens: argocd-manager-token
Events: <none>
The token falls under its own field Tokens
and only displays with kubectl describe
(see above).
Yes, you're right. Since it was not created automatically it won't show in secrets when I do kubectl get secret
Terraform Version, Provider Version and Kubernetes Version
Terraform version: v1.7.2 Kubernetes provider version: v2.30.0 Kubernetes version: v1.28.8
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform apply
Expected Behavior
When I did
kubectl describe sa argocd-manager
it should show secret associated with it.Actual Behavior
Kubernetes secret does show up in my SA.
Community Note