add forceIpv6 flag so to be able to run in IPv6 env (#16283)

Signed-off-by: Hang Xie <7977860+hangxie@users.noreply.github.com>
This commit is contained in:
Hang Xie
2019-09-04 09:34:59 -07:00
committed by Kubernetes Prow Robot
parent 0efbcebb08
commit 6bfbc8018c
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: elasticsearch
home: https://www.elastic.co/products/elasticsearch
version: 1.31.0
version: 1.31.1
appVersion: 6.8.2
description: Flexible and powerful open source, distributed real-time search and analytics
engine.
+1
View File
@@ -178,6 +178,7 @@ The following table lists the configurable parameters of the elasticsearch chart
| `serviceAccounts.data.name` | Name of the data service account to use or create | `{{ elasticsearch.data.fullname }}` |
| `testFramework.image` | `test-framework` image repository. | `dduportal/bats` |
| `testFramework.tag` | `test-framework` image tag. | `0.4.0` |
| `forceIpv6` | force to use IPv6 address to listen if set to true | `false` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
@@ -21,7 +21,11 @@ data:
{{- end }}
node.name: ${HOSTNAME}
{{- if .Values.forceIpv6 }}
network.host: "::"
{{- else }}
network.host: 0.0.0.0
{{- end }}
{{- if hasPrefix "2." .Values.appVersion }}
# see https://github.com/kubernetes/kubernetes/issues/3595
+2
View File
@@ -313,3 +313,5 @@ chownInitContainer:
enabled: true
## Additional init containers
extraInitContainers: |
forceIpv6: false