diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-03-22 17:27:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-03-22 17:27:41 +0000 |
commit | d037d55e677a693af8df24942c2b0e0381d7e331 (patch) | |
tree | 7bdb210c8ee2c15aa77b4c23013982c2e17b43e6 /kubernetes/vnfsdk/values.yaml | |
parent | e270b78384bfcca50fdf699b0485869c3dfd5739 (diff) | |
parent | 554bc6b6d540810be1fd2c4fa1117719c21527de (diff) |
Merge "[VNFSDK] Automatically retrieve certificates"
Diffstat (limited to 'kubernetes/vnfsdk/values.yaml')
-rw-r--r-- | kubernetes/vnfsdk/values.yaml | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/kubernetes/vnfsdk/values.yaml b/kubernetes/vnfsdk/values.yaml index 28a2ac419e..0fbee4c07f 100644 --- a/kubernetes/vnfsdk/values.yaml +++ b/kubernetes/vnfsdk/values.yaml @@ -34,6 +34,37 @@ secrets: passwordPolicy: generate ################################################################# +# AAF part +################################################################# +certInitializer: + nameOverride: refrepo-cert-initializer + aafDeployFqi: deployer@people.osaaf.org + aafDeployPass: demo123456! + # aafDeployCredsExternalSecret: some secret + fqdn: refrepo + fqi: refrepo@refrepo.onap.org + fqi_namespace: org.onap.refrepo + public_fqdn: refrepo.onap.org + cadi_longitude: "0.0" + cadi_latitude: "0.0" + app_ns: org.osaaf.aaf + credsPath: /opt/app/osaaf/local + aaf_add_config: | + echo "*** transform AAF certs into pem files" + mkdir -p {{ .Values.credsPath }}/certs + echo "keystore password: $$cadi_keystore_password_p12" + openssl pkcs12 -in {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.p12 \ + -nokeys -out {{ .Values.credsPath }}/certs/cert.pem \ + -passin pass:$cadi_keystore_password_p12 \ + -passout pass:$cadi_keystore_password_p12 + echo "*** copy key" + cp {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key \ + {{ .Values.credsPath }}/certs/cert.key + echo "*** change ownership of certificates to targeted user" + chown -R 999 {{ .Values.credsPath }}/certs + + +################################################################# # Application configuration defaults. ################################################################# # application image @@ -102,7 +133,7 @@ readiness: service: type: NodePort name: refrepo - portName: refrepo + portName: https nodePort: 97 internalPort: 8703 |