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:7.4.3.2
62 externalSecret: *ejbca-db-secret
64 nameOverride: &ejbca-galera ejbca-galera
67 portName: ejbca-galera
72 mountSubPath: ejbca/maria/data
74 nameOverride: *ejbca-galera
78 userCredentialsExternalSecret: *ejbca-db-secret
79 mysqlDatabase: *dbName
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
108 # Resource Limit flavor -By Default using small
110 # Segregation for Different environment (Small and Large)