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 readinessImage: onap/oom/readiness:3.0.1
16 mariadbGalera: &mariadbGalera
17 #This flag allows EJBCA to instantiate its own mariadb-galera cluster
19 service: mariadb-galera
21 nameOverride: mariadb-galera
24 - uid: ejbca-db-secret
25 name: &ejbca-db-secret '{{ include "common.release" . }}-ejbca-db-secret'
27 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
28 login: '{{ .Values.config.db.userName }}'
29 password: '{{ .Values.config.db.userPassword }}'
30 - uid: ejbca-server-ra-iak
31 name: '{{ include "common.release" . }}-ejbca-ra-iak'
33 password: '{{ .Values.config.ejbca.raIak }}'
34 - uid: ejbca-server-client-iak
35 name: '{{ include "common.release" . }}-ejbca-client-iak'
37 password: '{{ .Values.config.ejbca.clientIak }}'
39 # application configuration
43 # userPassword: password
44 # userCredentialsExternalSecret: some-secret
47 # clientIak: mypassword
49 mysqlDatabase: &dbName ejbca
51 #################################################################
52 # Application configuration defaults.
53 #################################################################
54 # application configuration
58 image: primekey/ejbca-ce:6.15.2.5
62 # '&mariadbConfig' means we "store" the values for later use in the file
63 # with '*mariadbConfig' pointer.
64 config: &mariadbConfig
65 userCredentialsExternalSecret: *ejbca-db-secret
66 mysqlDatabase: *dbName
67 nameOverride: ejbca-galera
70 portName: ejbca-galera
75 mountSubPath: ejbca/maria/data
78 config: *mariadbConfig
79 nameOverride: ejbca-config
85 # probe configuration parameters
87 path: /ejbca/publicweb/healthcheck/ejbcahealth
89 initialDelaySeconds: 30
93 path: /ejbca/publicweb/healthcheck/ejbcahealth
95 initialDelaySeconds: 30
100 both_tls_and_plain: true