blob: 3f335e68854153c746ca7205f726d911740321bd [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
Alexander Dehn9b797d62020-04-21 09:53:50 +000021 k8scluster: svc.cluster.local
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
Dan Timoneye77f3352022-01-03 07:03:11 -050026image: "onap/sdnc-web-image:2.2.4"
Alexander Dehn9b797d62020-04-21 09:53:50 +000027pullPolicy: Always
28
29config:
30 sdncChartName: sdnc
31 webProtocol: HTTPS
32 webPort: 8443
Alexander Dehn8789a722020-10-16 14:29:05 +000033 sdnrProtocol: https
Alexander Dehn9b797d62020-04-21 09:53:50 +000034 sdnrHost: "sdnc"
35 sdnrPort: "8443"
36 sslCertDir: "/opt/app/osaaf/local/certs"
37 sslCertiticate: "cert.pem"
38 sslCertKey: "key.pem"
demskeq8b43e92c2021-02-12 15:43:48 +010039 oauth:
40 enabled: false
41 odluxRbac:
42 enabled: false
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: {}
farida azmy32c5ed82021-08-04 14:46:09 +0200130
131#Pods Service Account
132serviceAccount:
133 nameOverride: sdnc-web
134 roles:
135 - read