1 # Copyright © 2018 Amdocs, Bell Canada , ZTE
2 # Copyright © 2021 Orange
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
21 #################################################################
23 #################################################################
25 nameOverride: msb-eag-cert-initializer
26 aafDeployFqi: deployer@people.osaaf.org
27 aafDeployPass: demo123456!
28 # aafDeployCredsExternalSecret: some secret
30 fqi: msb-eag@msb-eag.onap.org
31 fqi_namespace: org.onap.msb-eag
32 public_fqdn: msb-eag.onap.org
36 credsPath: /opt/app/osaaf/local
38 mkdir -p {{ .Values.credsPath }}/certs
39 echo "*** retrieve certificate from pkcs12"
40 openssl pkcs12 -in {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.p12 \
41 -out {{ .Values.credsPath }}/certs/cert.crt -nokeys \
42 -passin pass:$cadi_keystore_password_p12 \
43 -passout pass:$cadi_keystore_password_p12
44 echo "*** copy key to relevant place"
45 cp {{ .Values.credsPath }}/{{ .Values.fqi_namespace }}.key {{ .Values.credsPath }}/certs/cert.key
46 echo "*** change ownership and read/write attributes"
47 chown -R 1000 {{ .Values.credsPath }}/certs
48 chmod 600 {{ .Values.credsPath }}/certs/cert.crt
49 chmod 600 {{ .Values.credsPath }}/certs/cert.key
51 #################################################################
52 # Application configuration defaults.
53 #################################################################
55 image: onap/msb/msb_apigateway:1.6.0
59 # application configuration
61 routeLabels: "visualRange:0"
63 # default number of instances
70 # probe configuration parameters
72 initialDelaySeconds: 10
74 # necessary to disable liveness probe when setting breakpoints
75 # in debugger so K8s doesn't restart unresponsive container
79 initialDelaySeconds: 10
85 both_tls_and_plain: true
86 # for liveness and readiness probe only
100 - baseaddr: "msb-eag-ui"
107 # Resource Limit flavor -By Default using small
109 # Segregation for Different environment (Small and Large)
127 #Pods Service Account
129 nameOverride: msb-eag
136 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'