Common tls configuration setup however I cant load the new domain with it
This commit is contained in:
parent
ba05bb6e2c
commit
60667f1ef0
29
infra/vultr-kubernetes/k8s/tls.yaml
Normal file
29
infra/vultr-kubernetes/k8s/tls.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: sample.temprah-lab.xyz
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
secretName: sample.temprah-lab.xyz-tls
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-prod
|
||||||
|
kind: ClusterIssuer
|
||||||
|
commonName: sample.temprah-lab.xyz
|
||||||
|
dnsNames:
|
||||||
|
- sample.temprah-lab.xyz
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: letsencrypt-prod
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
acme:
|
||||||
|
server: https://acme-v02.api.letsencrypt.org/directory
|
||||||
|
email: dev@shockrah.xyz
|
||||||
|
privateKeySecretRef:
|
||||||
|
name: letsencrypt-prod
|
||||||
|
solvers:
|
||||||
|
- http01:
|
||||||
|
ingress:
|
||||||
|
class: traefik
|
Loading…
Reference in New Issue
Block a user