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.
26 # Service configuration
35 # Deployment configuration
36 image: onap/org.onap.oom.platform.cert-service.oom-certservice-api:2.1.0
41 initialDelaySeconds: 60
43 command: curl https://localhost:$HTTPS_PORT/actuator/health --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
45 initialDelaySeconds: 30
47 command: curl https://localhost:$HTTPS_PORT/ready --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
68 # Application configuration
71 name: oom-cert-service-secret
73 name: oom-cert-service-volume
74 mountPath: /etc/onap/oom/certservice
79 name: oom-cert-service-server-tls-secret
81 name: oom-cert-service-server-tls-volume
82 mountPath: /etc/onap/oom/certservice/certs/
85 defaultName: oom-cert-service-client-tls-secret
89 jksName: certServiceServer-keystore.jks
90 p12Name: certServiceServer-keystore.p12
92 jksName: truststore.jks
96 # External secrets with credentials can be provided to override default credentials defined below,
97 # by uncommenting and filling appropriate *ExternalSecret value
100 keystorePassword: secret
101 truststorePassword: secret
102 #keystorePasswordExternalSecret:
103 #truststorePasswordExternalSecret:
104 # Below cmp values contain credentials for EJBCA test instance and are relevant only if global addTestingComponents flag is enabled
106 # Used only if cmpv2 testing is enabled
107 clientIakExternalSecret: '{{ include "common.release" . }}-ejbca-client-iak'
108 #clientRvExternalSecret:
109 raIakExternalSecret: '{{ include "common.release" . }}-ejbca-ra-iak'
119 - uid: keystore-password
120 name: '{{ include "common.release" . }}-keystore-password'
122 externalSecret: '{{ tpl (default "" .Values.credentials.tls.keystorePasswordExternalSecret) . }}'
123 password: '{{ .Values.credentials.tls.keystorePassword }}'
124 passwordPolicy: required
125 - uid: truststore-password
126 name: '{{ include "common.release" . }}-truststore-password'
128 externalSecret: '{{ tpl (default "" .Values.credentials.tls.truststorePasswordExternalSecret) . }}'
129 password: '{{ .Values.credentials.tls.truststorePassword }}'
130 passwordPolicy: required
131 # Below values are relevant only if global addTestingComponents flag is enabled
132 - uid: ejbca-server-client-iak
134 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.clientIakExternalSecret) . }}'
135 password: '{{ .Values.credentials.cmp.client.iak }}'
136 - uid: cmp-config-client-rv
138 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.clientRvExternalSecret) . }}'
139 password: '{{ .Values.credentials.cmp.client.rv }}'
140 - uid: ejbca-server-ra-iak
142 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.raIakExternalSecret) . }}'
143 password: '{{ .Values.credentials.cmp.ra.iak }}'
144 - uid: cmp-config-ra-rv
146 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.raRvExternalSecret) . }}'
147 password: '{{ .Values.credentials.cmp.ra.rv }}'