Manifest yaml files here are kustomization
templates used to deploy only the harbor operator.
deployment.yaml
is the operator deployment manifest yaml file built by thekustomization
templates.
Directly use deployment yaml:
kubectl apply -f ./deployment.yaml
Use kustomize
:
kustomize build . | kubectl apply -f -
Use manifest:
kubectl delete -f ./deployment.yaml
Use kustomize
:
kustomize build . | kubectl delete -f -