Skip to content

Commit

Permalink
fix: use prefix pathType
Browse files Browse the repository at this point in the history
fixes prometheus-community#4228

and address recomendation written in CVE-2022-4886 -  kubernetes/kubernetes#126815

Signed-off-by: Pierre Ozoux <[email protected]>
  • Loading branch information
pierreozoux authored Dec 6, 2024
1 parent de8665b commit 1c80242
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if and .Values.alertmanager.enabled .Values.alertmanager.ingress.enabled }}
{{- $pathType := .Values.alertmanager.ingress.pathType | default "ImplementationSpecific" }}
{{- $pathType := .Values.alertmanager.ingress.pathType | default "Prefix" }}
{{- $serviceName := printf "%s-%s" (include "kube-prometheus-stack.fullname" .) "alertmanager" }}
{{- $backendServiceName := .Values.alertmanager.ingress.serviceName | default (printf "%s-%s" (include "kube-prometheus-stack.fullname" .) "alertmanager") }}
{{- $servicePort := .Values.alertmanager.ingress.servicePort | default .Values.alertmanager.service.port -}}
Expand Down

0 comments on commit 1c80242

Please sign in to comment.