blob: 92a262b9297d9f1ced2e1670b8c8c3c0040aef46 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
jmacc4f04d32018-10-12 18:24:24 +000022 persistence:
23 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020024 #This configuration specifies Service and port for SDNC OAM interface
25 sdncOamService: sdnc-oam
26 sdncOamPort: 8282
jmacc4f04d32018-10-12 18:24:24 +000027
28#################################################################
Krzysztof Opasiak57431412020-03-24 23:18:49 +010029# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: db-user-creds
33 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010034 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010035 login: '{{ .Values.db.userName }}'
36 password: '{{ .Values.db.userPassword }}'
37 passwordPolicy: required
38 - uid: db-admin-creds
39 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010040 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010041 login: '{{ .Values.db.adminName }}'
42 password: '{{ .Values.db.adminPassword }}'
43 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010044 - uid: "so-onap-certs"
45 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
46 type: generic
47 filePaths: '{{ .Values.secretsFilePaths }}'
48
49#secretsFilePaths: |
50# - 'my file 1'
51# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010052
53#################################################################
jmacc4f04d32018-10-12 18:24:24 +000054# Application configuration defaults.
55#################################################################
56repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053057image: onap/so/sdnc-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000058pullPolicy: Always
59
Krzysztof Opasiak57431412020-03-24 23:18:49 +010060db:
61 userName: so_user
62 userPassword: so_User123
63 # userCredsExternalSecret: some secret
64 adminName: so_admin
65 adminPassword: so_Admin123
66 # adminCredsExternalSecret: some secret
67
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000068replicaCount: 1
69minReadySeconds: 10
70containerPort: 8086
71logPath: ./logs/sdnc/
72app: sdnc-adapter
73service:
74 type: ClusterIP
75 internalPort: 8086
Brian Freeman1a667932018-09-06 14:45:37 -050076 externalPort: 8086
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000077 portName: so-sdnc-port
78updateStrategy:
79 type: RollingUpdate
80 maxUnavailable: 1
81 maxSurge: 1
vaibhav16dec0da88292018-08-13 06:10:27 +000082# Resource Limit flavor -By Default using small
83flavor: small
84# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000085resources:
vaibhav16dec0da88292018-08-13 06:10:27 +000086 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000087 limits:
88 memory: 4Gi
89 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +000090 requests:
91 memory: 1Gi
92 cpu: 500m
93 large:
94 limits:
95 memory: 8Gi
96 cpu: 4000m
97 requests:
98 memory: 2Gi
99 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000100 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000101livenessProbe:
102 path: /manage/health
103 port: 8086
104 scheme: HTTP
105 initialDelaySeconds: 600
106 periodSeconds: 60
107 timeoutSeconds: 10
108 successThreshold: 1
109 failureThreshold: 3
110ingress:
111 enabled: false
112nodeSelector: {}
113tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500114affinity: {}