Problem
The deploy Make target mutates the tracked config/manager kustomization with kustomize edit set image, while rebuild-deploy-openshift copies configuration to a temporary directory before rendering. The two paths have different safety and working-tree behavior.
Also, OPENSHIFT_PROJECT affects BuildConfig and rollout commands, but config/default/kustomization.yaml fixes the Kubernetes namespace to guestcluster-operator-system. The documented project override is therefore incomplete.
References
Makefile:58
Makefile:249-267
config/default/kustomization.yaml:2
Suggested direction
Use one safe, temporary rendering path for both deployment targets. Ensure the OpenShift project override also controls the rendered namespace, or document and validate the separate namespace behavior explicitly.
Problem
The
deployMake target mutates the trackedconfig/managerkustomization withkustomize edit set image, whilerebuild-deploy-openshiftcopies configuration to a temporary directory before rendering. The two paths have different safety and working-tree behavior.Also,
OPENSHIFT_PROJECTaffects BuildConfig and rollout commands, butconfig/default/kustomization.yamlfixes the Kubernetes namespace toguestcluster-operator-system. The documented project override is therefore incomplete.References
Makefile:58Makefile:249-267config/default/kustomization.yaml:2Suggested direction
Use one safe, temporary rendering path for both deployment targets. Ensure the OpenShift project override also controls the rendered namespace, or document and validate the separate namespace behavior explicitly.