1 # Copyright © 2020, Nokia
2 # Modifications Copyright © 2020, Nordix Foundation, Orange
3 # Modifications Copyright © 2020 Nokia
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
19 envsubstImage: dibi/envsubst
22 readinessImage: onap/oom/readiness:3.0.1
24 ubuntuInitRepository: registry.hub.docker.com
25 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
27 loggingRepository: docker.elastic.co
28 loggingImage: beats/filebeat:5.5.0
30 busyboxRepository: registry.hub.docker.com
31 busyboxImage: library/busybox:1.31
36 repository: "nexus3.onap.org:10001"
39 # Service configuration
48 # Deployment configuration
49 repository: nexus3.onap.org:10001
50 image: onap/org.onap.oom.platform.cert-service.oom-certservice-api:2.1.0
55 initialDelaySeconds: 60
57 command: curl https://localhost:$HTTPS_PORT/actuator/health --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
59 initialDelaySeconds: 30
61 command: curl https://localhost:$HTTPS_PORT/ready --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
82 # Application configuration
85 name: oom-cert-service-secret
87 name: oom-cert-service-volume
88 mountPath: /etc/onap/oom/certservice
93 name: oom-cert-service-server-tls-secret
95 name: oom-cert-service-server-tls-volume
96 mountPath: /etc/onap/oom/certservice/certs/
99 defaultName: oom-cert-service-client-tls-secret
103 jksName: certServiceServer-keystore.jks
104 p12Name: certServiceServer-keystore.p12
106 jksName: truststore.jks
110 # External secrets with credentials can be provided to override default credentials defined below,
111 # by uncommenting and filling appropriate *ExternalSecret value
114 keystorePassword: secret
115 truststorePassword: secret
116 #keystorePasswordExternalSecret:
117 #truststorePasswordExternalSecret:
118 # Below cmp values contain credentials for EJBCA test instance and are relevant only if global addTestingComponents flag is enabled
120 # Used only if cmpv2 testing is enabled
121 clientIakExternalSecret: '{{ include "common.release" . }}-ejbca-client-iak'
122 #clientRvExternalSecret:
123 raIakExternalSecret: '{{ include "common.release" . }}-ejbca-ra-iak'
133 - uid: keystore-password
134 name: '{{ include "common.release" . }}-keystore-password'
136 externalSecret: '{{ tpl (default "" .Values.credentials.tls.keystorePasswordExternalSecret) . }}'
137 password: '{{ .Values.credentials.tls.keystorePassword }}'
138 passwordPolicy: required
139 - uid: truststore-password
140 name: '{{ include "common.release" . }}-truststore-password'
142 externalSecret: '{{ tpl (default "" .Values.credentials.tls.truststorePasswordExternalSecret) . }}'
143 password: '{{ .Values.credentials.tls.truststorePassword }}'
144 passwordPolicy: required
145 # Below values are relevant only if global addTestingComponents flag is enabled
146 - uid: ejbca-server-client-iak
148 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.clientIakExternalSecret) . }}'
149 password: '{{ .Values.credentials.cmp.client.iak }}'
150 - uid: cmp-config-client-rv
152 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.clientRvExternalSecret) . }}'
153 password: '{{ .Values.credentials.cmp.client.rv }}'
154 - uid: ejbca-server-ra-iak
156 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.raIakExternalSecret) . }}'
157 password: '{{ .Values.credentials.cmp.ra.iak }}'
158 - uid: cmp-config-ra-rv
160 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.raRvExternalSecret) . }}'
161 password: '{{ .Values.credentials.cmp.ra.rv }}'