mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/odoo] Add hostAliases (#5286)
This commit is contained in:
@@ -31,4 +31,4 @@ name: orangehrm
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-orangehrm
|
||||
- https://www.orangehrm.com
|
||||
version: 10.0.2
|
||||
version: 10.1.0
|
||||
|
||||
@@ -101,6 +101,7 @@ The following table lists the configurable parameters of the OrangeHRM chart and
|
||||
| `nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `nodeAffinityPreset.key` | Node label key to match Ignored if `affinity` is set. | `""` |
|
||||
| `nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` |
|
||||
| `hostAliases` | Add deployment host aliases | `Check values.yaml` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` (The value is evaluated as a template) |
|
||||
| `orangehrmUsername` | User of the application | `admin` |
|
||||
| `orangehrmPassword` | Application password | _random 10 character long alphanumeric string_ |
|
||||
|
||||
@@ -51,10 +51,11 @@ spec:
|
||||
{{- if .Values.tolerations }}
|
||||
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.tolerations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
hostAliases:
|
||||
- ip: "127.0.0.1"
|
||||
hostnames:
|
||||
- "status.localhost"
|
||||
{{- if .Values.hostAliases }}
|
||||
# yamllint disable rule:indentation
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
|
||||
# yamllint enable rule:indentation
|
||||
{{- end }}
|
||||
initContainers:
|
||||
{{- if .Values.initContainers }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }}
|
||||
|
||||
@@ -43,6 +43,15 @@ nameOverride:
|
||||
##
|
||||
fullnameOverride:
|
||||
|
||||
## Deployment pod host aliases
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
hostAliases:
|
||||
# Necessary for apache-exporter to work
|
||||
- ip: "127.0.0.1"
|
||||
hostnames:
|
||||
- "status.localhost"
|
||||
|
||||
## Number of replicas (requires ReadWriteMany PVC support)
|
||||
##
|
||||
replicaCount: 1
|
||||
|
||||
Reference in New Issue
Block a user