I have a Kubernetes project that uses Kustomize functionality. Basically, the directory structure is like follows:
+ base +
+ +- kustomize.yml
+ +- a.yml
+
+ overlays +
+--- serverA +
+- kustomize.yml
+ a.yml
+--- serverB +
+- kustomize.yml
I run "oc apply -k overlays/serverB" and I want it to do an empty run (that is to do nothing; just to skip execution for the server) for serverB. Is it feasible?
Not executing "oc apply -k overlays/serverB" for the server at all is a poor option because I would have to include additional loggic into calling script which I want to avoid.
At the moment I get an error: "error: no objects passed to apply"