Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions applications/web/templates/dynamic-cluster-issuer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{- if .Values.dynamicClusterIssuer.enabled -}}
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-cloudflare-{{ .Values.dynamicClusterIssuer.name }}
spec:
acme:
email: {{ .Values.dynamicClusterIssuer.email }}
preferredChain: ""
privateKeySecretRef:
name: letsencrypt-cloudflare-{{ .Values.dynamicClusterIssuer.name }}
server: https://acme-v02.api.letsencrypt.org/directory
solvers:
- dns01:
cloudflare:
apiTokenSecretRef:
key: api-token
name: {{ .Values.dynamicClusterIssuer.cloudflare.api_token_secret }}
{{- end }}
11 changes: 11 additions & 0 deletions applications/web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ multipleWildcardIngress:
rewriteCustomPathsEnabled: true
annotations: {}

# This section is meant for scenarios where nested wildcards are necessary
# Enabling this will allow for creating ClusterIssuers for this specific wildcard
# It will always be disabled by default
dynamicClusterIssuer:
enabled: false
name:
email:
# At the moment we only support Cloudflare
cloudflare:
api_token_secret:

albIngress:
enabled: false
external_dns: false
Expand Down