issuer.yml 525 B

123456789101112131415161718192021
  1. #kubectl create secret generic acme-dns --from-file ./acmecred.json
  2. apiVersion: cert-manager.io/v1alpha2
  3. kind: Issuer
  4. metadata:
  5. name: acme-issuer
  6. spec:
  7. acme:
  8. # The ACME server URL
  9. server: https://acme-staging-v02.api.letsencrypt.org/directory
  10. email: admin@sdsys.ru
  11. privateKeySecretRef:
  12. name: acme-account
  13. solvers:
  14. - selector: {}
  15. dns01:
  16. acmedns:
  17. host: http://nsauth.infoklinika.ru
  18. accountSecretRef:
  19. name: acme-dns
  20. key: acmecred.json