diff --git a/config/crd/kustomization.yaml b/config/crd/kustomization.yaml index 066a1acb3bacd296cb129dd7cf4d309d64ace771..3779e3561e7e5a037eb0d2324c81ac5ccff8260c 100644 --- a/config/crd/kustomization.yaml +++ b/config/crd/kustomization.yaml @@ -5,7 +5,7 @@ resources: - bases/certmanager.step.sm_stepissuers.yaml # +kubebuilder:scaffold:crdkustomizeresource -patches: +patchesStrategicMerge: # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix. # patches here are for enabling the conversion webhook for each CRD #- patches/webhook_in_stepissuers.yaml diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index 6137fad7b601dd8659f05f3acd0c7ee14659ca73..c7403c63673b6e81684c4447b60ad55e76f5f267 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -1,3 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + # Adds namespace to all resources. namespace: step-issuer-system @@ -12,7 +15,7 @@ namePrefix: step-issuer- #commonLabels: # someName: someValue -bases: +resources: - ../crd - ../rbac - ../manager @@ -21,7 +24,7 @@ bases: # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required. #- ../certmanager -patches: +patchesStrategicMerge: - manager_image_patch.yaml # Protect the /metrics endpoint by putting it behind auth. # Only one of manager_auth_proxy_patch.yaml and