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
40 repository: nexus3.onap.org:10001
44 # userPassword: password
45 # userCredentialsExternalSecret: some-secret
48 # clientIak: mypassword
50 mysqlDatabase: &dbName ejbca
52 #################################################################
53 # Application configuration defaults.
54 #################################################################
55 # application configuration
59 image: primekey/ejbca-ce:6.15.2.5
63 # '&mariadbConfig' means we "store" the values for later use in the file
64 # with '*mariadbConfig' pointer.
65 config: &mariadbConfig
66 userCredentialsExternalSecret: *ejbca-db-secret
67 mysqlDatabase: *dbName
68 nameOverride: ejbca-galera
71 portName: ejbca-galera
76 mountSubPath: ejbca/maria/data
79 config: *mariadbConfig
80 nameOverride: ejbca-config
86 # probe configuration parameters
88 path: /ejbca/publicweb/healthcheck/ejbcahealth
90 initialDelaySeconds: 30
94 path: /ejbca/publicweb/healthcheck/ejbcahealth
96 initialDelaySeconds: 30
101 both_tls_and_plain: true