airshipctl/manifests/function/capd/v0.3.7/certmanager/certificate.yaml
Rishabh Kumar Jain 809b6234a5 Integrate docker provider (capd) with airshipctl
* add documentation for docker provider (capd)
  * add manifests for docker provider (capd)
  * add cluster templates for control plane and workers
  * add site definition to use docker provider (capd) with
    control plane and workers

Change-Id: I36a643774ce2e468b70ab29568bface3da537d41
2020-09-10 21:24:40 +00:00

25 lines
816 B
YAML

# The following manifests contain a self-signed issuer CR and a certificate CR.
# More document can be found at https://docs.cert-manager.io
apiVersion: cert-manager.io/v1alpha2
kind: Issuer
metadata:
name: selfsigned-issuer
namespace: system
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml
namespace: system
spec:
# $(SERVICE_NAME) and $(SERVICE_NAMESPACE) will be substituted by kustomize
dnsNames:
- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc
- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc.cluster.local
issuerRef:
kind: Issuer
name: selfsigned-issuer
secretName: $(SERVICE_NAME)-cert # this secret will not be prefixed, since it's not managed by kustomize