mirror of
https://github.com/bitnami/charts.git
synced 2026-02-12 05:17:13 +08:00
[bitnami/joomla] Add hostAliases (#5247)
This commit is contained in:
committed by
GitHub
parent
eaefbc16ad
commit
085b3cea6e
@@ -27,4 +27,4 @@ name: joomla
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-joomla
|
||||
- http://www.joomla.org/
|
||||
version: 10.0.1
|
||||
version: 10.1.0
|
||||
|
||||
@@ -96,6 +96,7 @@ The following table lists the configurable parameters of the Joomla! chart and t
|
||||
| `initContainers` | Add additional init containers to the pod (evaluated as a template) | `nil` |
|
||||
| `lifecycleHooks` | LifecycleHook to set additional configuration at startup Evaluated as a template | `` |
|
||||
| `livenessProbe` | Liveness probe configuration | `Check values.yaml file` |
|
||||
| `hostAliases` | Add deployment host aliases | `Check values.yaml` |
|
||||
| `joomlaSkipInstall` | Skip joomla bootstrap (`no` / `yes`) | `no` |
|
||||
| `joomlaUsername` | User of the application | `user` |
|
||||
| `joomlaPassword` | Application password | _random 10 character alphanumeric string_ |
|
||||
|
||||
@@ -60,10 +60,11 @@ spec:
|
||||
{{- if .Values.initContainers }}
|
||||
initContainers: {{- include "common.tplvalues.render" (dict "value" .Values.initContainers "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 }}
|
||||
containers:
|
||||
- name: joomla
|
||||
image: {{ template "joomla.image" . }}
|
||||
|
||||
@@ -48,6 +48,15 @@ fullnameOverride:
|
||||
##
|
||||
replicaCount: 1
|
||||
|
||||
## 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"
|
||||
|
||||
## Skip Joomla! installation wizard. Useful for migrations and restoring from SQL dump
|
||||
## ref: https://github.com/bitnami/bitnami-docker-joomla#configuration
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user