-
Notifications
You must be signed in to change notification settings - Fork 141
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
Replace of immutable secret fails #781
Comments
@sebhoss this is a server-side issue. The |
@abikouo thanks - I guess I was looking for something like |
you can read content with the |
I'm running into something similar with a deployment (when editing labels and selectors....) (Immutable fields on the Deployment in this case, rather than an immutable object)
I also hoped that setting |
SUMMARY
I have a secret that sets its
immutable
field totrue
and thus cannot be changed through a normal apply operation but requires a replacement in case itsdata
does change. According to https://docs.ansible.com/ansible/latest/collections/kubernetes/core/k8s_module.html#parameter-force a replacement should have happened but it fails insteadISSUE TYPE
COMPONENT NAME
kubernetes.core.k8s
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Fedora 40
STEPS TO REPRODUCE
Use the following secret (or any other that sets
immutable: true
):EXPECTED RESULTS
My expectation was that this changing the data of an immutable secret with
force: true
does workACTUAL RESULTS
The text was updated successfully, but these errors were encountered: