[bitnami/consul] fix volume path for persistence (#1892)

The volume for data persistence was wrongly mounted at `/bitnami/consul/data`.
No data gets persisted at this location.
This commit is contained in:
Sameer Naik
2020-02-07 16:07:48 +05:30
committed by GitHub
parent 87c4ca57ba
commit d8e2ffbfb5
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: consul
version: 6.0.15
version: 6.1.0
appVersion: 1.6.3
description: Highly available and distributed service discovery and key-value store designed with support for the modern data center to make distributed systems and configuration easy.
home: https://www.consul.io/

View File

@@ -50,7 +50,7 @@ spec:
- /bin/bash
- -ec
- |
chown -R {{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }} /bitnami/consul/data
chown -R {{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }} /bitnami/consul
securityContext:
runAsUser: 0
{{- if .Values.volumePermissions.resources }}
@@ -58,7 +58,7 @@ spec:
{{- end }}
volumeMounts:
- name: data
mountPath: /bitnami/consul/data
mountPath: /bitnami/consul
{{- end }}
containers:
- name: consul
@@ -166,7 +166,7 @@ spec:
{{- end }}
{{- if .Values.persistence.enabled }}
- name: data
mountPath: /bitnami/consul/data
mountPath: /bitnami/consul
{{- end }}
{{- if .Values.configmap }}
- name: consul-config