27dee33bfd
This reverts commit 813bdd3614
.
Reason for revert: This commit was done to avoid duplication of certmanager across all clusterctl components. However with the current notion of maintaining the upstream version as is, this change should be reverted. Also there is WIP to implement cert-manager as a standalone component even before clusterctl tries to deploy its embedded certmanager. So this commit will avoid manipulating the override in the standalone certmanager component
Change-Id: I16b0b002da990eb3f070f69d025cb904f7ef9e27
43 lines
1012 B
YAML
43 lines
1012 B
YAML
namespace: capi-webhook-system
|
|
|
|
resources:
|
|
- manifests.yaml
|
|
- service.yaml
|
|
- ../certmanager
|
|
- ../manager
|
|
|
|
configurations:
|
|
- kustomizeconfig.yaml
|
|
|
|
patchesStrategicMerge:
|
|
- manager_webhook_patch.yaml
|
|
- webhookcainjection_patch.yaml
|
|
|
|
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
|