blob: 3e0e235717dcb5170ea677882bb274d856741f48 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
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.
14
jasmineWen66f6a3b2018-04-03 17:48:41 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
20 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
jasmineWen66f6a3b2018-04-03 17:48:41 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
Krzysztof Opasiak79677d32020-05-05 01:42:23 +020024 envsubstImage: dibi/envsubst
25
26secrets:
27 - uid: pg-root-pass
28 name: &pgRootPassSecretName '{{ include "common.release" . }}-vnfsdk-pg-root-pass'
29 type: password
30 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "vnfsdk-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
31 password: '{{ .Values.postgres.config.pgRootpassword }}'
32 policy: generate
33 - uid: pg-user-creds
34 name: &pgUserCredsSecretName '{{ include "common.release" . }}-vnfsdk-pg-user-creds'
35 type: basicAuth
36 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "vnfsdk-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
37 login: '{{ .Values.postgres.config.pgUserName }}'
38 password: '{{ .Values.postgres.config.pgUserPassword }}'
39 passwordPolicy: generate
jasmineWen66f6a3b2018-04-03 17:48:41 +000040
41#################################################################
42# Application configuration defaults.
43#################################################################
44# application image
45repository: nexus3.onap.org:10001
Bogumil Zebeke56fbd12020-10-06 10:38:09 +020046image: onap/vnfsdk/refrepo:1.6.0
jasmineWenfb56f0f2018-08-29 15:55:28 +000047postgresRepository: crunchydata
48postgresImage: crunchy-postgres:centos7-10.3-1.8.2
Dusan Rozman75c07c42017-09-25 10:28:28 -040049pullPolicy: Always
jasmineWen66f6a3b2018-04-03 17:48:41 +000050
jasmineWenfb56f0f2018-08-29 15:55:28 +000051# application configuration override for postgres
52postgres:
jasmineWen04aef9a2018-04-24 15:56:27 +000053 nameOverride: vnfsdk-postgres
jasmineWenfb56f0f2018-08-29 15:55:28 +000054 service:
55 name: vnfsdk-dbset
56 name2: vnfsdk-dbpri
57 name3: vnfsdk-dbrep
58 container:
59 name:
60 primary: vnfsdk-dbpri
61 replica: vnfsdk-dbrep
62 persistence:
63 mountSubPath: vnfsdk/data
64 mountInitPath: vnfsdk
65 config:
66 pgUserName: postgres
67 pgDatabase: postgres
Krzysztof Opasiak79677d32020-05-05 01:42:23 +020068 pgUserExternalSecret: *pgUserCredsSecretName
69 pgRootPasswordExternalSecret: *pgRootPassSecretName
jasmineWen66f6a3b2018-04-03 17:48:41 +000070
71# flag to enable debugging - application support required
72debugEnabled: false
73
74nodeSelector: {}
75
76affinity: {}
77
Mandeep Khinda60d36d42018-09-24 15:15:48 +000078# Resource Limit flavor -By Default using small
vaibhav_16dec0acf5182018-09-19 04:28:55 +000079flavor: small
80# Segregation for Different environment (Small and Large)
81resources:
82 small:
83 limits:
84 cpu: 2000m
85 memory: 4Gi
86 requests:
87 cpu: 500m
88 memory: 1Gi
89 large:
90 limits:
91 cpu: 4000m
92 memory: 8Gi
93 requests:
94 cpu: 1000m
95 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +000096 unlimited: {}
vaibhav_16dec0acf5182018-09-19 04:28:55 +000097
jasmineWen66f6a3b2018-04-03 17:48:41 +000098# probe configuration parameters
99liveness:
100 initialDelaySeconds: 10
101 periodSeconds: 10
102 # necessary to disable liveness probe when setting breakpoints
103 # in debugger so K8s doesn't restart unresponsive container
104 enabled: true
105
106readiness:
107 initialDelaySeconds: 10
108 periodSeconds: 10
109
110service:
111 type: NodePort
112 name: refrepo
BorislavG1ffbd992018-04-24 07:56:27 +0000113 portName: refrepo
jasmineWen66f6a3b2018-04-03 17:48:41 +0000114 nodePort: 97
Kanagaraj Manickame470e7d2020-03-05 16:45:54 +0530115 internalPort: 8703
jasmineWen66f6a3b2018-04-03 17:48:41 +0000116
117ingress:
118 enabled: false
Lucjan Bryndza5bf25c72019-12-02 14:18:47 +0100119 service:
120 - baseaddr: "refrepo"
121 name: "refrepo"
Sylvain Desbureaux68f1beb2020-05-06 15:27:37 +0200122 port: 8703
Lucjan Bryndza5bf25c72019-12-02 14:18:47 +0100123 config:
Sylvain Desbureaux68f1beb2020-05-06 15:27:37 +0200124 ssl: "redirect"