blob: af7535583c2f860142073247cce7cb2e18ef3869 [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
36#################################################################
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#################################################################
60repository: nexus3.onap.org:10001
seshukm4c285fc2020-10-16 15:45:14 +053061image: onap/so/sdc-controller:1.7.9
jmacc4f04d32018-10-12 18:24:24 +000062pullPolicy: Always
63
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010064db:
65 userName: so_user
66 userPassword: so_User123
67 # userCredsExternalSecret: some secret
68 adminName: so_admin
69 adminPassword: so_Admin123
70 # adminCredsExternalSecret: some secret
71
seshukm0df1f8e2020-08-17 21:45:49 +053072aai:
73 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
74mso:
75 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
76 requestDb:
77 auth: Basic YnBlbDpwYXNzd29yZDEk
78 asdc:
79 config:
80 key: 566B754875657232314F5548556D3665
81 asdc-connections:
82 asdc-controller1:
83 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
84
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000085replicaCount: 1
86minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053087containerPort: &containerPort 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000088logPath: ./logs/sdc/
89app: sdc-controller
90service:
91 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053092 internalPort: *containerPort
93 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000094 portName: so-sdc-port
95updateStrategy:
96 type: RollingUpdate
97 maxUnavailable: 1
98 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053099
100#################################################################
101# soHelpers part
102#################################################################
103soHelpers:
104 nameOverride: so-sdc-cert-init
105 certInitializer:
106 nameOverride: so-sdc-cert-init
107 credsPath: /opt/app/osaaf/local
108 cadi:
109 apiEnforcement: org.onap.so.sdcControllerPerm
110 containerPort: *containerPort
111
vaibhav16dec0da88292018-08-13 06:10:27 +0000112# Resource Limit flavor -By Default using small
113flavor: small
114# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000115resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000116 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000117 limits:
118 memory: 4Gi
119 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000120 requests:
121 memory: 1Gi
122 cpu: 500m
123 large:
124 limits:
125 memory: 8Gi
126 cpu: 4000m
127 requests:
128 memory: 2Gi
129 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000130 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000131livenessProbe:
132 path: /manage/health
133 port: 8085
134 scheme: HTTP
135 initialDelaySeconds: 600
136 periodSeconds: 60
137 timeoutSeconds: 10
138 successThreshold: 1
139 failureThreshold: 3
140ingress:
141 enabled: false
142nodeSelector: {}
143tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500144affinity: {}