mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/phpbb] Add hostAliases (#5290)
This commit is contained in:
@@ -26,4 +26,4 @@ name: phpbb
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-phpbb
|
||||
- https://www.phpbb.com/
|
||||
version: 10.0.1
|
||||
version: 10.1.0
|
||||
|
||||
@@ -82,6 +82,7 @@ The following table lists the configurable parameters of the phpBB chart and the
|
||||
| `allowEmptyPassword` | Allow DB blank passwords | `yes` |
|
||||
| `args` | Override default container args (useful when using custom images) | `nil` |
|
||||
| `command` | Override default container command (useful when using custom images) | `nil` |
|
||||
| `hostAliases` | Add deployment host aliases | `Check values.yaml` |
|
||||
| `containerSecurityContext.enabled` | Enable phpBB containers' Security Context | `true` |
|
||||
| `containerSecurityContext.runAsUser` | phpBB containers' Security Context | `1001` |
|
||||
| `customLivenessProbe` | Override default liveness probe | `nil` |
|
||||
|
||||
@@ -56,10 +56,11 @@ spec:
|
||||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: {{ .Values.priorityClassName | quote }}
|
||||
{{- 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 and .Values.volumePermissions.enabled .Values.persistence.enabled }}
|
||||
- name: volume-permissions
|
||||
|
||||
@@ -86,6 +86,15 @@ 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"
|
||||
|
||||
## Common annotations to add to all Harbor resources (sub-charts are not considered). Evaluated as a template
|
||||
##
|
||||
commonAnnotations: {}
|
||||
|
||||
Reference in New Issue
Block a user