blob: 1fe5b50cf740b47184a62751cb16164879b39307 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00003# 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.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
jmacc4f04d32018-10-12 18:24:24 +000020 persistence:
21 mountPath: /dockerdata-nfs
krishnaa9692b606b2020-10-30 11:29:21 +053022 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010023 # flag to enable the DB creation via mariadb-operator
24 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020025 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053026 servicePort: '3306'
efiacor8d3ff802022-11-23 12:13:26 +000027 soSdcListenerKafkaUser: so-sdc-list-user
jmacc4f04d32018-10-12 18:24:24 +000028
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010029readinessCheck:
30 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053031 jobs:
32 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010033
jmacc4f04d32018-10-12 18:24:24 +000034#################################################################
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010035# Secrets metaconfig
36#################################################################
37secrets:
38 - uid: db-user-creds
39 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010040 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010041 login: '{{ .Values.db.userName }}'
42 password: '{{ .Values.db.userPassword }}'
43 passwordPolicy: required
44 - uid: db-admin-creds
45 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010046 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010047 login: '{{ .Values.db.adminName }}'
48 password: '{{ .Values.db.adminPassword }}'
49 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010050
51#secretsFilePaths: |
52# - 'my file 1'
53# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010054
55#################################################################
jmacc4f04d32018-10-12 18:24:24 +000056# Application configuration defaults.
57#################################################################
Lukasz Rajewski743dca92023-06-12 07:28:58 +000058image: onap/so/sdc-controller:1.12.2
jmacc4f04d32018-10-12 18:24:24 +000059pullPolicy: Always
60
Andreas Geissler2c1ba292024-01-10 22:20:05 +010061# Local mariadb galera instance default name
62mariadb-galera:
63 nameOverride: so-mariadb-galera
64 service:
65 internalPort: 3306
66 mariadbOperator:
67 galera:
68 enabled: false
69
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010070db:
71 userName: so_user
72 userPassword: so_User123
73 # userCredsExternalSecret: some secret
74 adminName: so_admin
75 adminPassword: so_Admin123
76 # adminCredsExternalSecret: some secret
77
seshukm0df1f8e2020-08-17 21:45:49 +053078aai:
79 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
80mso:
81 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
82 requestDb:
83 auth: Basic YnBlbDpwYXNzd29yZDEk
84 asdc:
85 config:
86 key: 566B754875657232314F5548556D3665
87 asdc-connections:
88 asdc-controller1:
89 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
90
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000091replicaCount: 1
92minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053093containerPort: &containerPort 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000094logPath: ./logs/sdc/
95app: sdc-controller
efiacor1e6ad112023-03-22 11:04:45 +000096
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000097service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010098 type: ClusterIP
99 ports:
100 - name: http
101 port: *containerPort
efiacor1e6ad112023-03-22 11:04:45 +0000102
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000103updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100104 type: RollingUpdate
105 maxUnavailable: 1
106 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530107
108#################################################################
109# soHelpers part
110#################################################################
111soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530112 containerPort: *containerPort
113
vaibhav16dec0da88292018-08-13 06:10:27 +0000114# Resource Limit flavor -By Default using small
115flavor: small
116# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000117resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000118 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000119 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100120 cpu: "1"
121 memory: "1.5Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000122 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100123 cpu: "0.5"
124 memory: "1.5Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000125 large:
126 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100127 cpu: "2"
128 memory: "3Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000129 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100130 cpu: "1"
131 memory: "3Gi"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000132 unlimited: {}
efiacor1e6ad112023-03-22 11:04:45 +0000133
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000134livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100135 path: /manage/health
136 port: 8085
137 scheme: HTTP
138 initialDelaySeconds: 600
139 periodSeconds: 60
140 timeoutSeconds: 10
141 successThreshold: 1
142 failureThreshold: 3
efiacor1e6ad112023-03-22 11:04:45 +0000143
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000144ingress:
145 enabled: false
efiacor1e6ad112023-03-22 11:04:45 +0000146
AndrewLambab2704a2023-04-05 14:45:11 +0100147serviceMesh:
148 authorizationPolicy:
149 authorizedPrincipals:
150 - serviceAccount: robot-read
151 - serviceAccount: so-read
152
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000153nodeSelector: {}
154tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500155affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200156
efiacor1e6ad112023-03-22 11:04:45 +0000157# Strimzi KafkaUser config
158kafkaUser:
159 acls:
160 - name: SO
161 type: group
162 operations: [Read]
163 - name: SDC-DISTR
164 type: topic
165 patternType: prefix
166 operations: [Read, Write]
167
farida azmy87f46222021-04-06 15:25:15 +0200168#Pods Service Account
169serviceAccount:
170 nameOverride: so-sdc-controller
171 roles:
172 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000173
174#Logs configuration
175log:
176 path: /var/log/onap
177logConfigMapNamePrefix: '{{ include "common.fullname" . }}'