-
Notifications
You must be signed in to change notification settings - Fork 10
/
values.yaml
263 lines (232 loc) · 8.06 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# Default values for ejbca-community-helm.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
ejbca:
## only applicable for quick setup of ephemeral test environments
useEphemeralH2Database: true
useH2Persistence: false
#existingH2PersistenceClaim: "database-data-claim"
importExternalCas: false
#externalCasSecret: managementca-secret
## not recommended: applicable only when direct HTTP access to EJBCA is enabled
importAppserverKeystore: false
#appserverKeystoreSecret: keystore-secret
importAppserverTruststore: false
#appserverTruststoreSecret: truststore-secret
importEjbcaConfFiles: false
#ejbcaConfFilesSecret: ejbca-conf
#importConfigdumpStaged: false
#configdumpStagedSecret: configdump-staged-secret
#importConfigdumpInitialize: false
#configdumpInitializeSecret: configdump-initialize-secret
#superadminPasswordOverride: "foo123"
env:
# for ephemeral test environments and only applicable to CA node
TLS_SETUP_ENABLED: "simple"
# External RA, VA, or when you want to bootstrap a CA/superadmin credential to use
# TLS_SETUP_ENABLED: "later"
# database username and password are recommended to be input as secret
# DATABASE_JDBC_URL: ""
# Audit logging should only be enabled in CA node
LOG_AUDIT_TO_DB: false
# INFO, DEBUG, TRACE, ERROR
LOG_LEVEL_APP: "INFO"
LOG_LEVEL_SERVER: "INFO"
## Observability
# The IP address where port 8090 will listen for requests to /health, /health/ready,
# /health/live and /metrics . Set this to 0.0.0.0 to bind to all container interfaces.
OBSERVABLE_BIND: "127.0.0.1"
# Set this to "true" to collect metrics and expose them at the /metrics endpoint for scraping.
METRICS_ENABLED: false
## Global OCSP configurations
OCSP_CHECK_SIGN_CERT_VALIDITY: true
OCSP_NON_EXISTING_IS_GOOD: false
## SMTP configuration
# Specify the FQDN or IP Address of the SMTP host for EJBCA to send email notifications.
SMTP_DESTINATION: "localhost"
SMTP_DESTINATION_PORT: "25"
SMTP_FROM: no-reply@localhost
SMTP_TLS_ENABLED: true
# Used for Wildfly to connect using TLS to the SMTP server. This only supports public CA certificates.
SMTP_SSL_ENABLED: true
# The username used when authentication is required for SMTP server.
SMTP_USERNAME: ejbca-mail
#envRaw:
# - name: DATABASE_USER
# valueFrom:
# secretKeyRef:
# name: ejbcadbcredentials
# key: database_user
# - name: DATABASE_PASSWORD
# valueFrom:
# secretKeyRef:
# name: ejbcadbcredentials
# key: database_password
# - name: PASSWORD_ENCRYPTION_KEY
# valueFrom:
# secretKeyRef:
# name: ejbca-confidentiality-secrets
# key: password_encrpytion_key
# - name: EJBCA_CLI_DEFAULTPASSWORD
# valueFrom:
# secretKeyRef:
# name: ejbca-confidentiality-secrets
# key: cli_default_password
# - name: SMTP_PASSWORD
# valueFrom:
# secretKeyRef:
# name: ejbca-smtp-secrets
# key: smtp_password
# Extra environment variables from ConfigMap or Secret resources
envFrom: []
# - configMapRef:
# name: env-configmap
# - secretRef:
# name: env-secrets
# Extra init containers to be added to the deployment
initContainers: []
# Extra sidecar containers to be added to the deployment
sidecarContainers: []
# Extra volumes to be added to the deployment
volumes: []
# Extra volume mounts to be added to the deployment
volumeMounts: []
# Only one of the following services can be enabled at a time
services:
# not recommended, should only be used for debugging purpose
directHttp:
enabled: true
type: NodePort
httpPort: 30080
httpsPort: 30443
proxyAJP:
enabled: false
type: ClusterIP
bindIP: 0.0.0.0
port: 8009
# recommended, use with nginx in pod with LoadBalancer service or ingress
proxyHttp:
enabled: false
type: ClusterIP
bindIP: 0.0.0.0
httpPort: 8081
httpsPort: 8082
# Extra sidecar ports to be added to the service, optionally used when sidecarContainers
# are defined and need to expose ports
sidecarPorts: []
# Requires services.proxyHttp to be enabled
nginx:
enabled: false
# hostname used in the commonName of the TLS certificate issued for nginx
host: ""
# The hostname used to proxy from nginx to EJBCA. When nginx is in the same pod as EJBCA use localhost
proxy_url_host: localhost
# Server TLS credential for cluster internal communication
mountInternalNginxCert: false
# Name of the secret that contains the certificate, key, and CA certificate
secretInternalNginxCert: "internal-nginx-credential-secret-ca"
service:
enabled: false
type: NodePort
httpPort: 30080
httpsPort: 30443
# Requires proxyAJP or proxyHttp service to be enabled for adminweb access
ingress:
enabled: false
className: "nginx"
annotations:
## Do not redirect HTTP to HTTPS
nginx.ingress.kubernetes.io/ssl-redirect: "false"
## Enable optional client certificate authentication
nginx.ingress.kubernetes.io/auth-tls-verify-client: "optional_no_ca"
## Secret containing trusted CA certificates. Use with auth-tls-verify-client: "on" or "optional"
#nginx.ingress.kubernetes.io/auth-tls-secret: "default/managementca-secret"
## Pass client certificates to upstream server
nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true"
## Verification depth of the client certificates chain
#nginx.ingress.kubernetes.io/auth-tls-verify-depth: "1"
## Configure sticky sessions if using more than one replica
#nginx.ingress.kubernetes.io/affinity: "cookie"
#nginx.ingress.kubernetes.io/session-cookie-name: "ejbcaCOOKIE"
#nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
hosts: []
#- host: ""
# paths:
# - path: /ejbca
# pathType: Prefix
tls: []
replicaCount: 1
# https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
updateStrategy: {}
# type: RollingUpdate
# rollingUpdate: {}
image:
repository: keyfactor/ejbca-ce
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion
#tag: latest
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podLabels: {}
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
resources: {}
# https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
behavior: {}
# scaleDown:
# stabilizationWindowSeconds: 300
# policies:
# - type: Percent
# value: 100
# periodSeconds: 15
# scaleUp:
# stabilizationWindowSeconds: 0
# policies:
# - type: Percent
# value: 100
# periodSeconds: 15
# - type: Pods
# value: 4
# periodSeconds: 15
# selectPolicy: Max
# https://kubernetes.io/docs/tasks/run-application/configure-pdb/
podDisruptionBudget:
create: false
minAvailable: 1
maxUnavailable: ""
# https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
nodeSelector: {}
affinity: {}
# https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations: []
# https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
topologySpreadConstraints: []
# https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
priorityClassName: ""
# https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/
schedulerName: ""
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/
terminationGracePeriodSeconds: ""