serving icon indicating copy to clipboard operation
serving copied to clipboard

admission webhook "config.webhook.serving.knative.dev" denied the request: validation failed: the update modifies a key in "_example"

Open ararhe opened this issue 2 years ago • 2 comments

Ask your question here:

Config-autoscaler knative.dev/example-checksum changed in this PR , I am trying to upgrade the Knative from v1.3.0 to v1.4.0, so I I have to change the Config-autoscaler knative.dev/example-checksum, but admission webhook "config.webhook.serving.knative.dev" doesn't let me modify the checksum.

admission webhook "config.webhook.serving.knative.dev" denied the request: validation failed: the update modifies a key in "_example"

image

apiVersion: v1 kind: ConfigMap metadata: name: config-autoscaler namespace: knative-serving labels: app.kubernetes.io/component: autoscaler app.kubernetes.io/name: knative-serving app.kubernetes.io/version: "1.4.0" annotations: knative.dev/example-checksum: "47c2487f" data: _example: |

ararhe avatar Oct 18 '23 03:10 ararhe

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Jan 17 '24 01:01 github-actions[bot]

You shouldn't be changing the checksum - but just applying the new config map

dprotaso avatar Jan 17 '24 02:01 dprotaso

This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Reopen the issue with /reopen. Mark the issue as fresh by adding the comment /remove-lifecycle stale.

github-actions[bot] avatar Apr 18 '24 01:04 github-actions[bot]