Open yuwenma opened 1 year ago
Isn't this a duplicate of https://github.com/GoogleContainerTools/kpt/issues/3560 ? (which should say set-namespace in the title, which may be why it got duped...)
Isn't this a duplicate of #3560 ? (which should say set-namespace in the title, which may be why it got duped...)
Ah, Yes! I was in the impression of seeing such a bug report but really can't find it so I decide to file it myself.
Is there a fix for it ?
Expected behavior
Run
gcr.io/kpt-fn/set-namespace:unstable
againstCustomResourceDefinition
resource, we expect thespec.conversion.webhook.clientConfig.service.namespace
to only be updated if theconversion.strategy
is "webhook" (required)Actual behavior
No matter what the strategy is,
set-ns
always update thewebhook.clientConfig.service.namespace