[stable/consul] Fix ignoring gossip-key passed via values (#8784)

Signed-off-by: Krishnaswamy Subramanian <jskswamy@gmail.com>
This commit is contained in:
Krishnaswamy Subramanian
2018-11-04 12:50:15 -08:00
committed by k8s-ci-robot
parent c20cdd2648
commit f49709ff52
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: consul
home: https://github.com/hashicorp/consul
version: 3.4.0
version: 3.4.1
appVersion: 1.0.0
description: Highly available and distributed service discovery and key-value store
designed with support for the modern data center to make distributed systems and
@@ -10,5 +10,9 @@ metadata:
component: "{{ .Release.Name }}-{{ .Values.Component }}"
type: Opaque
data:
{{ if .Values.GossipKey }}
gossip-key: {{ .Values.GossipKey | b64enc }}
{{ else }}
gossip-key: {{ randAlphaNum 24 | b64enc }}
{{ end }}
{{ end }}