Skip to content

Commit

Permalink
🚑 Fix port qouting and haproxy config mount
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
  • Loading branch information
mhkarimi1383 committed Oct 30, 2024
1 parent 3e5d371 commit 47cecb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/haproxy-redis-sentinel/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: haproxy-redis-sentinel
description: A Helm chart for HAProxy with Redis Sentinel
version: 0.0.1
version: 0.0.2
appVersion: "0.0.1"

6 changes: 3 additions & 3 deletions charts/haproxy-redis-sentinel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ spec:
protocol: TCP
env:
- name: SENTINEL_PASSWORD
value: {{ .Values.haproxyRedisSentinel.sentinel.password }}
value: {{ .Values.haproxyRedisSentinel.sentinel.password | quote }}
- name: SENTINEL_HOST
value: {{ .Values.haproxyRedisSentinel.sentinel.host }}
- name: SENTINEL_PORT
value: {{ .Values.haproxyRedisSentinel.sentinel.port }}
value: {{ .Values.haproxyRedisSentinel.sentinel.port | quote }}
- name: MASTER_NAME
value: {{ .Values.haproxyRedisSentinel.sentinel.masterName }}
volumeMounts:
Expand All @@ -54,4 +54,4 @@ spec:
emptyDir: {}
- name: haproxy-config
configMap:
name: haproxy-config
name: {{ include "haproxy-redis-sentinel.fullname" . }}

0 comments on commit 47cecb5

Please sign in to comment.