mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
[bitnami/discourse] Add hostAliases (#5220)
This commit is contained in:
committed by
GitHub
parent
25e31a0644
commit
5e183af82a
@@ -35,4 +35,4 @@ sources:
|
||||
- https://github.com/bitnami/bitnami-docker-discourse
|
||||
- https://github.com/spinnaker
|
||||
- https://www.discourse.org/
|
||||
version: 2.1.4
|
||||
version: 2.2.0
|
||||
|
||||
@@ -76,6 +76,7 @@ The following table lists the configurable parameters of the Discourse chart and
|
||||
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |
|
||||
| `serviceAccount.name` | Name to be used for the service account | `""` |
|
||||
| `podSecurityContext` | Pod security context specification | `{}` |
|
||||
| `hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `persistence.enabled` | Whether to enable persistence based on Persistent Volume Claims | `true` |
|
||||
| `persistence.storageClass` | PVC Storage Class | `nil` |
|
||||
| `persistence.existingClaim` | Name of an existing PVC to reuse | `nil` |
|
||||
|
||||
@@ -36,6 +36,9 @@ spec:
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- include "discourse.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 }}
|
||||
|
||||
@@ -49,6 +49,11 @@ imagePullSecrets: []
|
||||
##
|
||||
# fullnameOverride:
|
||||
|
||||
## Deployment pod host aliases
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
discourse:
|
||||
## Discourse host to create application URLs. The port will be automatilly included.
|
||||
## ref: https://github.com/bitnami/bitnami-docker-discourse#configuration
|
||||
|
||||
Reference in New Issue
Block a user