blob: 681ff724e91047260e6066f3c4629e8474fabded [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:
23 serviceName: mariadb-galera
24 servicePort: '3306'
efiacor8d3ff802022-11-23 12:13:26 +000025 soSdcListenerKafkaUser: so-sdc-list-user
jmacc4f04d32018-10-12 18:24:24 +000026
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010027readinessCheck:
28 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053029 jobs:
30 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010031
jmacc4f04d32018-10-12 18:24:24 +000032#################################################################
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010033# Secrets metaconfig
34#################################################################
35secrets:
36 - uid: db-user-creds
37 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010038 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010039 login: '{{ .Values.db.userName }}'
40 password: '{{ .Values.db.userPassword }}'
41 passwordPolicy: required
42 - uid: db-admin-creds
43 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010044 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010045 login: '{{ .Values.db.adminName }}'
46 password: '{{ .Values.db.adminPassword }}'
47 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010048
49#secretsFilePaths: |
50# - 'my file 1'
51# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010052
53#################################################################
jmacc4f04d32018-10-12 18:24:24 +000054# Application configuration defaults.
55#################################################################
Lukasz Rajewski743dca92023-06-12 07:28:58 +000056image: onap/so/sdc-controller:1.12.2
jmacc4f04d32018-10-12 18:24:24 +000057pullPolicy: Always
58
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010059db:
60 userName: so_user
61 userPassword: so_User123
62 # userCredsExternalSecret: some secret
63 adminName: so_admin
64 adminPassword: so_Admin123
65 # adminCredsExternalSecret: some secret
66
seshukm0df1f8e2020-08-17 21:45:49 +053067aai:
68 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
69mso:
70 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
71 requestDb:
72 auth: Basic YnBlbDpwYXNzd29yZDEk
73 asdc:
74 config:
75 key: 566B754875657232314F5548556D3665
76 asdc-connections:
77 asdc-controller1:
78 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
79
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000080replicaCount: 1
81minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053082containerPort: &containerPort 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000083logPath: ./logs/sdc/
84app: sdc-controller
efiacor1e6ad112023-03-22 11:04:45 +000085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000086service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010087 type: ClusterIP
88 ports:
89 - name: http
90 port: *containerPort
efiacor1e6ad112023-03-22 11:04:45 +000091
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000092updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010093 type: RollingUpdate
94 maxUnavailable: 1
95 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053096
97#################################################################
98# soHelpers part
99#################################################################
100soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530101 containerPort: *containerPort
102
vaibhav16dec0da88292018-08-13 06:10:27 +0000103# Resource Limit flavor -By Default using small
104flavor: small
105# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000106resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000107 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000108 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200109 memory: 1.5Gi
110 cpu: 999
vaibhav16dec0da88292018-08-13 06:10:27 +0000111 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200112 memory: 1.5Gi
113 cpu: 0.5
vaibhav16dec0da88292018-08-13 06:10:27 +0000114 large:
115 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200116 memory: 3Gi
117 cpu: 999
vaibhav16dec0da88292018-08-13 06:10:27 +0000118 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200119 memory: 3Gi
120 cpu: 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000121 unlimited: {}
efiacor1e6ad112023-03-22 11:04:45 +0000122
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000123livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100124 path: /manage/health
125 port: 8085
126 scheme: HTTP
127 initialDelaySeconds: 600
128 periodSeconds: 60
129 timeoutSeconds: 10
130 successThreshold: 1
131 failureThreshold: 3
efiacor1e6ad112023-03-22 11:04:45 +0000132
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000133ingress:
134 enabled: false
efiacor1e6ad112023-03-22 11:04:45 +0000135
AndrewLambab2704a2023-04-05 14:45:11 +0100136serviceMesh:
137 authorizationPolicy:
138 authorizedPrincipals:
139 - serviceAccount: robot-read
140 - serviceAccount: so-read
141
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000142nodeSelector: {}
143tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500144affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200145
efiacor1e6ad112023-03-22 11:04:45 +0000146# Strimzi KafkaUser config
147kafkaUser:
148 acls:
149 - name: SO
150 type: group
151 operations: [Read]
152 - name: SDC-DISTR
153 type: topic
154 patternType: prefix
155 operations: [Read, Write]
156
farida azmy87f46222021-04-06 15:25:15 +0200157#Pods Service Account
158serviceAccount:
159 nameOverride: so-sdc-controller
160 roles:
161 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000162
163#Logs configuration
164log:
165 path: /var/log/onap
166logConfigMapNamePrefix: '{{ include "common.fullname" . }}'