blob: bcf3cff7520dba09c78d79772a507f403748a3ff [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
30image: "onap/sdnc-web-image:1.8.3"
31pullPolicy: Always
32
33config:
34 sdncChartName: sdnc
35 webProtocol: HTTPS
36 webPort: 8443
37 #sdnrProtocol: HTTPS
38 sdnrProtocol: HTTPS
39 #sdnrHost: "sdnc.onap"
40 sdnrHost: "sdnc"
41 sdnrPort: "8443"
42 sslCertDir: "/opt/app/osaaf/local/certs"
43 sslCertiticate: "cert.pem"
44 sslCertKey: "key.pem"
45
46
47#################################################################
48# aaf configuration defaults.
49#################################################################
50certInitializer:
51 nameOverride: sdnc-web-cert-initializer
52 fqdn: "sdnc"
53 app_ns: "org.osaaf.aaf"
54 fqi: "sdnc@sdnc.onap.org"
55 fqi_namespace: "org.onap.sdnc"
56 public_fqdn: "sdnc.onap.org"
57 aafDeployFqi: "deployer@people.osaaf.org"
58 aafDeployPass: demo123456!
59 cadi_latitude: "38.0"
60 cadi_longitude: "-72.0"
61 credsPath: /opt/app/osaaf/local
62 aaf_add_config: >
63 cd /opt/app/osaaf/local;
64 mkdir -p certs;
65 export $(/opt/app/aaf_config/bin/agent.sh local showpass | grep '^c' | xargs -0);
66 keytool -exportcert -rfc -file certs/cacert.pem -keystore {{ .Values.fqi_namespace }}.trust.jks -alias ca_local_0 -storepass $cadi_truststore_password;
67 openssl pkcs12 -in {{ .Values.fqi_namespace }}.p12 -out certs/cert.pem -passin pass:$cadi_keystore_password_p12 -passout pass:$cadi_keystore_password_p12;
68 cp {{ .Values.fqi_namespace }}.key certs/key.pem;
69 chmod -R 755 certs;
70
71# default number of instances
72replicaCount: 1
73
74nodeSelector: {}
75
76affinity: {}
77
78# probe configuration parameters
79liveness:
80 initialDelaySeconds: 180
81 periodSeconds: 10
82 # necessary to disable liveness probe when setting breakpoints
83 # in debugger so K8s doesn't restart unresponsive container
84 enabled: true
85
86readiness:
87 initialDelaySeconds: 60
88 periodSeconds: 10
89
90service:
91 name: sdnc-web
92 suffix: service
93 type: NodePort
94 sessionAffinity: ClientIP
95 # for liveness and readiness probe only
96 # internalPort:
97 internalPort: 8443
98 ports:
99 - name: "sdnc-web"
100 port: "8443"
101 nodePort: "05"
102
103#ingress:
104# enabled: false
105
106#Resource limit flavor -By default using small
107flavor: small
108#segregation for different environment (small and large)
109resources:
110 small:
111 limits:
112 cpu: 1
113 memory: 1Gi
114 requests:
115 cpu: 0.5
116 memory: 500Mi
117 large:
118 limits:
119 cpu: 2
120 memory: 2Gi
121 requests:
122 cpu: 1
123 memory: 1Gi
124 unlimited: {}