Initial commit: k3s deployment configurations
This commit is contained in:
16
k3s/my-blog/issuer.yaml
Normal file
16
k3s/my-blog/issuer.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: letsencrypt-prod
|
||||
spec:
|
||||
acme:
|
||||
# Let's Encrypt 的生产环境接口
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
# 填您的真实邮箱,证书过期前会发邮件提醒(虽然它会自动续期)
|
||||
email: fszy2021@gmail.com
|
||||
privateKeySecretRef:
|
||||
name: letsencrypt-prod
|
||||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
class: traefik
|
||||
Reference in New Issue
Block a user