Open iluminae opened 1 year ago
same issue here. though the pod is getting created, and I am able to update the pod with an additional volume as well. each time it throws the error, but the pod seems to getting created and updated correctly.
Some additional info that might help. This seems to be caused by the ServiceAccount token auto mount under volumes. Adding an additional element to the list of volumes, confusing the provider. Setting automountServiceAccountToken: false
works happily without any errors.
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!
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
I will post this if you really need it but I think its entirely reproducible and its hard to capture that incredibly verbose output.
Panic Output
n/a
Steps to Reproduce
terraform apply
the above reproExpected Behavior
pod created and terraform happy
Actual Behavior
pod created and terraform unhappy
Important Factoids
References
Community Note