Skip to content

Commit

Permalink
Fix template
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Villacorta <[email protected]>
  • Loading branch information
h0tbird committed May 2, 2024
1 parent f98dd51 commit 3bc720b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions charts/prometheus/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ spec:
{{- end }}
- --reload-url={{ default $default_url .Values.configmapReload.reloadUrl }}
{{- range $key, $value := .Values.configmapReload.prometheus.extraArgs }}
{{- if ne $value "" }}
- --{{ $key }}={{ $value }}
{{- else }}
{{- if eq ($value | default "") "" }}
- --{{ $key }}
{{- else }}
- --{{ $key }}={{ $value }}
{{- end }}
{{- end }}
{{- range .Values.configmapReload.prometheus.extraVolumeDirs }}
Expand Down Expand Up @@ -148,10 +148,10 @@ spec:
- --{{ . }}
{{- end }}
{{- range $key, $value := .Values.server.extraArgs }}
{{- if ne $value "" }}
- --{{ $key }}={{ $value }}
{{- else }}
{{- if eq ($value | default "") "" }}
- --{{ $key }}
{{- else }}
- --{{ $key }}={{ $value }}
{{- end }}
{{- end }}
{{- if .Values.server.prefixURL }}
Expand Down

0 comments on commit 3bc720b

Please sign in to comment.