cluster-cert.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. apiVersion: cert-manager.io/v1alpha2
  2. kind: Certificate
  3. metadata:
  4. name: monteasua-com-br
  5. # namespace: kube-system
  6. spec:
  7. # Secret names are always required.
  8. secretName: monteasua-com-br-tls
  9. duration: 2160h # 90d
  10. renewBefore: 360h # 15d
  11. # organization:
  12. # - jetstack
  13. # The use of the common name field has been deprecated since 2000 and is
  14. # discouraged from being used.
  15. commonName: "*.monteasua.com.br"
  16. # isCA: false
  17. # keySize: 2048
  18. # keyAlgorithm: rsa
  19. # keyEncoding: pkcs1
  20. # usages:
  21. # - server auth
  22. # - client auth
  23. # At least one of a DNS Name, URI, or IP address is required.
  24. dnsNames:
  25. - "monteasua.com.br"
  26. - "*.monteasua.com.br"
  27. # uriSANs:
  28. # - spiffe://cluster.local/ns/sandbox/sa/example
  29. # ipAddresses:
  30. # - 192.168.0.5
  31. # Issuer references are always required.
  32. issuerRef:
  33. name: le-clusterissuer
  34. kind: ClusterIssuer
  35. # We can reference ClusterIssuers by changing the kind here.
  36. # The default value is Issuer (i.e. a locally namespaced Issuer)
  37. # This is optional since cert-manager will default to this value however
  38. # if you are using an external issuer, change this to that issuer group.
  39. # group: cert-manager.io