blob: 6dd662e9b298567ce5dfa484d7aab524849d9d85 [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'
jmacc4f04d32018-10-12 18:24:24 +000031
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032readinessCheck:
33 wait_for:
34 - so-mariadb-config
35
jmacc4f04d32018-10-12 18:24:24 +000036#################################################################
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010037# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: db-user-creds
41 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010042 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010043 login: '{{ .Values.db.userName }}'
44 password: '{{ .Values.db.userPassword }}'
45 passwordPolicy: required
46 - uid: db-admin-creds
47 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010048 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010049 login: '{{ .Values.db.adminName }}'
50 password: '{{ .Values.db.adminPassword }}'
51 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010052
53#secretsFilePaths: |
54# - 'my file 1'
55# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010056
57#################################################################
jmacc4f04d32018-10-12 18:24:24 +000058# Application configuration defaults.
59#################################################################
Kalkere Ramesh, Sharandf29b1e2020-11-13 15:51:37 -050060image: onap/so/sdc-controller:1.7.10
jmacc4f04d32018-10-12 18:24:24 +000061pullPolicy: Always
62
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010063db:
64 userName: so_user
65 userPassword: so_User123
66 # userCredsExternalSecret: some secret
67 adminName: so_admin
68 adminPassword: so_Admin123
69 # adminCredsExternalSecret: some secret
70
seshukm0df1f8e2020-08-17 21:45:49 +053071aai:
72 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
73mso:
74 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
75 requestDb:
76 auth: Basic YnBlbDpwYXNzd29yZDEk
77 asdc:
78 config:
79 key: 566B754875657232314F5548556D3665
80 asdc-connections:
81 asdc-controller1:
82 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
83
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000084replicaCount: 1
85minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053086containerPort: &containerPort 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000087logPath: ./logs/sdc/
88app: sdc-controller
89service:
90 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053091 internalPort: *containerPort
92 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000093 portName: so-sdc-port
94updateStrategy:
95 type: RollingUpdate
96 maxUnavailable: 1
97 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053098
99#################################################################
100# soHelpers part
101#################################################################
102soHelpers:
103 nameOverride: so-sdc-cert-init
104 certInitializer:
105 nameOverride: so-sdc-cert-init
106 credsPath: /opt/app/osaaf/local
107 cadi:
108 apiEnforcement: org.onap.so.sdcControllerPerm
109 containerPort: *containerPort
110
vaibhav16dec0da88292018-08-13 06:10:27 +0000111# Resource Limit flavor -By Default using small
112flavor: small
113# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000114resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000115 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000116 limits:
117 memory: 4Gi
118 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000119 requests:
120 memory: 1Gi
121 cpu: 500m
122 large:
123 limits:
124 memory: 8Gi
125 cpu: 4000m
126 requests:
127 memory: 2Gi
128 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000129 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000130livenessProbe:
131 path: /manage/health
132 port: 8085
133 scheme: HTTP
134 initialDelaySeconds: 600
135 periodSeconds: 60
136 timeoutSeconds: 10
137 successThreshold: 1
138 failureThreshold: 3
139ingress:
140 enabled: false
141nodeSelector: {}
142tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500143affinity: {}