Skip to content

Commit a4b26eb

Browse files
committed
Add Opinionated Support for External DNS
1 parent 562391f commit a4b26eb

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

charts/identity/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: A Helm chart for deploying Unikorn's IdP
44

55
type: application
66

7-
version: v0.1.3
8-
appVersion: v0.1.3
7+
version: v0.1.4
8+
appVersion: v0.1.4
99

1010
icon: https://raw.githubusercontent.com/unikorn-cloud/assets/main/images/logos/dark-on-light/icon.png

charts/identity/templates/ingress.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ metadata:
1010
{{- else }}
1111
cert-manager.io/issuer: "unikorn-identity-ingress"
1212
{{- end }}
13+
{{- if .Values.ingress.externalDns }}
14+
external-dns.alpha.kubernetes.io/hostname: {{ .Values.host }}
15+
{{- end }}
1316
spec:
1417
{{- if .Values.ingress.class }}
1518
ingressClassName: {{ .Values.ingress.class }}

charts/identity/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,6 @@ ingress:
7979
# Cert Manager certificate issuer to use. If not specified it will generate a
8080
# self signed one.
8181
issuer: ~
82+
83+
# If true, will add the external DNS hostname annotation.
84+
externalDns: false

0 commit comments

Comments
 (0)