airshipctl/manifests/function/capm3/v0.3.1/webhook/kustomization.yaml
Sirajudeen 813bdd3614 Use global certmanager for clusterctl
* Remove the duplicated certmanager across all the
  cluster components ( capi, capm3, cacpk, cbk, capd, capz)
  and use certmanager from functions ( global )

Change-Id: I9ee060a19ab8c9eb508bc3ddb848895478170b98
Closes: #350
2020-10-21 16:37:11 +00:00

43 lines
1.1 KiB
YAML

namespace: capi-webhook-system
resources:
- manifests.yaml
- service.yaml
- ../../../certmanager
- ../manager
configurations:
- kustomizeconfig.yaml
patchesStrategicMerge:
- manager_webhook_patch.yaml
- webhookcainjection_patch.yaml # Disable this value if you don't have any defaulting or validation webhook. If you don't know, you can check if the manifests.yaml file in the same directory has any contents.
vars:
- name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
objref:
kind: Certificate
group: cert-manager.io
version: v1alpha2
name: serving-cert # this name should match the one in certificate.yaml
fieldref:
fieldpath: metadata.namespace
- name: CERTIFICATE_NAME
objref:
kind: Certificate
group: cert-manager.io
version: v1alpha2
name: serving-cert # this name should match the one in certificate.yaml
- name: SERVICE_NAMESPACE # namespace of the service
objref:
kind: Service
version: v1
name: webhook-service
fieldref:
fieldpath: metadata.namespace
- name: SERVICE_NAME
objref:
kind: Service
version: v1
name: webhook-service