1 # Copyright © 2020-2021, 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.
24 repository: "nexus3.onap.org:10001"
27 # Service configuration
35 # Deployment configuration
36 repository: "nexus3.onap.org:10001"
37 image: onap/org.onap.oom.platform.cert-service.oom-certservice-api:2.5.0
42 initialDelaySeconds: 60
44 command: curl https://localhost:$HTTPS_PORT/actuator/health --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
46 initialDelaySeconds: 30
48 command: curl https://localhost:$HTTPS_PORT/ready --cacert $ROOT_CERT --cert-type p12 --cert $KEYSTORE_P12_PATH --pass $KEYSTORE_PASSWORD
69 # Application configuration
72 name: oom-cert-service-secret
74 name: oom-cert-service-volume
75 mountPath: /etc/onap/oom/certservice
80 name: &selfSigningIssuer cmpv2-selfsigning-issuer
82 name: &caIssuer cmpv2-issuer-onap
84 name: &caKeyPairSecret cmpv2-ca-key-pair
87 name: &serverSecret oom-cert-service-server-tls-secret
89 name: oom-cert-service-server-tls-volume
90 mountPath: /etc/onap/oom/certservice/certs/
93 defaultName: oom-cert-service-client-tls-secret
101 jksName: truststore.jks
106 # External secrets with credentials can be provided to override default credentials defined below,
107 # by uncommenting and filling appropriate *ExternalSecret value
110 certificatesPassword: secret
111 #certificatesPasswordExternalSecret:
112 # Below cmp values contain credentials for EJBCA test instance and are relevant only if global addTestingComponents flag is enabled
114 # Used only if cmpv2 testing is enabled
115 clientIakExternalSecret: '{{ include "common.release" . }}-ejbca-client-iak'
116 #clientRvExternalSecret:
117 raIakExternalSecret: '{{ include "common.release" . }}-ejbca-ra-iak'
127 - uid: certificates-password
128 name: &certificatesPasswordSecretName '{{ .Values.cmpv2Config.global.platform.certificates.keystorePasswordSecretName }}'
130 externalSecret: '{{ tpl (default "" .Values.credentials.tls.certificatesPasswordExternalSecret) . }}'
131 password: '{{ .Values.credentials.tls.certificatesPassword }}'
132 passwordPolicy: required
133 # Below values are relevant only if global addTestingComponents flag is enabled
134 - uid: ejbca-server-client-iak
136 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.clientIakExternalSecret) . }}'
137 password: '{{ .Values.credentials.cmp.client.iak }}'
138 - uid: cmp-config-client-rv
140 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.clientRvExternalSecret) . }}'
141 password: '{{ .Values.credentials.cmp.client.rv }}'
142 - uid: ejbca-server-ra-iak
144 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.raIakExternalSecret) . }}'
145 password: '{{ .Values.credentials.cmp.ra.iak }}'
146 - uid: cmp-config-ra-rv
148 externalSecret: '{{ tpl (default "" .Values.credentials.cmp.raRvExternalSecret) . }}'
149 password: '{{ .Values.credentials.cmp.ra.rv }}'
151 # Certificates definitions
153 - name: selfsigned-cert
154 secretName: *caKeyPairSecret
158 organization: Root Company
161 province: Dolny Slask
162 organizationalUnit: Root Org
164 name: *selfSigningIssuer
166 - name: cert-service-server-cert
167 secretName: *serverSecret
168 commonName: oom-cert-service
173 organization: certServiceServer org
176 province: Dolny Slask
177 organizationalUnit: certServiceServer company
186 name: *certificatesPasswordSecretName
191 - name: cert-service-client-cert
192 secretName: '{{ .Values.cmpv2Config.global.platform.certificates.clientSecretName | default .Values.tls.client.secret.defaultName }}'
193 commonName: certServiceClient.com
195 organization: certServiceClient org
198 province: Dolny Slask
199 organizationalUnit: certServiceClient company
207 name: *certificatesPasswordSecretName