blob: b7b3acd9099e0b9c4ac52f632c6b9e6295d14d73 [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
efiacor2f1c2a22022-11-29 11:39:41 +000034 # Global Strimzi kafka config overridden
35 # from parent values.yaml
efiacor3422fe92022-07-12 13:19:53 +010036 kafka:
37 useKafka: overridden-from-parent-values-yaml
Mandeep Khindaa1047f42018-03-22 02:12:15 +000038
39#################################################################
40# Application configuration defaults.
41#################################################################
42# application image
efiacor3422fe92022-07-12 13:19:53 +010043image: onap/sdc-backend-all-plugins:1.12.0
44backendInitImage: onap/sdc-backend-init:1.12.0
Sylvain Desbureaux0a1eaf32020-11-19 17:56:08 +010045
Mandeep Khindaa1047f42018-03-22 02:12:15 +000046pullPolicy: Always
47
48# flag to enable debugging - application support required
49debugEnabled: false
50
ChrisC742a7b22020-09-04 11:29:57 +020051#environment file
52env:
efiacor2f1c2a22022-11-29 11:39:41 +000053 name: &env AUTO
ChrisC742a7b22020-09-04 11:29:57 +020054
55certInitializer:
56 nameOverride: sdc-be-cert-init
57 aafDeployFqi: deployer@people.osaaf.org
58 aafDeployPass: demo123456!
59 fqdn: sdc
60 fqi: sdc@sdc.onap.org
61 public_fqdn: sdc.onap.org
62 cadi_longitude: "0.0"
63 cadi_latitude: "0.0"
64 app_ns: org.osaaf.aaf
65 credsPath: /opt/app/osaaf/local
66 addconfig: true
67 keystoreFile: "org.onap.sdc.p12"
68 truststoreFile: "org.onap.sdc.trust.jks"
69 permission_user: 352070
70 permission_group: 35953
Sylvain Desbureaux575743d2021-02-23 16:38:07 +010071 aaf_add_config: |
72 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
73 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
ChrisC742a7b22020-09-04 11:29:57 +020074
75#################################################################
76# SDC Config part
77#################################################################
Mandeep Khinda403c1c12018-04-19 23:15:43 +000078config:
r.bogacki65cb1ac2019-09-03 09:27:24 +020079 javaOptions: "-Xmx1536m -Xms1536m"
Mandeep Khinda403c1c12018-04-19 23:15:43 +000080 cassandraSslEnabled: "false"
efiacor2f1c2a22022-11-29 11:39:41 +000081
82kafkaUser:
83 acls:
84 - name: sdc
85 suffix: *env
86 type: group
87 operations: [Read]
88 - name: SDC-DISTR
89 type: topic
90 patternType: prefix
91 operations: [Read, Write]
92
Mandeep Khinda403c1c12018-04-19 23:15:43 +000093
Mandeep Khindaa1047f42018-03-22 02:12:15 +000094# default number of instances
95replicaCount: 1
96
97nodeSelector: {}
98
99affinity: {}
100
101# probe configuration parameters
102liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200103 initialDelaySeconds: 1
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000104 periodSeconds: 10
othman touijer2b764d02022-01-05 14:40:37 +0100105 timeoutSeconds: 180
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200106 successThreshold: 1
107 failureThreshold: 3
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000108 # necessary to disable liveness probe when setting breakpoints
109 # in debugger so K8s doesn't restart unresponsive container
110 enabled: true
111
112readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200113 initialDelaySeconds: 1
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000114 periodSeconds: 10
othman touijer2b764d02022-01-05 14:40:37 +0100115 timeoutSeconds: 180
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200116 successThreshold: 1
117 failureThreshold: 3
118
119startup:
120 initialDelaySeconds: 10
121 periodSeconds: 10
othman touijer2b764d02022-01-05 14:40:37 +0100122 timeoutSeconds: 180
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200123 successThreshold: 1
124 failureThreshold: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000125
126service:
127 type: NodePort
128 name: sdc-be
gummara72e6de2020-03-12 11:15:56 +0000129 both_tls_and_plain: true
Joanna Jeremiczfe52bf52021-04-21 14:31:29 +0200130 internalPort: 8080
gummara72e6de2020-03-12 11:15:56 +0000131 msb:
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000132 - port: 8443
gummara72e6de2020-03-12 11:15:56 +0000133 url: "/sdc/v1"
134 version: "v1"
135 protocol: "REST"
136 visualRange: "1"
137 serviceName: sdc
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000138 enable_ssl: true
gummara72e6de2020-03-12 11:15:56 +0000139 - port: 8080
140 url: "/sdc/v1"
141 version: "v1"
142 protocol: "REST"
143 visualRange: "1"
144 serviceName: sdc-deprecated
145 ports:
othman touijer2b764d02022-01-05 14:40:37 +0100146 - name: tcp-api
gummara72e6de2020-03-12 11:15:56 +0000147 port: 8443
148 plain_port: 8080
149 port_protocol: http
150 nodePort: '04'
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000151
152ingress:
153 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100154 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200155 - baseaddr: "sdc-be-api"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100156 name: "sdc-be"
gummara72e6de2020-03-12 11:15:56 +0000157 port: 8443
Andreas Geissler51900a92022-08-03 13:10:35 +0200158 plain_port: 8080
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100159 config:
gummara72e6de2020-03-12 11:15:56 +0000160 ssl: "redirect"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100161
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000162
Mukula93baa82018-09-19 15:56:58 +0000163# Resource Limit flavor -By Default using small
164flavor: small
165# Segregation for Different environment (Small and Large)
166resources:
167 small:
168 limits:
169 cpu: 1
ChrisC32172342020-10-02 16:39:13 +0200170 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000171 requests:
ChrisC32172342020-10-02 16:39:13 +0200172 cpu: 100m
Mukula93baa82018-09-19 15:56:58 +0000173 memory: 1Gi
174 large:
175 limits:
176 cpu: 2
ChrisC32172342020-10-02 16:39:13 +0200177 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000178 requests:
ChrisC32172342020-10-02 16:39:13 +0200179 cpu: 200m
Mukula93baa82018-09-19 15:56:58 +0000180 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000181 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200182
183#Pods Service Account
184serviceAccount:
185 nameOverride: sdc-be
186 roles:
187 - read
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000188
othman touijer2b764d02022-01-05 14:40:37 +0100189wait_for_job_container:
190 containers:
191 - '{{ include "common.name" . }}-job'
192
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000193#Log configuration
194log:
195 path: /var/log/onap
196logConfigMapNamePrefix: '{{ include "common.fullname" . }}'