blob: 7319e2272f6539eddf99c130c3c71a19b823f4bf [file] [log] [blame]
Alexander Dehn9b797d62020-04-21 09:53:50 +00001# Copyright © 2020 highstreet technologies GmbH
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 aafEnabled: true
20 nodePortPrefix: 322
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Alexander Dehn9b797d62020-04-21 09:53:50 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
24 k8scluster: svc.cluster.local
25#################################################################
26# Application configuration defaults.
27#################################################################
28# application image
29repository: nexus3.onap.org:10001
Alexander Dehn8789a722020-10-16 14:29:05 +000030image: "onap/sdnc-web-image:2.0.3"
Alexander Dehn9b797d62020-04-21 09:53:50 +000031pullPolicy: Always
32
33config:
34 sdncChartName: sdnc
35 webProtocol: HTTPS
36 webPort: 8443
Alexander Dehn8789a722020-10-16 14:29:05 +000037 sdnrProtocol: https
Alexander Dehn9b797d62020-04-21 09:53:50 +000038 sdnrHost: "sdnc"
39 sdnrPort: "8443"
40 sslCertDir: "/opt/app/osaaf/local/certs"
41 sslCertiticate: "cert.pem"
42 sslCertKey: "key.pem"
Alexander Dehn8789a722020-10-16 14:29:05 +000043 transportpce:
44 enabled: false
45 transportpceUrl: http://transportpce.transportpce:8181
46 topologyserver:
47 enabled: false
48 topologyserverUrl: http://toplogy-api-service.topology:3001
49 tileserverUrl: https://tile.openstreetmap.org
Alexander Dehn9b797d62020-04-21 09:53:50 +000050
51
52#################################################################
53# aaf configuration defaults.
54#################################################################
55certInitializer:
56 nameOverride: sdnc-web-cert-initializer
57 fqdn: "sdnc"
58 app_ns: "org.osaaf.aaf"
59 fqi: "sdnc@sdnc.onap.org"
60 fqi_namespace: "org.onap.sdnc"
61 public_fqdn: "sdnc.onap.org"
62 aafDeployFqi: "deployer@people.osaaf.org"
63 aafDeployPass: demo123456!
64 cadi_latitude: "38.0"
65 cadi_longitude: "-72.0"
66 credsPath: /opt/app/osaaf/local
67 aaf_add_config: >
68 cd /opt/app/osaaf/local;
69 mkdir -p certs;
70 export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0);
71 keytool -exportcert -rfc -file certs/cacert.pem -keystore {{ .Values.fqi_namespace }}.trust.jks -alias ca_local_0 -storepass $cadi_truststore_password;
72 openssl pkcs12 -in {{ .Values.fqi_namespace }}.p12 -out certs/cert.pem -passin pass:$cadi_keystore_password_p12 -passout pass:$cadi_keystore_password_p12;
73 cp {{ .Values.fqi_namespace }}.key certs/key.pem;
74 chmod -R 755 certs;
75
76# default number of instances
77replicaCount: 1
78
79nodeSelector: {}
80
81affinity: {}
82
83# probe configuration parameters
84liveness:
85 initialDelaySeconds: 180
86 periodSeconds: 10
87 # necessary to disable liveness probe when setting breakpoints
88 # in debugger so K8s doesn't restart unresponsive container
89 enabled: true
90
91readiness:
92 initialDelaySeconds: 60
93 periodSeconds: 10
94
95service:
96 name: sdnc-web
97 suffix: service
98 type: NodePort
99 sessionAffinity: ClientIP
100 # for liveness and readiness probe only
101 # internalPort:
102 internalPort: 8443
103 ports:
104 - name: "sdnc-web"
105 port: "8443"
106 nodePort: "05"
107
108#ingress:
109# enabled: false
110
111#Resource limit flavor -By default using small
112flavor: small
113#segregation for different environment (small and large)
114resources:
115 small:
116 limits:
117 cpu: 1
118 memory: 1Gi
119 requests:
120 cpu: 0.5
121 memory: 500Mi
122 large:
123 limits:
124 cpu: 2
125 memory: 2Gi
126 requests:
127 cpu: 1
128 memory: 1Gi
129 unlimited: {}