blob: ce42af00b74d9380ca03ba532018691bf2b97e52 [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
Konrad Bańka7bde1d62020-04-01 16:09:11 +020025 #This configuration specifies Service and port for SDNC OAM interface
26 sdncOamService: sdnc-oam
27 sdncOamPort: 8282
jmacc4f04d32018-10-12 18:24:24 +000028
29#################################################################
Krzysztof Opasiak57431412020-03-24 23:18:49 +010030# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: db-user-creds
34 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010035 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010036 login: '{{ .Values.db.userName }}'
37 password: '{{ .Values.db.userPassword }}'
38 passwordPolicy: required
39 - uid: db-admin-creds
40 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010041 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010042 login: '{{ .Values.db.adminName }}'
43 password: '{{ .Values.db.adminPassword }}'
44 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010045 - uid: "so-onap-certs"
46 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
47 type: generic
48 filePaths: '{{ .Values.secretsFilePaths }}'
49
50#secretsFilePaths: |
51# - 'my file 1'
52# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010053
54#################################################################
jmacc4f04d32018-10-12 18:24:24 +000055# Application configuration defaults.
56#################################################################
57repository: nexus3.onap.org:10001
seshukme08a0062020-05-11 13:04:26 +053058image: onap/so/sdnc-adapter:1.6.1
jmacc4f04d32018-10-12 18:24:24 +000059pullPolicy: Always
60
Krzysztof Opasiak57431412020-03-24 23:18:49 +010061db:
62 userName: so_user
63 userPassword: so_User123
64 # userCredsExternalSecret: some secret
65 adminName: so_admin
66 adminPassword: so_Admin123
67 # adminCredsExternalSecret: some secret
68
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000069replicaCount: 1
70minReadySeconds: 10
71containerPort: 8086
72logPath: ./logs/sdnc/
73app: sdnc-adapter
74service:
75 type: ClusterIP
76 internalPort: 8086
Brian Freeman1a667932018-09-06 14:45:37 -050077 externalPort: 8086
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000078 portName: so-sdnc-port
79updateStrategy:
80 type: RollingUpdate
81 maxUnavailable: 1
82 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000083# Resource Limit flavor -By Default using small
84flavor: small
85# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000086resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000087 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000088 limits:
89 memory: 4Gi
90 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000091 requests:
92 memory: 1Gi
93 cpu: 500m
94 large:
95 limits:
96 memory: 8Gi
97 cpu: 4000m
98 requests:
99 memory: 2Gi
100 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000101 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000102livenessProbe:
103 path: /manage/health
104 port: 8086
105 scheme: HTTP
106 initialDelaySeconds: 600
107 periodSeconds: 60
108 timeoutSeconds: 10
109 successThreshold: 1
110 failureThreshold: 3
111ingress:
112 enabled: false
113nodeSelector: {}
114tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500115affinity: {}