1 # Copyright © 2020, Nordix Foundation, Orange
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 mariadbGalera: &mariadbGalera
16 #This flag allows EJBCA to instantiate its own mariadb-galera cluster
18 service: mariadb-galera
20 nameOverride: mariadb-galera
23 - uid: ejbca-db-secret
24 name: &ejbca-db-secret '{{ include "common.release" . }}-ejbca-db-secret'
26 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
27 login: '{{ .Values.config.db.userName }}'
28 password: '{{ .Values.config.db.userPassword }}'
29 - uid: ejbca-server-ra-iak
30 name: '{{ include "common.release" . }}-ejbca-ra-iak'
32 password: '{{ .Values.config.ejbca.raIak }}'
33 - uid: ejbca-server-client-iak
34 name: '{{ include "common.release" . }}-ejbca-client-iak'
36 password: '{{ .Values.config.ejbca.clientIak }}'
38 # application configuration
42 # userPassword: password
43 # userCredentialsExternalSecret: some-secret
46 # clientIak: mypassword
48 mysqlDatabase: &dbName ejbca
50 #################################################################
51 # Application configuration defaults.
52 #################################################################
53 # application configuration
57 image: primekey/ejbca-ce:6.15.2.5
61 # '&mariadbConfig' means we "store" the values for later use in the file
62 # with '*mariadbConfig' pointer.
63 config: &mariadbConfig
64 userCredentialsExternalSecret: *ejbca-db-secret
65 mysqlDatabase: *dbName
66 nameOverride: ejbca-galera
69 portName: ejbca-galera
74 mountSubPath: ejbca/maria/data
77 config: *mariadbConfig
78 nameOverride: ejbca-config
84 # probe configuration parameters
86 path: /ejbca/publicweb/healthcheck/ejbcahealth
88 initialDelaySeconds: 30
92 path: /ejbca/publicweb/healthcheck/ejbcahealth
94 initialDelaySeconds: 30
99 both_tls_and_plain: true
106 # Resource Limit flavor -By Default using small
108 # Segregation for Different environment (Small and Large)