mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/nats] Add hostAlias (#5276)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)` |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user