Skip to content

Commit

Permalink
crud
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Jan 20, 2024
1 parent fe4a844 commit 33bae6d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
secretName: "${SECRET_DOMAIN}-tls"
issuerRef:
name: letsencrypt-staging
name: letsencrypt-production
kind: ClusterIssuer
commonName: "${SECRET_DOMAIN}"
dnsNames:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./certificates.yaml
# - ./certificates.yaml
- ./staging.yaml
14 changes: 14 additions & 0 deletions kubernetes/teyvat/apps/network/nginx/certificates/staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: "${SECRET_DOMAIN/./-}-staging"
spec:
secretName: "${SECRET_DOMAIN/./-}-staging-tls"
issuerRef:
name: letsencrypt-staging
kind: ClusterIssuer
commonName: "${SECRET_DOMAIN}"
dnsNames:
- "${SECRET_DOMAIN}"
- "*.${SECRET_DOMAIN}"

0 comments on commit 33bae6d

Please sign in to comment.