mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
[bitnami/consul] Use static node name on Consul replicas (#2498)
* [bitnami/consul] Use static node name on Consul replicas
This commit is contained in:
committed by
GitHub
parent
bf9425a605
commit
3ae1791464
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user