certificates.yaml 565 Bytes
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: exact-cert
spec:
  secretName: exact-cert
  secretTemplate:
    labels:
      "backup.cert-manager.brainfood.com": "true"
  dnsNames:
    - 'example.com'
  issuerRef:
    name: letsencrypt-staging
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: subs-cert
spec:
  secretName: subs-cert
  secretTemplate:
    labels:
      "backup.cert-manager.brainfood.com": "true"
  dnsNames:
    - 'test.example.com'
    - 'auth.example.com'
  issuerRef:
    name: letsencrypt-staging
---