manifests/cert-manager/demo.yaml
2025-04-12 13:11:34 +08:00

13 lines
419 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: test2-tsh1-frytea-com-tls
namespace: default
spec:
dnsNames:
- test2.tsh1.frytea.com # 要签发证书的域名
issuerRef:
kind: ClusterIssuer
name: dnspod-cluster-issuer # 引用 ClusterIssuer指示采用 dns01 方式进行校验
secretName: test2-tsh1-frytea-com-tls # 最终签发出来的证书会保存在这个 Secret 里面