github.com/replicatedcom/ship@v0.50.0/integration/base/shipapp-helm-values/expected/installer/consul/templates/gossip-secret.yaml (about) 1 {{ if .Values.Gossip.Create }} 2 apiVersion: v1 3 kind: Secret 4 metadata: 5 name: {{ template "consul.fullname" . }}-gossip-key 6 labels: 7 heritage: {{ .Release.Service | quote }} 8 release: {{ .Release.Name | quote }} 9 chart: {{ template "consul.chart" . }} 10 component: "{{ .Release.Name }}-{{ .Values.Component }}" 11 type: Opaque 12 data: 13 {{ if .Values.GossipKey }} 14 gossip-key: {{ .Values.GossipKey | b64enc }} 15 {{ else }} 16 gossip-key: {{ randAlphaNum 24 | b64enc }} 17 {{ end }} 18 {{ end }}