blob: 63a641c3597cd966e23c9239827e2a66be8ce755 [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
seshukm0df1f8e2020-08-17 21:45:49 +053022 security:
23 aaf:
24 enabled: false
25 aaf:
26 auth:
27 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053028 mariadbGalera:
29 serviceName: mariadb-galera
30 servicePort: '3306'
efiacor8d3ff802022-11-23 12:13:26 +000031 soSdcListenerKafkaUser: so-sdc-list-user
jmacc4f04d32018-10-12 18:24:24 +000032
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010033readinessCheck:
34 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053035 jobs:
36 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010037
jmacc4f04d32018-10-12 18:24:24 +000038#################################################################
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010039# Secrets metaconfig
40#################################################################
41secrets:
42 - uid: db-user-creds
43 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010044 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010045 login: '{{ .Values.db.userName }}'
46 password: '{{ .Values.db.userPassword }}'
47 passwordPolicy: required
48 - uid: db-admin-creds
49 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010050 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010051 login: '{{ .Values.db.adminName }}'
52 password: '{{ .Values.db.adminPassword }}'
53 passwordPolicy: required
efiacor8d3ff802022-11-23 12:13:26 +000054 - uid: so-sdc-kafka-secret
55 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
56 type: genericKV
57 envs:
58 - name: sasl.jaas.config
59 value: '{{ .Values.config.someConfig }}'
60 policy: generate
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010061
62#secretsFilePaths: |
63# - 'my file 1'
64# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010065
66#################################################################
jmacc4f04d32018-10-12 18:24:24 +000067# Application configuration defaults.
68#################################################################
efiacor8d3ff802022-11-23 12:13:26 +000069image: onap/so/sdc-controller:1.12.0
jmacc4f04d32018-10-12 18:24:24 +000070pullPolicy: Always
71
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010072db:
73 userName: so_user
74 userPassword: so_User123
75 # userCredsExternalSecret: some secret
76 adminName: so_admin
77 adminPassword: so_Admin123
78 # adminCredsExternalSecret: some secret
79
seshukm0df1f8e2020-08-17 21:45:49 +053080aai:
81 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
82mso:
83 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
84 requestDb:
85 auth: Basic YnBlbDpwYXNzd29yZDEk
86 asdc:
87 config:
88 key: 566B754875657232314F5548556D3665
89 asdc-connections:
90 asdc-controller1:
91 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
efiacor8d3ff802022-11-23 12:13:26 +000092config:
93 someConfig: blah
94 kafka:
95 securityProtocol: SASL_PLAINTEXT
96 saslMechanism: SCRAM-SHA-512
97 authType: simple
98 sdcTopic:
99 pattern: SDC-DIST
100 consumerGroup: so
101 clientId: SO-sdc-controller
seshukm0df1f8e2020-08-17 21:45:49 +0530102
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000103replicaCount: 1
104minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530105containerPort: &containerPort 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000106logPath: ./logs/sdc/
107app: sdc-controller
108service:
109 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +0530110 internalPort: *containerPort
111 externalPort: *containerPort
Andreas Geissler17be9622022-04-29 13:33:02 +0200112 portName: http
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000113updateStrategy:
114 type: RollingUpdate
115 maxUnavailable: 1
116 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530117
118#################################################################
119# soHelpers part
120#################################################################
121soHelpers:
122 nameOverride: so-sdc-cert-init
123 certInitializer:
124 nameOverride: so-sdc-cert-init
125 credsPath: /opt/app/osaaf/local
126 cadi:
127 apiEnforcement: org.onap.so.sdcControllerPerm
128 containerPort: *containerPort
129
vaibhav16dec0da88292018-08-13 06:10:27 +0000130# Resource Limit flavor -By Default using small
131flavor: small
132# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000133resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000134 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000135 limits:
136 memory: 4Gi
137 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000138 requests:
139 memory: 1Gi
140 cpu: 500m
141 large:
142 limits:
143 memory: 8Gi
144 cpu: 4000m
145 requests:
146 memory: 2Gi
147 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000148 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000149livenessProbe:
150 path: /manage/health
151 port: 8085
152 scheme: HTTP
153 initialDelaySeconds: 600
154 periodSeconds: 60
155 timeoutSeconds: 10
156 successThreshold: 1
157 failureThreshold: 3
158ingress:
159 enabled: false
160nodeSelector: {}
161tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500162affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200163
164#Pods Service Account
165serviceAccount:
166 nameOverride: so-sdc-controller
167 roles:
168 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000169
170#Logs configuration
171log:
172 path: /var/log/onap
173logConfigMapNamePrefix: '{{ include "common.fullname" . }}'