blob: 96d7dffb0a7dff0a87085d93a1e019addad4584e [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) . }}'
55 password: '{{ .Values.config.dbRootPassword }}'
56 - uid: 'db-user-creds'
57 type: basicAuth
58 externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
59 login: '{{ .Values.config.db.userName }}'
60 password: '{{ .Values.config.dbSdnctlPassword }}'
61 - 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
Timoney, Dan (dt5972)7932c8e2019-09-27 10:38:22 -040087image: onap/ccsdk-dgbuilder-image:0.6.3
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
Mike Elliott13fed112018-02-28 08:33:33 -0500121 dbRootPassword: openECOMP1.0
jmac70863e12018-05-16 14:53:03 +0000122 dbSdnctlPassword: gamma
jmac4f76af42018-03-28 20:36:47 +0000123 dbPodName: mysql-db
124 dbServiceName: sdnc-dbhost
jmac70863e12018-05-16 14:53:03 +0000125 # MD5 hash of dguser password ( default: test123 )
126 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
Mike Elliott13fed112018-02-28 08:33:33 -0500127
128# default number of instances
129replicaCount: 1
130
131nodeSelector: {}
132
133affinity: {}
134
135# probe configuration parameters
136liveness:
137 initialDelaySeconds: 10
138 periodSeconds: 10
139 # necessary to disable liveness probe when setting breakpoints
140 # in debugger so K8s doesn't restart unresponsive container
141 enabled: true
142
143readiness:
144 initialDelaySeconds: 10
145 periodSeconds: 10
146
147service:
148 type: NodePort
149 name: dgbuilder
BorislavG1ffbd992018-04-24 07:56:27 +0000150 portName: dgbuilder
Mike Elliott13fed112018-02-28 08:33:33 -0500151 externalPort: 3000
152 internalPort: 3100
153 nodePort: 28
154
155ingress:
156 enabled: false
157
158resources: {}
159 # We usually recommend not to specify default resources and to leave this as a conscious
160 # choice for the user. This also increases chances charts run on environments with little
161 # resources, such as Minikube. If you do want to specify resources, uncomment the following
162 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
163 #
164 # Example:
165 # Configure resource requests and limits
166 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
167 # Minimum memory for development is 2 CPU cores and 4GB memory
168 # Minimum memory for production is 4 CPU cores and 8GB memory
169#resources:
170# limits:
171# cpu: 2
172# memory: 4Gi
173# requests:
174# cpu: 2
175# memory: 4Gi