Sylvain Desbureaux | d1ca1ee | 2020-04-07 14:52:20 +0200 | [diff] [blame] | 1 | # 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. |
| 14 | global: |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 15 | readinessImage: onap/oom/readiness:3.0.1 |
Sylvain Desbureaux | d1ca1ee | 2020-04-07 14:52:20 +0200 | [diff] [blame] | 16 | 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 | |
| 23 | secrets: |
| 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 |
Bartek Grzybowski | 2f098b0 | 2020-10-05 09:34:26 +0200 | [diff] [blame] | 40 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | d1ca1ee | 2020-04-07 14:52:20 +0200 | [diff] [blame] | 41 | config: |
| 42 | db: |
| 43 | userName: ejbca |
| 44 | # userPassword: password |
| 45 | # userCredentialsExternalSecret: some-secret |
| 46 | ejbca: {} |
| 47 | # raIak: mypassword |
| 48 | # clientIak: mypassword |
| 49 | |
| 50 | mysqlDatabase: &dbName ejbca |
| 51 | |
| 52 | ################################################################# |
| 53 | # Application configuration defaults. |
| 54 | ################################################################# |
| 55 | # application configuration |
| 56 | replicaCount: 1 |
| 57 | |
| 58 | ejbca: |
| 59 | image: primekey/ejbca-ce:6.15.2.5 |
| 60 | pullPolicy: Always |
| 61 | |
| 62 | mariadb-galera: |
| 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 |
| 69 | service: |
| 70 | name: ejbca-galera |
| 71 | portName: ejbca-galera |
| 72 | internalPort: 3306 |
| 73 | replicaCount: 1 |
| 74 | persistence: |
| 75 | enabled: true |
| 76 | mountSubPath: ejbca/maria/data |
| 77 | |
| 78 | mariadb-init: |
| 79 | config: *mariadbConfig |
| 80 | nameOverride: ejbca-config |
| 81 | |
| 82 | nodeSelector: {} |
| 83 | |
| 84 | affinity: {} |
| 85 | |
| 86 | # probe configuration parameters |
| 87 | liveness: |
| 88 | path: /ejbca/publicweb/healthcheck/ejbcahealth |
| 89 | port: api |
| 90 | initialDelaySeconds: 30 |
| 91 | periodSeconds: 30 |
| 92 | |
| 93 | readiness: |
| 94 | path: /ejbca/publicweb/healthcheck/ejbcahealth |
| 95 | port: api |
| 96 | initialDelaySeconds: 30 |
| 97 | periodSeconds: 30 |
| 98 | |
| 99 | service: |
| 100 | type: ClusterIP |
egernug | 9903d6b | 2020-05-27 09:02:25 +0100 | [diff] [blame] | 101 | both_tls_and_plain: true |
Sylvain Desbureaux | d1ca1ee | 2020-04-07 14:52:20 +0200 | [diff] [blame] | 102 | ports: |
| 103 | - name: api |
| 104 | port: 8443 |
| 105 | plain_port: 8080 |
| 106 | port_protocol: http |