Skip to content

Commit

Permalink
charts: add ingressClassName to ingress template
Browse files Browse the repository at this point in the history
* instead of setting the ingress class name as annotation, users can now set "ingress.ingressClassName"

Signed-off-by: Christian Colic <christian@colic.io>
  • Loading branch information
ccolic committed Apr 26, 2024
1 parent 1d3370d commit 5f6d11a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/headlamp/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
Expand Down

0 comments on commit 5f6d11a

Please sign in to comment.