set-namespace
should not modify CustomResourceDefinition
if spec.conversion.strategy
is unset.
#3837
Labels
area/fn-catalog
Functions Catalog
bug
Something isn't working
triaged
Issue has been triaged by adding an `area/` label
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
The text was updated successfully, but these errors were encountered: