blob: 060dcd98a773b26e6d6236ebb33b842f20d878b0 [file] [log] [blame]
Sylvain Desbureauxd1ca1ee2020-04-07 14:52:20 +02001# Copyright © 2020, Nordix Foundation, Orange
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14global:
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020015 readinessImage: onap/oom/readiness:3.0.1
Sylvain Desbureauxd1ca1ee2020-04-07 14:52:20 +020016 mariadbGalera: &mariadbGalera
17 #This flag allows EJBCA to instantiate its own mariadb-galera cluster
18 localCluster: false
19 service: mariadb-galera
20 internalPort: 3306
21 nameOverride: mariadb-galera
22
23secrets:
24 - uid: ejbca-db-secret
25 name: &ejbca-db-secret '{{ include "common.release" . }}-ejbca-db-secret'
26 type: basicAuth
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'
32 type: password
33 password: '{{ .Values.config.ejbca.raIak }}'
34 - uid: ejbca-server-client-iak
35 name: '{{ include "common.release" . }}-ejbca-client-iak'
36 type: password
37 password: '{{ .Values.config.ejbca.clientIak }}'
38
39# application configuration
40config:
41 db:
42 userName: ejbca
43 # userPassword: password
44 # userCredentialsExternalSecret: some-secret
45 ejbca: {}
46 # raIak: mypassword
47 # clientIak: mypassword
48
49mysqlDatabase: &dbName ejbca
50
51#################################################################
52# Application configuration defaults.
53#################################################################
54# application configuration
55replicaCount: 1
56
57ejbca:
58 image: primekey/ejbca-ce:6.15.2.5
59pullPolicy: Always
60
61mariadb-galera:
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
68 service:
69 name: ejbca-galera
70 portName: ejbca-galera
71 internalPort: 3306
72 replicaCount: 1
73 persistence:
74 enabled: true
75 mountSubPath: ejbca/maria/data
76
77mariadb-init:
78 config: *mariadbConfig
79 nameOverride: ejbca-config
80
81nodeSelector: {}
82
83affinity: {}
84
85# probe configuration parameters
86liveness:
87 path: /ejbca/publicweb/healthcheck/ejbcahealth
88 port: api
89 initialDelaySeconds: 30
90 periodSeconds: 30
91
92readiness:
93 path: /ejbca/publicweb/healthcheck/ejbcahealth
94 port: api
95 initialDelaySeconds: 30
96 periodSeconds: 30
97
98service:
99 type: ClusterIP
egernug9903d6b2020-05-27 09:02:25 +0100100 both_tls_and_plain: true
Sylvain Desbureauxd1ca1ee2020-04-07 14:52:20 +0200101 ports:
102 - name: api
103 port: 8443
104 plain_port: 8080
105 port_protocol: http