This change ensures that original target namespace is used when invoked directly in the builder.
Typically subsequent calls of .TargetNamespace in the feature builder indicate coding/copy-paste error and should be reduced to one.
However,in the FeatureHandler, where we group features together we do not have to specify target namespace for each feature, as it is defaulted to the one defined on the handler level. This is convenient, but limits application of features to a single namespace, as the value is always overwritten.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/opendatahub-io/opendatahub-operator/blob/incubation/OWNERS)~~ [zdtsw]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Description
This change ensures that original target namespace is used when invoked directly in the builder.
Typically subsequent calls of
.TargetNamespace
in the feature builder indicate coding/copy-paste error and should be reduced to one.However,in the FeatureHandler, where we group features together we do not have to specify target namespace for each feature, as it is defaulted to the one defined on the handler level. This is convenient, but limits application of features to a single namespace, as the value is always overwritten.
How Has This Been Tested?
By running
make
tests.Screenshot or short clip
Merge criteria