mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 11:35:58 +10:00
[bitnami/consul] Fix 'retry-join-address' setup
Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: consul
|
||||
version: 6.0.9
|
||||
version: 6.0.10
|
||||
appVersion: 1.6.1
|
||||
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/
|
||||
|
||||
@@ -86,10 +86,13 @@ spec:
|
||||
resources: {{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- $consulFullName := include "consul.fullname" . }}
|
||||
{{- $consulHeadlessSvcName := include "consul.fullname" . }}
|
||||
{{- $clusterDomain := .Values.clusterDomain }}
|
||||
- name: BITNAMI_DEBUG
|
||||
value: {{ ternary "true" "false" .Values.image.debug | quote }}
|
||||
- name: CONSUL_RETRY_JOIN
|
||||
value: "{{ template "consul.fullname" . }}-0.{{ template "consul.fullname" . }}.{{ .Release.Namespace }}.svc"
|
||||
value: {{ printf "%s-0.%s.%s.svc.%s" $consulFullName $consulHeadlessSvcName .Release.Namespace $clusterDomain | quote }}
|
||||
- name: CONSUL_DISABLE_KEYRING_FILE
|
||||
value: "true"
|
||||
- name: CONSUL_BOOTSTRAP_EXPECT
|
||||
|
||||
Reference in New Issue
Block a user