witty-zebra-85104
06/04/2024, 5:13 PMType Name Plan Info
pulumi:pulumi:Stack infra-plane-k8s-dev 1 error
└─ centml:platform_k8s:knative dev-k8s-knative
└─ kubernetes:yaml/v2:ConfigFile dev-k8s-knative-serving-core
~ ├─ kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration dev-k8s-knative-serving-core:webhook.serving.knative.dev update [diff: ~webhooks]; 1 error
~ └─ kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration dev-k8s-knative-serving-core:validation.webhook.serving.knative.dev update [diff: ~webhooks]; 1 error
Diagnostics:
kubernetes:admissionregistration.k8s.io/v1:MutatingWebhookConfiguration (dev-k8s-knative-serving-core:webhook.serving.knative.dev):
error: Preview failed: 1 error occurred:
* the Kubernetes API server reported that "webhook.serving.knative.dev" failed to fully initialize or become live: Server-Side Apply field conflict detected. See https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/#handle-field-conflicts-on-existing-resources for troubleshooting help.
The resource managed by field manager "pulumi-kubernetes-7b887821" had an apply conflict: Apply failed with 1 conflict: conflict with "webhook" using admissionregistration.k8s.io/v1: .webhooks[name="webhook.serving.knative.dev"].rules
pulumi:pulumi:Stack (infra-plane-k8s-dev):
error: preview failed
kubernetes:admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration (dev-k8s-knative-serving-core:validation.webhook.serving.knative.dev):
error: Preview failed: 1 error occurred:
* the Kubernetes API server reported that "validation.webhook.serving.knative.dev" failed to fully initialize or become live: Server-Side Apply field conflict detected. See https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/#handle-field-conflicts-on-existing-resources for troubleshooting help.
The resource managed by field manager "pulumi-kubernetes-da1dfa41" had an apply conflict: Apply failed with 1 conflict: conflict with "webhook" using admissionregistration.k8s.io/v1: .webhooks[name="validation.webhook.serving.knative.dev"].rulesdamp-airline-38442
07/09/2024, 7:52 PMv2:ConfigFile you need to use a new variation, the transforms option, see this blog post.
Seems like Pulumi is conflicting with another field manager to apply some aspect of the knative webhook(s). Could you share the output from this command?
k get mutatingwebhookconfiguration webhook.serving.knative.dev --show-managed-fields -oyaml