blob: dbde74808b4381295a95a9df54076c98fdd39306 [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
efiacor8d3ff802022-11-23 12:13:26 +000048 - uid: so-sdc-kafka-secret
49 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
50 type: genericKV
51 envs:
52 - name: sasl.jaas.config
53 value: '{{ .Values.config.someConfig }}'
54 policy: generate
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010055
56#secretsFilePaths: |
57# - 'my file 1'
58# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010059
60#################################################################
jmacc4f04d32018-10-12 18:24:24 +000061# Application configuration defaults.
62#################################################################
efiacor8d3ff802022-11-23 12:13:26 +000063image: onap/so/sdc-controller:1.12.0
jmacc4f04d32018-10-12 18:24:24 +000064pullPolicy: Always
65
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010066db:
67 userName: so_user
68 userPassword: so_User123
69 # userCredsExternalSecret: some secret
70 adminName: so_admin
71 adminPassword: so_Admin123
72 # adminCredsExternalSecret: some secret
73
seshukm0df1f8e2020-08-17 21:45:49 +053074aai:
75 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
76mso:
77 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
78 requestDb:
79 auth: Basic YnBlbDpwYXNzd29yZDEk
80 asdc:
81 config:
82 key: 566B754875657232314F5548556D3665
83 asdc-connections:
84 asdc-controller1:
85 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
efiacor8d3ff802022-11-23 12:13:26 +000086config:
87 someConfig: blah
88 kafka:
89 securityProtocol: SASL_PLAINTEXT
90 saslMechanism: SCRAM-SHA-512
91 authType: simple
92 sdcTopic:
93 pattern: SDC-DIST
94 consumerGroup: so
95 clientId: SO-sdc-controller
seshukm0df1f8e2020-08-17 21:45:49 +053096
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000097replicaCount: 1
98minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053099containerPort: &containerPort 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000100logPath: ./logs/sdc/
101app: sdc-controller
102service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100103 type: ClusterIP
104 ports:
105 - name: http
106 port: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000107updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100108 type: RollingUpdate
109 maxUnavailable: 1
110 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530111
112#################################################################
113# soHelpers part
114#################################################################
115soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530116 containerPort: *containerPort
117
vaibhav16dec0da88292018-08-13 06:10:27 +0000118# Resource Limit flavor -By Default using small
119flavor: small
120# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000121resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000122 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000123 limits:
124 memory: 4Gi
125 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000126 requests:
127 memory: 1Gi
128 cpu: 500m
129 large:
130 limits:
131 memory: 8Gi
132 cpu: 4000m
133 requests:
134 memory: 2Gi
135 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000136 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000137livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100138 path: /manage/health
139 port: 8085
140 scheme: HTTP
141 initialDelaySeconds: 600
142 periodSeconds: 60
143 timeoutSeconds: 10
144 successThreshold: 1
145 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000146ingress:
147 enabled: false
148nodeSelector: {}
149tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500150affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200151
152#Pods Service Account
153serviceAccount:
154 nameOverride: so-sdc-controller
155 roles:
156 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000157
158#Logs configuration
159log:
160 path: /var/log/onap
161logConfigMapNamePrefix: '{{ include "common.fullname" . }}'