Skip to content

Commit

Permalink
[alertmanager] Add if block to ingressClassName to use default ingres…
Browse files Browse the repository at this point in the history
…sClass (#3824)

* add-if-block-to-ingressClassName

Signed-off-by: jmnote <[email protected]>

* Chart Version bumped

Signed-off-by: jmnote <[email protected]>

---------

Signed-off-by: jmnote <[email protected]>
Co-authored-by: André Bauer <[email protected]>
  • Loading branch information
jmnote and monotek authored Sep 27, 2023
1 parent b19d9b0 commit bb17691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/alertmanager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/a
sources:
- https://github.com/prometheus/alertmanager
type: application
version: 1.6.0
version: 1.6.1
appVersion: v0.26.0
kubeVersion: ">=1.19.0-0"
keywords:
Expand Down
2 changes: 2 additions & 0 deletions charts/alertmanager/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ metadata:
{{- end }}
namespace: {{ include "alertmanager.namespace" . }}
spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
Expand Down

0 comments on commit bb17691

Please sign in to comment.