You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
Got the following error during the upgrade after adding immutable: true to one of the operator's parameters (default value is set and don't change in a new version):
admission webhook "instance-admission.kudo.dev" denied the request: failed to check immutable parameters for Instance test/operator-instance: parameter 'foo' was changed to immutable in operator version operator-1.0.0-0.0.2 but no value was provided
There is also another variation of this error, even though the use-case is the same (parameter became immutable without changing its value):
Error: failed to update instance for new operatorversion operator/operator-1.2.0-1.0.1-rc1: admission webhook "instance-admission.kudo.dev" denied the request: failed to check immutable parameters for Instance operator/instance: parameter 'clusterDomainName' was added in operator version operator-1.2.0-1.0.1-rc1, but no value was provided (default would be cluster.local)
What you expected to happen:
Upgrade completes successfully, the default value of the parameter is used.
How to reproduce it (as minimally and precisely as possible):
alembiewski
changed the title
Operator upgrade fails after making one of the parameters immutable without changing the default value
Operator upgrade fails after making one of the parameters immutable
Mar 12, 2021
What happened:
Got the following error during the upgrade after adding
immutable: true
to one of the operator's parameters (default value is set and don't change in a new version):There is also another variation of this error, even though the use-case is the same (parameter became immutable without changing its value):
What you expected to happen:
Upgrade completes successfully, the default value of the parameter is used.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl version
):1.19
kubectl kudo version
):0.18.2
uname -a
):The text was updated successfully, but these errors were encountered: