[bitnami/nats] Add hostAlias (#5276)

This commit is contained in:
Javier J. Salmerón-García
2021-01-28 13:11:04 +01:00
committed by GitHub
parent 5fa753b4c7
commit 44ed815852
5 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -24,4 +24,4 @@ name: nats
sources:
- https://github.com/bitnami/bitnami-docker-nats
- https://nats.io/
version: 6.1.2
version: 6.2.0
+1
View File
@@ -74,6 +74,7 @@ The following tables lists the configurable parameters of the NATS chart and the
| `image.tag` | NATS image tag | `{TAG_NAME}` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
| `hostAliases` | Add deployment host aliases | `[]` |
| `auth.enabled` | Switch to enable/disable client authentication | `true` |
| `auth.user` | Client authentication user | `nats_client` |
| `auth.password` | Client authentication password | `random alhpanumeric string (10)` |
+3
View File
@@ -30,6 +30,9 @@ spec:
{{- end }}
spec:
{{- include "nats.imagePullSecrets" . | nindent 6 }}
{{- if .Values.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
+3
View File
@@ -31,6 +31,9 @@ spec:
{{- end }}
spec:
{{- include "nats.imagePullSecrets" . | nindent 6 }}
{{- if .Values.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
+5
View File
@@ -102,6 +102,11 @@ natsFilename: nats-server
command: []
args: []
## Deployment pod host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## Extra flags to be passed to NATS
## Example:
## extraFlags: