blob: a38e256615580acbd2363117914b33ee8ce6ba38 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
2#
3# 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
21 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000022 readinessImage: readiness-check:2.0.2
jmacc4f04d32018-10-12 18:24:24 +000023 persistence:
24 mountPath: /dockerdata-nfs
25
26#################################################################
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010027# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: db-user-creds
31 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010032 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010033 login: '{{ .Values.db.userName }}'
34 password: '{{ .Values.db.userPassword }}'
35 passwordPolicy: required
36 - uid: db-admin-creds
37 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010038 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010039 login: '{{ .Values.db.adminName }}'
40 password: '{{ .Values.db.adminPassword }}'
41 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010042 - uid: "so-onap-certs"
43 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
44 type: generic
45 filePaths: '{{ .Values.secretsFilePaths }}'
46
47#secretsFilePaths: |
48# - 'my file 1'
49# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010050
51#################################################################
jmacc4f04d32018-10-12 18:24:24 +000052# Application configuration defaults.
53#################################################################
54repository: nexus3.onap.org:10001
seshukm8325af52020-03-27 22:20:41 +053055image: onap/so/sdc-controller:1.6.0
jmacc4f04d32018-10-12 18:24:24 +000056pullPolicy: Always
57
Krzysztof Opasiakc34ed602020-03-24 23:10:53 +010058db:
59 userName: so_user
60 userPassword: so_User123
61 # userCredsExternalSecret: some secret
62 adminName: so_admin
63 adminPassword: so_Admin123
64 # adminCredsExternalSecret: some secret
65
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000066replicaCount: 1
67minReadySeconds: 10
68containerPort: 8085
69logPath: ./logs/sdc/
70app: sdc-controller
71service:
72 type: ClusterIP
73 internalPort: 8085
Brian Freeman1a667932018-09-06 14:45:37 -050074 externalPort: 8085
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000075 portName: so-sdc-port
76updateStrategy:
77 type: RollingUpdate
78 maxUnavailable: 1
79 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000080# Resource Limit flavor -By Default using small
81flavor: small
82# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000083resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000084 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000085 limits:
86 memory: 4Gi
87 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000088 requests:
89 memory: 1Gi
90 cpu: 500m
91 large:
92 limits:
93 memory: 8Gi
94 cpu: 4000m
95 requests:
96 memory: 2Gi
97 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +000098 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000099livenessProbe:
100 path: /manage/health
101 port: 8085
102 scheme: HTTP
103 initialDelaySeconds: 600
104 periodSeconds: 60
105 timeoutSeconds: 10
106 successThreshold: 1
107 failureThreshold: 3
108ingress:
109 enabled: false
110nodeSelector: {}
111tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500112affinity: {}