Skip to content

Commit 39da7d8

Browse files
authored
Merge pull request #1640 from porter-dev/main
`main` -> `production`
2 parents 01155ed + 3d2ca89 commit 39da7d8

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{{- if .Values.dynamicClusterIssuer.enabled -}}
2+
apiVersion: cert-manager.io/v1
3+
kind: ClusterIssuer
4+
metadata:
5+
name: letsencrypt-cloudflare-{{ .Values.dynamicClusterIssuer.name }}
6+
spec:
7+
acme:
8+
email: {{ .Values.dynamicClusterIssuer.email }}
9+
preferredChain: ""
10+
privateKeySecretRef:
11+
name: letsencrypt-cloudflare-{{ .Values.dynamicClusterIssuer.name }}
12+
server: https://acme-v02.api.letsencrypt.org/directory
13+
solvers:
14+
- dns01:
15+
cloudflare:
16+
apiTokenSecretRef:
17+
key: api-token
18+
name: {{ .Values.dynamicClusterIssuer.cloudflare.api_token_secret }}
19+
{{- end }}

applications/web/values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@ multipleWildcardIngress:
7575
rewriteCustomPathsEnabled: true
7676
annotations: {}
7777

78+
# This section is meant for scenarios where nested wildcards are necessary
79+
# Enabling this will allow for creating ClusterIssuers for this specific wildcard
80+
# It will always be disabled by default
81+
dynamicClusterIssuer:
82+
enabled: false
83+
name:
84+
email:
85+
# At the moment we only support Cloudflare
86+
cloudflare:
87+
api_token_secret:
88+
7889
albIngress:
7990
enabled: false
8091
external_dns: false

0 commit comments

Comments
 (0)