github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/config/certmanager/certificate.yaml (about)

     1  # The following manifests contain a self-signed issuer CR and a certificate CR.
     2  # More document can be found at https://docs.cert-manager.io
     3  apiVersion: certmanager.k8s.io/v1alpha1
     4  kind: Issuer
     5  metadata:
     6    name: selfsigned-issuer
     7    namespace: system
     8  spec:
     9    selfSigned: {}
    10  ---
    11  apiVersion: certmanager.k8s.io/v1alpha1
    12  kind: Certificate
    13  metadata:
    14    name: serving-cert  # this name should match the one appeared in kustomizeconfig.yaml
    15    namespace: system
    16  spec:
    17    # $(SERVICE_NAME) and $(SERVICE_NAMESPACE) will be substituted by kustomize
    18    commonName: $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc
    19    dnsNames:
    20    - $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc.cluster.local
    21    issuerRef:
    22      kind: Issuer
    23      name: selfsigned-issuer
    24    secretName: webhook-server-cert # this secret will not be prefixed, since it's not managed by kustomize