-
Notifications
You must be signed in to change notification settings - Fork 986
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
Provider crashes when creating ServiceAccounts #1741
Comments
Isn't this a duplicate of #1724? |
@hahewlet I don't think so - that issue is with Kubernetes 1.24. We are using 1.21. Also, the error messages are different in that issue compared to what I'm seeing here. |
Hello! Thank you for opening this issue. This seems to be a problem with how the provider handles |
I think a better way to do this might be to use a dynamic block here to omit the dynamic "image_pull_secret" {
for_each = var.enable_image_pull_secret ? [1] : []
content {
name = "docker-config-json"
}
} Having an |
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
https://gist.github.com/jessebye/1dc2ad48b3addbddb3183eeecd7232eb
Panic Output
n/a
Steps to Reproduce
terraform apply
Expected Behavior
ServiceAccount is created and the TF state is updated correctly.
Actual Behavior
ServiceAccount is created, but the TF state is not updated.
Important Factoids
n/a
References
n/a
Community Note
The text was updated successfully, but these errors were encountered: