[bitnami/phpbb] Add hostAliases (#5290)

This commit is contained in:
Javier J. Salmerón-García
2021-01-28 13:14:50 +01:00
committed by GitHub
parent f5928b55d1
commit 2fea8a7f27
4 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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` |
+5 -4
View File
@@ -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
+9
View File
@@ -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: {}