---
apiVersion: v1
kind: Secret
metadata:
  name: certificate-management
  namespace: garden
  labels:
    garden.sapcloud.io/role: certificate-management
type: Opaque
data:
  certificate-management-config: base64(certificate-management-config)
# Example for certificate management configuration
# ---
# clusterIssuerName: lets-encrypt
# acme:
#   email: john.doe@example.com
#   server: https://acme-v02.api.letsencrypt.org/directory
#   privateKey: | # Optional key for Let's Encrypt account.
#     -----BEGIN BEGIN RSA PRIVATE KEY-----
#     ...
#     -----END RSA PRIVATE KEY-----
# providers:
#   clouddns:
#   - name: clouddns-prod
#     domains:
#     - example.io
#     project: project_id
#     serviceAccount: | #service-account.json
#       {
#       "type": "service_account",
#       "project_id": "demo-project"
#       }
#   route53:
#   - name: route53-prod
#     domains:
#     - example.com
#     region: us-east-1
#     accessKeyID: your-accessKeyID
#     secretAccessKey: your-secretAccessKey
#   - name: route53-dev
#     domains:
#     - example.org
#     region: us-east-1
#     accessKeyID: your-accessKeyID
#     secretAccessKey: your-secretAccessKey