-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Changing the body of a Secret manifest doesn't cause any changes #95
Comments
Does it happen with the latest version of the provider? If yes, is there anything in a trace? Tbh, with standard kubernetes objects (and especially secrets), I find that the kubernetes provider works a bit better for a change management. |
We are using 2.0.3. |
I mean using the https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/secret resource, not the Having said that, please try the latest 2.0.4, there has been some refactoring around secrets which might (or not) cure your issue. |
Closing this off due to lack of response |
Hi |
We are deploying some Secrets via
kubectl_manifest
In this case,
immutable
is set to false.Everything goes well on first apply.
We then change the content of the manifest (some 14 normal sized fields and 1 large field (json)).
While plan does detect the need to change, and application runs without errors, the secret doesn't change in k8s.
Removing the secret in k8s and then reapplying terraform does yield the secret with the desired changes.
Even with server_side_apply==false, the issue still happens.
Any idea of what may be causing this issue? Thx
The text was updated successfully, but these errors were encountered: