Skip to content

Commit a956fcb

Browse files
pedroaperojacksontj
authored andcommitted
Customize the configmap-reload image from Helm
1 parent 9200213 commit a956fcb

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

deploy/k8s/helm-charts/promxy/templates/deployment.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ spec:
9999
args:
100100
- "--volume-dir=/etc/promxy"
101101
- "--webhook-url=http://localhost:8082/-/reload"
102-
image: jimmidyson/configmap-reload:v0.5.0
102+
image: "{{ .Values.configmapReloader.image.repository }}:{{ .Values.configmapReloader.image.tag }}"
103+
imagePullPolicy: {{ .Values.configmapReloader.image.pullPolicy }}
103104
volumeMounts:
104105
- mountPath: "/etc/promxy/"
105106
name: config

deploy/k8s/helm-charts/promxy/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ image:
1515
tag: "master" # rewrites Chart.AppVersion
1616
pullPolicy: IfNotPresent
1717

18+
configmapReloader:
19+
image:
20+
repository: jimmidyson/configmap-reload
21+
tag: "v0.5.0"
22+
pullPolicy: IfNotPresent
23+
1824
podDisruptionBudget:
1925
enabled: false
2026
# minAvailable: 1

0 commit comments

Comments
 (0)