[bitnami/logstash] Add hostAliases (#5257)

This commit is contained in:
Javier J. Salmerón-García
2021-01-28 09:57:14 +01:00
committed by GitHub
parent 288fd4ae7a
commit 5fbe053a86
4 changed files with 10 additions and 1 deletions

View File

@@ -23,4 +23,4 @@ name: logstash
sources:
- https://github.com/bitnami/bitnami-docker-logstash
- https://www.elastic.co/products/logstash
version: 3.0.2
version: 3.1.0

View File

@@ -59,6 +59,7 @@ The following tables lists the configurable parameters of the Logstash chart and
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `image.debug` | Specify if debug logs should be enabled | `false` |
| `kubeVersion` | Force target Kubernetes version (using Helm capabilities if not set) | `nil` |
| `hostAliases` | Add deployment host aliases | `[]` |
| `nameOverride` | String to partially override logstash.fullname template with a string (will prepend the release name) | `nil` |
| `fullnameOverride` | String to fully override logstash.fullname template with a string | `nil` |
| `clusterDomain` | Default Kubernetes cluster domain | `cluster.local` |

View File

@@ -24,6 +24,9 @@ spec:
{{- end }}
spec:
{{- include "logstash.imagePullSecrets" . | nindent 6 }}
{{- if .Values.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.affinity }}
affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.affinity "context" $) | nindent 8 }}
{{- else }}

View File

@@ -33,6 +33,11 @@ image:
##
kubeVersion:
## Deployment pod host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## String to partially override logstash.fullname template (will maintain the release name)
##
# nameOverride: