1 # Copyright © 2020 highstreet technologies GmbH
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 #################################################################
21 k8scluster: svc.cluster.local
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
26 image: "onap/sdnc-web-image:2.4.1"
32 webPlainProtocol: HTTP
36 sdnrPlainProtocol: http
40 sdnrPlainPort : "8080"
41 sslCertDir: "/opt/app/osaaf/local/certs"
42 sslCertiticate: "cert.pem"
50 transportpceUrl: http://transportpce.transportpce:8181
53 topologyserverUrl: http://toplogy-api-service.topology:3001
54 tileserverUrl: https://tile.openstreetmap.org
57 #################################################################
58 # aaf configuration defaults.
59 #################################################################
61 nameOverride: sdnc-web-cert-initializer
63 app_ns: "org.osaaf.aaf"
64 fqi: "sdnc@sdnc.onap.org"
65 fqi_namespace: "org.onap.sdnc"
66 public_fqdn: "sdnc.onap.org"
67 aafDeployFqi: "deployer@people.osaaf.org"
68 aafDeployPass: demo123456!
70 cadi_longitude: "-72.0"
71 credsPath: /opt/app/osaaf/local
73 cd /opt/app/osaaf/local;
75 export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0);
76 keytool -exportcert -rfc -file certs/cacert.pem -keystore {{ .Values.fqi_namespace }}.trust.jks -alias ca_local_0 -storepass $cadi_truststore_password;
77 openssl pkcs12 -in {{ .Values.fqi_namespace }}.p12 -out certs/cert.pem -passin pass:$cadi_keystore_password_p12 -passout pass:$cadi_keystore_password_p12;
78 cp {{ .Values.fqi_namespace }}.key certs/key.pem;
81 # default number of instances
88 # probe configuration parameters
90 initialDelaySeconds: 180
92 # necessary to disable liveness probe when setting breakpoints
93 # in debugger so K8s doesn't restart unresponsive container
97 initialDelaySeconds: 60
104 sessionAffinity: ClientIP
105 # for liveness and readiness probe only
108 internalPlainPort: 8080
110 - name: http-sdnc-web
119 #Resource limit flavor -By default using small
121 #segregation for different environment (small and large)
139 #Pods Service Account
141 nameOverride: sdnc-web