Cluster configuration with working TLS for 1 domain but not two
This commit is contained in:
parent
61439ca1a1
commit
0a9aad30fb
@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: hello.temprah-lab.xyz
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
secretName: hello.temprah-lab.xyz-tls
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-prod
|
||||||
|
kind: ClusterIssuer
|
||||||
|
commonName: hello.temprah-lab.xyz
|
||||||
|
dnsNames:
|
||||||
|
- hello.temprah-lab.xyz
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: letsencrypt-prod-hello
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
acme:
|
||||||
|
server: https://acme-v02.api.letsencrypt.org/directory
|
||||||
|
email: dev@shockrah.xyz
|
||||||
|
privateKeySecretRef:
|
||||||
|
name: letsencrypt-prod-hello
|
||||||
|
solvers:
|
||||||
|
- http01:
|
||||||
|
ingress:
|
||||||
|
class: traefik
|
||||||
|
|
@ -1,17 +1,4 @@
|
|||||||
apiVersion: cert-manager.io/v1
|
# This is the first thing we need to create, an issue to put certs into
|
||||||
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
|
apiVersion: cert-manager.io/v1
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
@ -22,8 +9,36 @@ spec:
|
|||||||
server: https://acme-v02.api.letsencrypt.org/directory
|
server: https://acme-v02.api.letsencrypt.org/directory
|
||||||
email: dev@shockrah.xyz
|
email: dev@shockrah.xyz
|
||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
name: letsencrypt-prod
|
name: letsencrypt-temprah-lab
|
||||||
solvers:
|
solvers:
|
||||||
- http01:
|
- http01:
|
||||||
ingress:
|
ingress:
|
||||||
class: traefik
|
class: traefik
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: hello.temprah-lab.xyz
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
secretName: hello.temprah-lab.xyz-tls
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-temprah-lab
|
||||||
|
kind: ClusterIssuer
|
||||||
|
commonName: hello.temprah-lab.xyz
|
||||||
|
dnsNames:
|
||||||
|
- hello.temprah-lab.xyz
|
||||||
|
---
|
||||||
|
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-temprah-lab
|
||||||
|
kind: ClusterIssuer
|
||||||
|
commonName: sample.temprah-lab.xyz
|
||||||
|
dnsNames:
|
||||||
|
- sample.temprah-lab.xyz
|
||||||
|
Loading…
Reference in New Issue
Block a user