mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
[bitnami/phpmyadmin] Add hostAliases (#5291)
This commit is contained in:
committed by
GitHub
parent
a027b507d4
commit
ba9cc6ed40
@@ -29,4 +29,4 @@ name: phpmyadmin
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-phpmyadmin
|
||||
- https://www.phpmyadmin.net/
|
||||
version: 8.1.0
|
||||
version: 8.2.0
|
||||
|
||||
@@ -94,6 +94,7 @@ The following tables lists the configurable parameters of the phpMyAdmin chart a
|
||||
| `readinessProbe` | Readiness probe configuration for PhpMyAdmin | Check `values.yaml` file |
|
||||
| `customLivenessProbe` | Override default liveness probe | `nil` |
|
||||
| `customReadinessProbe` | Override default readiness probe | `nil` |
|
||||
| `hostAliases` | Add deployment host aliases | `Check values.yaml` |
|
||||
| `updateStrategy` | Strategy to use to update Pods | Check `values.yaml` file |
|
||||
| `podAffinityPreset` | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` |
|
||||
|
||||
@@ -30,10 +30,11 @@ spec:
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- include "phpmyadmin.imagePullSecrets" . | nindent 6 }}
|
||||
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 }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -57,6 +57,15 @@ extraDeploy: []
|
||||
command: []
|
||||
args: []
|
||||
|
||||
## 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"
|
||||
|
||||
## An array to add extra env vars to configure phpMyAdmin
|
||||
## For example:
|
||||
# extraEnvVars:
|
||||
|
||||
Reference in New Issue
Block a user