-
Notifications
You must be signed in to change notification settings - Fork 115
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 a secret's data always results in a replace insted of an update #1772
Comments
Thank you for reporting this! This is currently the expected behavior, see #1568 for description. We may consider an improvement here, so I'll leave the issue open for now. |
I opened #1775 to track a planned improvement here. |
Sorry I missed that issue. Using I probably should have included in my original issue that when that But since Pulumi knows that the I guess once |
The Deployment should be updated (not replaced) using a rollout, so it generally shouldn't cause downtime. |
Right, I think it was doing a replace because I was using |
I'm having this issue changing a named secret referenced by |
@protometa @gunzy83 @johnb8 FYI support for mutable secrets was added in v4.18 -- see the release notes. Note this might become the default behavior in a future major release. |
Hello!
Issue details
When the
data
orstringData
of aSecret
is modified, Pulumi wants to do a replace instead of a update.Steps to reproduce
Deploy this Pulumi script
then change the
test
secret value and deploy again. Pulumi will replace the secret. The same happens when usingdata
instead ofstringData
too.I'm using Pulumi version 3.15.0 and
@pulumi/kubernetes
3.8.1.Expected: Pulumi should do an update on the
Secret
Actual: Pulumi replaces the
Secret
The text was updated successfully, but these errors were encountered: