[bitnami/consul] Use static node name on Consul replicas (#2498)

* [bitnami/consul] Use static node name on Consul replicas
This commit is contained in:
Juan Ariza Toledano
2020-05-06 10:23:14 +02:00
committed by GitHub
parent bf9425a605
commit 3ae1791464
4 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: consul
version: 7.0.14
version: 7.0.15
appVersion: 1.7.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

@@ -92,6 +92,10 @@ spec:
{{- $clusterDomain := .Values.clusterDomain }}
- name: BITNAMI_DEBUG
value: {{ ternary "true" "false" .Values.image.debug | quote }}
- name: CONSUL_NODE_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: CONSUL_RETRY_JOIN
value: {{ printf "%s-0.%s.%s.svc.%s" $consulFullName $consulHeadlessSvcName .Release.Namespace $clusterDomain | quote }}
- name: CONSUL_DISABLE_KEYRING_FILE

View File

@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/consul
tag: 1.7.3-debian-10-r0
tag: 1.7.3-debian-10-r1
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images

View File

@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/consul
tag: 1.7.3-debian-10-r0
tag: 1.7.3-debian-10-r1
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images