mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 06:58:50 +08:00
Customize EJBCA container port (#3124)
Signed-off-by: joancafom <jcarmona@bitnami.com>
This commit is contained in:
committed by
GitHub
parent
f234cc7ff1
commit
22c5fe5a96
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: ejbca
|
||||
version: 0.1.1
|
||||
version: 0.1.2
|
||||
appVersion: 6.15.2-6
|
||||
description: Enterprise class PKI Certificate Authority built on JEE technology.
|
||||
icon: https://bitnami.com/assets/stacks/ejbca/img/ejbca-stack-220x234.png
|
||||
|
||||
@@ -132,6 +132,8 @@ The following table lists the configurable parameters of the EJBCA chart and the
|
||||
| `readinessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` |
|
||||
| `customLivenessProbe` | Custom liveness probe to execute (when the main one is disabled) | `{}` (evaluated as a template) |
|
||||
| `customReadinessProbe` | Custom readiness probe to execute (when the main one is disabled) | `{}` (evaluated as a template) |
|
||||
| `containerPorts.http` | Port to open for HTTP traffic in EJBCA | `8080` |
|
||||
| `containerPorts.https` | Port to open for HTTPS traffic in EJBCA | `8443` |
|
||||
| `extraEnvVarsCM` | Array to add extra configmaps | `[]` |
|
||||
| `extraEnvVarsSecret` | Array to add extra environment from a Secret | `nil` |
|
||||
|
||||
|
||||
@@ -75,6 +75,10 @@ spec:
|
||||
value: {{ template "ejbca.databaseName" . }}
|
||||
- name: EJBCA_DATABASE_USERNAME
|
||||
value: {{ template "ejbca.databaseUsername" . }}
|
||||
- name: EJBCA_HTTP_PORT_NUMBER
|
||||
value: {{ .Values.containerPorts.http | quote }}
|
||||
- name: EJBCA_HTTPS_PORT_NUMBER
|
||||
value: {{ .Values.containerPorts.https | quote }}
|
||||
{{- if .Values.ejbcaKeystoreExistingSecret }}
|
||||
- name: EJBCA_SERVER_CERT_FILE
|
||||
value: /opt/bitnami/ejbca/mounted-jks/keystore.jks
|
||||
@@ -98,9 +102,9 @@ spec:
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
containerPort: {{ .Values.containerPorts.http }}
|
||||
- name: https
|
||||
containerPort: 8443
|
||||
containerPort: {{ .Values.containerPorts.https }}
|
||||
{{- if .Values.livenessProbe.enabled }}
|
||||
livenessProbe:
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
|
||||
@@ -199,6 +199,12 @@ readinessProbe:
|
||||
customLivenessProbe: {}
|
||||
customReadinessProbe: {}
|
||||
|
||||
## EJBCA Container ports to open
|
||||
##
|
||||
containerPorts:
|
||||
http: 8080
|
||||
https: 8443
|
||||
|
||||
## Kubernetes configuration
|
||||
## For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user