📜  用于 kubernetes 的免费 ssl - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:43.459000             🧑  作者: Mango

代码示例1
apiVersion: certmanager.k8s.io/v1alpha1
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
spec:
  acme:
    # The ACME server URL
    server: https://acme-staging.api.letsencrypt.org/directory    # Email address used for ACME registration    email: myemail@gmail.com    # Name of a secret used to store the ACME account private key
    privateKeySecretRef:
    name: letsencrypt-staging
    # Enable the HTTP-01 challenge provider
    http01: {}