blob: 637f86ddaa768abb1959d65cee28907967f7b369 [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
20 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
seshukm0df1f8e2020-08-17 21:45:49 +053022 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 envsubstImage: dibi/envsubst
jmacc4f04d32018-10-12 18:24:24 +000024 persistence:
25 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053026 security:
27 aaf:
28 enabled: false
29 aaf:
30 auth:
31 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053032 mariadbGalera:
33 serviceName: mariadb-galera
34 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000035
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010036readinessCheck:
37 wait_for:
38 - so-mariadb-config
39
jmacc4f04d32018-10-12 18:24:24 +000040#################################################################
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010041# Secrets metaconfig
42#################################################################
43secrets:
44 - uid: db-user-creds
45 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010046 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010047 login: '{{ .Values.db.userName }}'
48 password: '{{ .Values.db.userPassword }}'
49 passwordPolicy: required
50 - uid: db-admin-creds
51 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010052 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010053 login: '{{ .Values.db.adminName }}'
54 password: '{{ .Values.db.adminPassword }}'
55 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010056
57#secretsFilePaths: |
58# - 'my file 1'
59# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010060
61#################################################################
jmacc4f04d32018-10-12 18:24:24 +000062# Application configuration defaults.
63#################################################################
64repository: nexus3.onap.org:10001
seshukm4c285fc2020-10-16 15:45:14 +053065image: onap/so/sdc-controller:1.7.9
jmacc4f04d32018-10-12 18:24:24 +000066pullPolicy: Always
67
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010068db:
69 userName: so_user
70 userPassword: so_User123
71 # userCredsExternalSecret: some secret
72 adminName: so_admin
73 adminPassword: so_Admin123
74 # adminCredsExternalSecret: some secret
75
seshukm0df1f8e2020-08-17 21:45:49 +053076aai:
77 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
78mso:
79 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
80 requestDb:
81 auth: Basic YnBlbDpwYXNzd29yZDEk
82 asdc:
83 config:
84 key: 566B754875657232314F5548556D3665
85 asdc-connections:
86 asdc-controller1:
87 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
88
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000089replicaCount: 1
90minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053091containerPort: &containerPort 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000092logPath: ./logs/sdc/
93app: sdc-controller
94service:
95 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053096 internalPort: *containerPort
97 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000098 portName: so-sdc-port
99updateStrategy:
100 type: RollingUpdate
101 maxUnavailable: 1
102 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530103
104#################################################################
105# soHelpers part
106#################################################################
107soHelpers:
108 nameOverride: so-sdc-cert-init
109 certInitializer:
110 nameOverride: so-sdc-cert-init
111 credsPath: /opt/app/osaaf/local
112 cadi:
113 apiEnforcement: org.onap.so.sdcControllerPerm
114 containerPort: *containerPort
115
vaibhav16dec0da88292018-08-13 06:10:27 +0000116# Resource Limit flavor -By Default using small
117flavor: small
118# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000119resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000120 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000121 limits:
122 memory: 4Gi
123 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000124 requests:
125 memory: 1Gi
126 cpu: 500m
127 large:
128 limits:
129 memory: 8Gi
130 cpu: 4000m
131 requests:
132 memory: 2Gi
133 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000134 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000135livenessProbe:
136 path: /manage/health
137 port: 8085
138 scheme: HTTP
139 initialDelaySeconds: 600
140 periodSeconds: 60
141 timeoutSeconds: 10
142 successThreshold: 1
143 failureThreshold: 3
144ingress:
145 enabled: false
146nodeSelector: {}
147tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500148affinity: {}