[bitnami/ejbca] Add hostAliases (#5223)

This commit is contained in:
Javier J. Salmerón-García
2021-01-27 09:41:38 +01:00
committed by GitHub
parent e94bd27940
commit b65d4dbd00
4 changed files with 10 additions and 1 deletions

View File

@@ -30,4 +30,4 @@ name: ejbca
sources:
- https://github.com/bitnami/bitnami-docker-ejbca
- https://www.ejbca.org/
version: 2.1.0
version: 2.2.0

View File

@@ -124,6 +124,7 @@ The following table lists the configurable parameters of the EJBCA chart and the
| `resources` | EJBCA container's resource requests and limits | `{}` |
| `podSecurityContext.enabled` | Enable security context for EJBCA container | `true` |
| `podSecurityContext.runAsUser` | User ID for the EJBCA container | `1001` |
| `hostAliases` | Add deployment host aliases | `[]` |
| `livenessProbe.enabled` | Enable/disable livenessProbe | `true` |
| `livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `500` |
| `livenessProbe.periodSeconds` | How often to perform the probe | `10` |

View File

@@ -26,6 +26,9 @@ spec:
{{- end }}
spec:
{{- include "ejbca.imagePullSecrets" . | nindent 6 }}
{{- if .Values.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.affinity "context" $) | nindent 8 }}
{{- else }}

View File

@@ -41,6 +41,11 @@ kubeVersion:
##
# fullnameOverride:
## Deployment pod host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases: []
## Number of EJBCA replicas to deploy.
##
replicaCount: 1