a1f637b199b4984d37720e5c3c08b01be0a68b10
[oom.git] / kubernetes / common / dgbuilder / values.yaml
1 # 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
15 # Global configuration default values that can be inherited by
16 # all subcharts.
17 #################################################################
18 global:
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
25
26   # readiness check
27   readinessRepository: oomk8s
28   readinessImage: readiness-check:2.0.0
29
30   # logging agent
31   loggingRepository: docker.elastic.co
32   loggingImage: beats/filebeat:5.5.0
33
34   # envsusbt
35   envsubstImage: dibi/envsubst
36
37   # 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
47
48 #################################################################
49 # Secrets metaconfig
50 #################################################################
51 secrets:
52   - uid: 'db-root-password'
53     type: password
54     externalSecret: '{{ tpl (default "" .Values.config.db.rootPasswordExternalSecret) . }}'
55     password: '{{ .Values.config.db.rootPassword }}'
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.db.userPassword }}'
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 #################################################################
83 # Application configuration defaults.
84 #################################################################
85 # application image
86 repository: nexus3.onap.org:10001
87 image: onap/ccsdk-dgbuilder-image:0.7.4
88 pullPolicy: Always
89
90 # flag to enable debugging - application support required
91 debugEnabled: false
92
93 # application configuration
94 config:
95   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
121   dbPodName: mysql-db
122   dbServiceName: sdnc-dbhost
123   # MD5 hash of dguser password ( default: test123 )
124   dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
125
126 # default number of instances
127 replicaCount: 1
128
129 nodeSelector: {}
130
131 affinity: {}
132
133 # probe configuration parameters
134 liveness:
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
141 readiness:
142   initialDelaySeconds: 10
143   periodSeconds: 10
144
145 service:
146   type: NodePort
147   name: dgbuilder
148   portName: dgbuilder
149   externalPort: 3000
150   internalPort: 3100
151   nodePort: 28
152
153 ingress:
154   enabled: false
155   service:
156     - baseaddr: "dgbuilder"
157       name: "dgbuilder"
158       port: 3000
159   config:
160     ssl: "redirect"
161
162 resources: {}
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