1 # Copyright © 2017 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
23 name: &pgRootPassSecretName '{{ include "common.release" . }}-vnfsdk-pg-root-pass'
25 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "vnfsdk-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
26 password: '{{ .Values.postgres.config.pgRootpassword }}'
29 name: &pgUserCredsSecretName '{{ include "common.release" . }}-vnfsdk-pg-user-creds'
31 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "vnfsdk-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
32 login: '{{ .Values.postgres.config.pgUserName }}'
33 password: '{{ .Values.postgres.config.pgUserPassword }}'
34 passwordPolicy: generate
36 #################################################################
38 #################################################################
40 nameOverride: refrepo-cert-initializer
41 aafDeployFqi: deployer@people.osaaf.org
42 aafDeployPass: demo123456!
43 # aafDeployCredsExternalSecret: some secret
45 fqi: refrepo@refrepo.onap.org
46 fqi_namespace: org.onap.refrepo
47 public_fqdn: refrepo.onap.org
51 credsPath: /opt/app/osaaf/local
53 echo "*** transform AAF certs into pem files"
54 mkdir -p {{ .Values.credsPath }}/certs
55 echo "keystore password: $$cadi_keystore_password_p12"
56 openssl pkcs12 -in {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.p12 \
57 -nokeys -out {{ .Values.credsPath }}/certs/cert.pem \
58 -passin pass:$cadi_keystore_password_p12 \
59 -passout pass:$cadi_keystore_password_p12
61 cp {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key \
62 {{ .Values.credsPath }}/certs/cert.key
63 echo "*** change ownership of certificates to targeted user"
64 chown -R 999 {{ .Values.credsPath }}/certs
67 #################################################################
68 # Application configuration defaults.
69 #################################################################
71 image: onap/vnfsdk/refrepo:1.6.3
74 # application configuration override for postgres
76 nameOverride: vnfsdk-postgres
86 mountSubPath: vnfsdk/data
91 pgUserExternalSecret: *pgUserCredsSecretName
92 pgRootPasswordExternalSecret: *pgRootPassSecretName
94 # flag to enable debugging - application support required
101 # Resource Limit flavor -By Default using small
103 # Segregation for Different environment (Small and Large)
121 # probe configuration parameters
123 initialDelaySeconds: 10
125 # necessary to disable liveness probe when setting breakpoints
126 # in debugger so K8s doesn't restart unresponsive container
130 initialDelaySeconds: 60
143 - baseaddr: "refrepo"