blob: a1f637b199b4984d37720e5c3c08b01be0a68b10 [file] [log] [blame]
vaibhavjayasea9aee02018-08-31 06:22:26 +00001# Copyright © 2018 AT&T, 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
Mike Elliott13fed112018-02-28 08:33:33 -050015# Global configuration default values that can be inherited by
16# all subcharts.
17#################################################################
18global:
19 # Change to an unused port prefix range to prevent port conflicts
20 # with other instances running within the same k8s cluster
21 nodePortPrefix: 302
22
23 # image repositories
24 repository: nexus3.onap.org:10001
Mike Elliott13fed112018-02-28 08:33:33 -050025
26 # readiness check
27 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000028 readinessImage: readiness-check:2.0.0
Mike Elliott13fed112018-02-28 08:33:33 -050029
30 # logging agent
31 loggingRepository: docker.elastic.co
32 loggingImage: beats/filebeat:5.5.0
33
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010034 # envsusbt
35 envsubstImage: dibi/envsubst
36
Mike Elliott13fed112018-02-28 08:33:33 -050037 # image pull policy
38 pullPolicy: Always
39
40 # default mount path root directory referenced
41 # by persistent volumes and log files
42 persistence:
43 mountPath: /dockerdata-nfs
44
45 # flag to enable debugging - application support required
46 debugEnabled: true
jmac4f76af42018-03-28 20:36:47 +000047
Mike Elliott13fed112018-02-28 08:33:33 -050048#################################################################
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010049# Secrets metaconfig
50#################################################################
51secrets:
52 - uid: 'db-root-password'
53 type: password
54 externalSecret: '{{ tpl (default "" .Values.config.db.rootPasswordExternalSecret) . }}'
Krzysztof Opasiak67b5d862020-04-24 20:41:24 +020055 password: '{{ .Values.config.db.rootPassword }}'
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010056 - uid: 'db-user-creds'
57 type: basicAuth
58 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
59 login: '{{ .Values.config.db.userName }}'
Krzysztof Opasiak67b5d862020-04-24 20:41:24 +020060 password: '{{ .Values.config.db.userPassword }}'
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010061 - uid: 'http-user-creds'
62 type: basicAuth
63 externalSecret: '{{ tpl (default "" .Values.config.httpCredsExternalSecret) . }}'
64 login: '{{ .Values.config.httpUser }}'
65 password: '{{ .Values.config.dgUserPassword }}'
66 - uid: 'admin-creds'
67 type: basicAuth
68 externalSecret: '{{ tpl (default "" .Values.config.adminCredsExternalSecret) . }}'
69 login: '{{ .Values.config.adminUser }}'
70 password: '{{ .Values.config.dgUserPassword }}'
71 - uid: 'node-creds'
72 type: basicAuth
73 externalSecret: '{{ tpl (default "" .Values.config.nodeCredsExternalSecret) . }}'
74 login: '{{ .Values.config.nodeUser }}'
75 password: '{{ .Values.config.dgUserPassword }}'
76 - uid: 'restconf-creds'
77 type: basicAuth
78 externalSecret: '{{ tpl (default "" .Values.config.restconfCredsExternalSecret) . }}'
79 login: '{{ .Values.config.restconfUser }}'
80 password: '{{ .Values.config.restconfPassword }}'
81
82#################################################################
Mike Elliott13fed112018-02-28 08:33:33 -050083# Application configuration defaults.
84#################################################################
85# application image
86repository: nexus3.onap.org:10001
Dan Timoney830b85f2020-05-27 16:00:05 -040087image: onap/ccsdk-dgbuilder-image:0.7.4
Mike Elliott13fed112018-02-28 08:33:33 -050088pullPolicy: Always
89
90# flag to enable debugging - application support required
91debugEnabled: false
92
93# application configuration
94config:
Krzysztof Opasiakacdd90c2020-02-17 22:05:51 +010095 db:
96 dbName: sdnctl
97 # unused for now to preserve the API
98 rootPassword: openECOMP1.0
99 # rootPasswordExternalSecret: some secret
100 userName: sdnctl
101 # unused for now to preserve the API
102 userPassword: gamma
103 # userCredentialsExternalSecret: some secret
104 httpUser: dguser
105 # unused for now to preserve the API
106 httpPassword: cc03e747a6afbbcbf8be7668acfebee5
107 # httpCredsExternalSecret: some secret
108 adminUser: dguser
109 # unused for now to preserve the API
110 adminPassword: cc03e747a6afbbcbf8be7668acfebee5
111 # adminCredsExternalSecret: some secret
112 nodeUser: dguser
113 # unused for now to preserve the API
114 nodePassword: cc03e747a6afbbcbf8be7668acfebee5
115 # nodeCredsExternalSecret: some secret
116 restconfUser: admin
117 # unused for now to preserve the API
118 restconfPassword: admin
119 # restconfCredsExternalSecret: some secret
120
jmac4f76af42018-03-28 20:36:47 +0000121 dbPodName: mysql-db
122 dbServiceName: sdnc-dbhost
jmac70863e12018-05-16 14:53:03 +0000123 # MD5 hash of dguser password ( default: test123 )
124 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Mike Elliott13fed112018-02-28 08:33:33 -0500125
126# default number of instances
127replicaCount: 1
128
129nodeSelector: {}
130
131affinity: {}
132
133# probe configuration parameters
134liveness:
135 initialDelaySeconds: 10
136 periodSeconds: 10
137 # necessary to disable liveness probe when setting breakpoints
138 # in debugger so K8s doesn't restart unresponsive container
139 enabled: true
140
141readiness:
142 initialDelaySeconds: 10
143 periodSeconds: 10
144
145service:
146 type: NodePort
147 name: dgbuilder
BorislavG1ffbd992018-04-24 07:56:27 +0000148 portName: dgbuilder
Mike Elliott13fed112018-02-28 08:33:33 -0500149 externalPort: 3000
150 internalPort: 3100
151 nodePort: 28
152
153ingress:
154 enabled: false
Sylvain Desbureauxe54644e2020-05-04 11:45:16 +0200155 service:
156 - baseaddr: "dgbuilder"
157 name: "dgbuilder"
158 port: 3000
159 config:
160 ssl: "redirect"
Mike Elliott13fed112018-02-28 08:33:33 -0500161
162resources: {}
163 # We usually recommend not to specify default resources and to leave this as a conscious
164 # choice for the user. This also increases chances charts run on environments with little
165 # resources, such as Minikube. If you do want to specify resources, uncomment the following
166 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
167 #
168 # Example:
169 # Configure resource requests and limits
170 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
171 # Minimum memory for development is 2 CPU cores and 4GB memory
172 # Minimum memory for production is 4 CPU cores and 8GB memory
173#resources:
174# limits:
175# cpu: 2
176# memory: 4Gi
177# requests:
178# cpu: 2
179# memory: 4Gi