Skip to content

Commit

Permalink
[prom-label-proxy] add path templating (#4482)
Browse files Browse the repository at this point in the history
  • Loading branch information
kogeler committed Apr 23, 2024
1 parent 498c672 commit 5d209c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/prom-label-proxy/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: prom-label-proxy
description: A proxy that enforces a given label in a given PromQL query.
type: application
version: 0.7.1
version: 0.7.2
appVersion: "v0.8.1"
home: "https://github.com/prometheus-community/prom-label-proxy"
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/prom-label-proxy/templates/ingress.yaml
Expand Up @@ -46,7 +46,7 @@ spec:
http:
paths:
{{- range .paths }}
- path: {{ .path }}
- path: {{ tpl .path $ | quote }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/prom-label-proxy/values.yaml
Expand Up @@ -93,7 +93,7 @@ nodeSelector: {}
# -- Tolerations for pod assignment. Evaluated as a template.
tolerations: []

# -- Ingress hosts and annotations fields are passed through helm tpl function.
# -- Ingress hosts, paths and annotations fields are passed through helm tpl function.
## ref: https://helm.sh/docs/developing_charts/#using-the-tpl-function
ingress:
enabled: false
Expand Down

0 comments on commit 5d209c7

Please sign in to comment.