
Adding manifests for CAPD config v0.3.11. Change-Id: Icfe95b68ee613e8e642ad8a8383a2b0cda01821e
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: capd-system
|
|
|
|
resources:
|
|
- manifests.yaml
|
|
- service.yaml
|
|
- ../certmanager
|
|
- ../manager
|
|
|
|
patchesStrategicMerge:
|
|
- manager_webhook_patch.yaml
|
|
- webhookcainjection_patch.yaml
|
|
|
|
configurations:
|
|
- kustomizeconfig.yaml
|
|
|
|
vars:
|
|
- 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
|
|
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
|
|
- 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
|