Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix: use letsencrypt staging for this demo repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Smana committed Sep 10, 2023
1 parent d6795a3 commit baa1738
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/base/echo/tls-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: echo-tls
namespace: echo
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
cert-manager.io/cluster-issuer: letsencrypt-staging
spec:
gatewayClassName: cilium
listeners:
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/base/gapi/platform-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Gateway
metadata:
name: platform
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
cert-manager.io/cluster-issuer: letsencrypt-staging
spec:
gatewayClassName: cilium
listeners:
Expand Down
17 changes: 17 additions & 0 deletions security/base/cert-manager/cluster-issuer-staging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
spec:
acme:
email: smainklh@gmail.com
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: ogenki-issuer-account-key
solvers:
- selector:
dnsZones:
- "${domain_name}"
dns01:
route53:
region: ${region}
3 changes: 2 additions & 1 deletion security/base/cert-manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- cluster-issuer.yaml
- cluster-issuer-prod.yaml
- cluster-issuer-staging.yaml
- helmrelease.yaml
- irsa.yaml
- source.yaml

0 comments on commit baa1738

Please sign in to comment.