blob: faf46e55499cde07c8ab3ab59eb25123b14ee575 [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T, ZTE
efiacor3422fe92022-07-12 13:19:53 +01003# Modifications Copyright © 2022 Nordix Foundation
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
Mandeep Khindaa1047f42018-03-22 02:12:15 +000017#################################################################
18# Global configuration defaults.
19#################################################################
20global:
21 nodePortPrefix: 302
ChrisC742a7b22020-09-04 11:29:57 +020022 aafEnabled: true
Andreas Geisslerfd450c42021-12-10 08:36:45 +000023 sdc_cassandra:
ChrisC742a7b22020-09-04 11:29:57 +020024 #This flag allows SDC to instantiate its own cluster, serviceName
25 #should be sdc-cs if this flag is enabled
26 localCluster: false
27 #The cassandra service name to connect to (default: shared cassandra service)
28 serviceName: cassandra
29 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
30 #to match with its own cluster replica
31 replicaCount: 3
32 clusterName: cassandra
33 dataCenter: Pod
efiacor3422fe92022-07-12 13:19:53 +010034 # Strimzi kafka config
35 kafka:
36 useKafka: overridden-from-parent-values-yaml
37 sdcBeKafkaUser: overridden-from-parent-values-yaml
38 topics:
39 sdcDistNotifTopic: overridden-from-parent-values-yaml
40 sdcDistStatusTopic: overridden-from-parent-values-yaml
Mandeep Khindaa1047f42018-03-22 02:12:15 +000041
42#################################################################
43# Application configuration defaults.
44#################################################################
45# application image
efiacor3422fe92022-07-12 13:19:53 +010046image: onap/sdc-backend-all-plugins:1.12.0
47backendInitImage: onap/sdc-backend-init:1.12.0
Sylvain Desbureaux0a1eaf32020-11-19 17:56:08 +010048
Mandeep Khindaa1047f42018-03-22 02:12:15 +000049pullPolicy: Always
50
51# flag to enable debugging - application support required
52debugEnabled: false
53
ChrisC742a7b22020-09-04 11:29:57 +020054#environment file
55env:
56 name: AUTO
57
58certInitializer:
59 nameOverride: sdc-be-cert-init
60 aafDeployFqi: deployer@people.osaaf.org
61 aafDeployPass: demo123456!
62 fqdn: sdc
63 fqi: sdc@sdc.onap.org
64 public_fqdn: sdc.onap.org
65 cadi_longitude: "0.0"
66 cadi_latitude: "0.0"
67 app_ns: org.osaaf.aaf
68 credsPath: /opt/app/osaaf/local
69 addconfig: true
70 keystoreFile: "org.onap.sdc.p12"
71 truststoreFile: "org.onap.sdc.trust.jks"
72 permission_user: 352070
73 permission_group: 35953
Sylvain Desbureaux575743d2021-02-23 16:38:07 +010074 aaf_add_config: |
75 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
76 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
ChrisC742a7b22020-09-04 11:29:57 +020077
78#################################################################
79# SDC Config part
80#################################################################
efiacor3422fe92022-07-12 13:19:53 +010081
82secrets:
83 - uid: sdc-be-kafka-secret
84 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
85 type: genericKV
86 envs:
87 - name: sasl.jaas.config
88 value: '{{ .Values.config.someConfig }}'
89 policy: generate
90
Mandeep Khinda403c1c12018-04-19 23:15:43 +000091config:
r.bogacki65cb1ac2019-09-03 09:27:24 +020092 javaOptions: "-Xmx1536m -Xms1536m"
Mandeep Khinda403c1c12018-04-19 23:15:43 +000093 cassandraSslEnabled: "false"
efiacor3422fe92022-07-12 13:19:53 +010094 # Strimzi kafka config
95 kafka:
96 saslMech: scram-sha-512
97 securityProtocol: SASL_PLAINTEXT
98 authType: simple
99 topicRetentionMs: 7200000
100 topicSegmentBytes: 1073741824
101 topicConsumer:
102 pattern: SDC-DIST
103 groupId: sdc
Mandeep Khinda403c1c12018-04-19 23:15:43 +0000104
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000105# default number of instances
106replicaCount: 1
107
108nodeSelector: {}
109
110affinity: {}
111
112# probe configuration parameters
113liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200114 initialDelaySeconds: 1
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000115 periodSeconds: 10
othman touijer2b764d02022-01-05 14:40:37 +0100116 timeoutSeconds: 180
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200117 successThreshold: 1
118 failureThreshold: 3
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000119 # necessary to disable liveness probe when setting breakpoints
120 # in debugger so K8s doesn't restart unresponsive container
121 enabled: true
122
123readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200124 initialDelaySeconds: 1
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000125 periodSeconds: 10
othman touijer2b764d02022-01-05 14:40:37 +0100126 timeoutSeconds: 180
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200127 successThreshold: 1
128 failureThreshold: 3
129
130startup:
131 initialDelaySeconds: 10
132 periodSeconds: 10
othman touijer2b764d02022-01-05 14:40:37 +0100133 timeoutSeconds: 180
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200134 successThreshold: 1
135 failureThreshold: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000136
137service:
138 type: NodePort
139 name: sdc-be
gummara72e6de2020-03-12 11:15:56 +0000140 both_tls_and_plain: true
Joanna Jeremiczfe52bf52021-04-21 14:31:29 +0200141 internalPort: 8080
gummara72e6de2020-03-12 11:15:56 +0000142 msb:
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000143 - port: 8443
gummara72e6de2020-03-12 11:15:56 +0000144 url: "/sdc/v1"
145 version: "v1"
146 protocol: "REST"
147 visualRange: "1"
148 serviceName: sdc
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000149 enable_ssl: true
gummara72e6de2020-03-12 11:15:56 +0000150 - port: 8080
151 url: "/sdc/v1"
152 version: "v1"
153 protocol: "REST"
154 visualRange: "1"
155 serviceName: sdc-deprecated
156 ports:
othman touijer2b764d02022-01-05 14:40:37 +0100157 - name: tcp-api
gummara72e6de2020-03-12 11:15:56 +0000158 port: 8443
159 plain_port: 8080
160 port_protocol: http
161 nodePort: '04'
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000162
163ingress:
164 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100165 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200166 - baseaddr: "sdc-be-api"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100167 name: "sdc-be"
gummara72e6de2020-03-12 11:15:56 +0000168 port: 8443
Andreas Geissler51900a92022-08-03 13:10:35 +0200169 plain_port: 8080
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100170 config:
gummara72e6de2020-03-12 11:15:56 +0000171 ssl: "redirect"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100172
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000173
Mukula93baa82018-09-19 15:56:58 +0000174# Resource Limit flavor -By Default using small
175flavor: small
176# Segregation for Different environment (Small and Large)
177resources:
178 small:
179 limits:
180 cpu: 1
ChrisC32172342020-10-02 16:39:13 +0200181 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000182 requests:
ChrisC32172342020-10-02 16:39:13 +0200183 cpu: 100m
Mukula93baa82018-09-19 15:56:58 +0000184 memory: 1Gi
185 large:
186 limits:
187 cpu: 2
ChrisC32172342020-10-02 16:39:13 +0200188 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000189 requests:
ChrisC32172342020-10-02 16:39:13 +0200190 cpu: 200m
Mukula93baa82018-09-19 15:56:58 +0000191 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000192 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200193
194#Pods Service Account
195serviceAccount:
196 nameOverride: sdc-be
197 roles:
198 - read
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000199
othman touijer2b764d02022-01-05 14:40:37 +0100200wait_for_job_container:
201 containers:
202 - '{{ include "common.name" . }}-job'
203
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000204#Log configuration
205log:
206 path: /var/log/onap
207logConfigMapNamePrefix: '{{ include "common.fullname" . }}'