-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service Account cannot be removed from PodSpec #1089
Comments
I looked into this today because I almost filed the very same bug! 😄 TL;DR: From a provider perspective, what we need to do is set In the mean time, as a work-around, users can set Long answer: The reason for this is Kubernetes will automatically populate Here's what's happening on the Kubernetes side: I tested this using a basic pod:
The pod had the ServiceAccountName field set, even though it wasn't specified in the yaml.
This is the case in pods with and without
|
Marking this issue as stale due to inactivity. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. This helps our maintainers find and focus on the active issues. Maintainers may also remove the stale label at their discretion. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Steps to Reproduce
terraform apply
service_account_name
attribute, or change the value to""
terraform plan
Expected Behavior
Actual Behavior
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: