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
Currently, the MutatingWebhookConfiguration is created by init-containers, which means if we want to update existing MutatingWebhookConfiguration, we have to do
to let init-containers works again and check if existing MutatingWebhookConfiguration needs updating. If there a better way to do this? By Kubernetes operators?
The compare_mwc_fields function in imageswap-init.py only checks keys in new MutatingWebhookConfiguration now.
forkeyinsorted(new):
Which means if newer MutatingWebhookConfiguration has less key then the existing one, init-containers will assert them to be same, which is actually not.
Why is this needed:
To avoid MutatingWebhookConfiguration updating failures
The text was updated successfully, but these errors were encountered:
What would you like to be added:
kubectl delete -f install.yaml && kubectl create -f install.yaml
to let init-containers works again and check if existing MutatingWebhookConfiguration needs updating. If there a better way to do this? By Kubernetes operators?
new MutatingWebhookConfiguration
now.Which means if newer MutatingWebhookConfiguration has less key then the existing one, init-containers will assert them to be same, which is actually not.
Why is this needed:
To avoid MutatingWebhookConfiguration updating failures
The text was updated successfully, but these errors were encountered: