initial
This commit is contained in:
30
tls.yaml
Normal file
30
tls.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: letsencrypt-issuer
|
||||
spec:
|
||||
acme:
|
||||
email: plupy44@gmail.com
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
privateKeySecretRef:
|
||||
name: letsencrypt-issuer-account-key
|
||||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
class: traefik
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: nginx-cert-staging
|
||||
namespace: default
|
||||
spec:
|
||||
commonName: swaous.asuscomm.com
|
||||
secretName: swaous-cert
|
||||
dnsNames:
|
||||
- swaous.asuscomm.com
|
||||
issuerRef:
|
||||
kind: Issuer
|
||||
name: letsencrypt-staging
|
||||
Reference in New Issue
Block a user