blob: ecc5573f28f57c042665769910fce81d8bd53edc [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 Timoney6aebe132022-06-08 16:57:12 -040026image: "onap/sdnc-web-image:2.3.2"
Alexander Dehn9b797d62020-04-21 09:53:50 +000027pullPolicy: Always
28
29config:
30 sdncChartName: sdnc
31 webProtocol: HTTPS
Radoslaw Chmiel58662a32022-06-02 19:37:35 +020032 webPlainProtocol: HTTP
Alexander Dehn9b797d62020-04-21 09:53:50 +000033 webPort: 8443
Radoslaw Chmiel58662a32022-06-02 19:37:35 +020034 webPlainPort: 8080
Alexander Dehn8789a722020-10-16 14:29:05 +000035 sdnrProtocol: https
Radoslaw Chmiel58662a32022-06-02 19:37:35 +020036 sdnrPlainProtocol: http
Alexander Dehn9b797d62020-04-21 09:53:50 +000037 sdnrHost: "sdnc"
Radoslaw Chmiel58662a32022-06-02 19:37:35 +020038 sdnrPlainHost: "sdnc"
Alexander Dehn9b797d62020-04-21 09:53:50 +000039 sdnrPort: "8443"
Radoslaw Chmiel58662a32022-06-02 19:37:35 +020040 sdnrPlainPort : "8080"
Alexander Dehn9b797d62020-04-21 09:53:50 +000041 sslCertDir: "/opt/app/osaaf/local/certs"
42 sslCertiticate: "cert.pem"
43 sslCertKey: "key.pem"
demskeq8b43e92c2021-02-12 15:43:48 +010044 oauth:
45 enabled: false
46 odluxRbac:
47 enabled: false
Alexander Dehn8789a722020-10-16 14:29:05 +000048 transportpce:
49 enabled: false
50 transportpceUrl: http://transportpce.transportpce:8181
51 topologyserver:
52 enabled: false
53 topologyserverUrl: http://toplogy-api-service.topology:3001
54 tileserverUrl: https://tile.openstreetmap.org
Alexander Dehn9b797d62020-04-21 09:53:50 +000055
56
57#################################################################
58# aaf configuration defaults.
59#################################################################
60certInitializer:
61 nameOverride: sdnc-web-cert-initializer
62 fqdn: "sdnc"
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!
69 cadi_latitude: "38.0"
70 cadi_longitude: "-72.0"
71 credsPath: /opt/app/osaaf/local
72 aaf_add_config: >
73 cd /opt/app/osaaf/local;
74 mkdir -p certs;
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;
79 chmod -R 755 certs;
80
81# default number of instances
82replicaCount: 1
83
84nodeSelector: {}
85
86affinity: {}
87
88# probe configuration parameters
89liveness:
90 initialDelaySeconds: 180
91 periodSeconds: 10
92 # necessary to disable liveness probe when setting breakpoints
93 # in debugger so K8s doesn't restart unresponsive container
94 enabled: true
95
96readiness:
97 initialDelaySeconds: 60
98 periodSeconds: 10
99
100service:
101 name: sdnc-web
102 suffix: service
103 type: NodePort
104 sessionAffinity: ClientIP
105 # for liveness and readiness probe only
106 # internalPort:
107 internalPort: 8443
Radoslaw Chmiel58662a32022-06-02 19:37:35 +0200108 internalPlainPort: 8080
Alexander Dehn9b797d62020-04-21 09:53:50 +0000109 ports:
Radoslaw Chmiel58662a32022-06-02 19:37:35 +0200110 - name: http-sdnc-web
Alexander Dehn9b797d62020-04-21 09:53:50 +0000111 port: "8443"
Radoslaw Chmiel58662a32022-06-02 19:37:35 +0200112 plain_port: "8080"
113 port_protocol: http
Alexander Dehn9b797d62020-04-21 09:53:50 +0000114 nodePort: "05"
115
116#ingress:
117# enabled: false
118
119#Resource limit flavor -By default using small
120flavor: small
121#segregation for different environment (small and large)
122resources:
123 small:
124 limits:
125 cpu: 1
126 memory: 1Gi
127 requests:
128 cpu: 0.5
129 memory: 500Mi
130 large:
131 limits:
132 cpu: 2
133 memory: 2Gi
134 requests:
135 cpu: 1
136 memory: 1Gi
137 unlimited: {}
farida azmy32c5ed82021-08-04 14:46:09 +0200138
139#Pods Service Account
140serviceAccount:
141 nameOverride: sdnc-web
142 roles:
143 - read