Skip to content

Commit 285673c

Browse files
authored
Use Shared Ingress Templates (#21)
1 parent 29379b7 commit 285673c

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

charts/region/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ description: A Helm chart for deploying Unikorn's Region Controller
44

55
type: application
66

7-
version: v0.1.13
8-
appVersion: v0.1.13
7+
version: v0.1.14
8+
appVersion: v0.1.14
99

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

1212
dependencies:
1313
- name: unikorn-common
14-
version: v0.1.5
14+
version: v0.1.6
1515
repository: https://unikorn-cloud.github.io/helm-common

charts/region/templates/region-controller/ingress.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ metadata:
55
labels:
66
{{- include "unikorn.labels" . | nindent 4 }}
77
annotations:
8-
{{- with $clusterIssuer := ( include "unikorn.ingress.clusterIssuer" . ) }}
9-
cert-manager.io/cluster-issuer: {{ $clusterIssuer }}
10-
{{- end }}
11-
{{- if .Values.ingress.externalDns }}
8+
{{- include "unikorn.ingress.clusterIssuer.annotations" . | nindent 4 }}
9+
{{- if (include "unikorn.ingress.externalDNS" .) }}
1210
external-dns.alpha.kubernetes.io/hostname: {{ include "unikorn.region.host" . }}
13-
{{- end }}
11+
{{- end }}
1412
spec:
1513
{{- if .Values.ingress.class }}
1614
ingressClassName: {{ .Values.ingress.class }}

0 commit comments

Comments
 (0)