We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
image_pull_secrets
Terraform version: 1.7.5 Kubernetes provider version: 2.27.0 Kubernetes version: 1.28.7
kubernetes_deployment
resource "kubernetes_deployment" "whoami" { metadata { name = "whoami" labels = { app = "whoami" } } spec { replicas = 1 selector { match_labels = { app = "whoami" } } template { metadata { labels = { app = "whoami" } } spec { container { image = "traefik/whoami" name = "whoami" } # remove after initial deploy image_pull_secrets { name = "docker-cfg" } } } } }
terraform apply
What should have happened?
pull secret should be removed from deployment
What actually happened?
pull secret is still there
The text was updated successfully, but these errors were encountered:
I remove the pull secrets a long time ago with older versions. I don't on the versions used, so now you see the current versions in use.
Sorry, something went wrong.
sheneska
No branches or pull requests
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
kubernetes_deployment
Terraform Configuration Files
Debug Output
Panic Output
Steps to Reproduce
terraform apply
terraform apply
Expected Behavior
What should have happened?
pull secret should be removed from deployment
Actual Behavior
What actually happened?
pull secret is still there
Important Factoids
References
Community Note
The text was updated successfully, but these errors were encountered: