[GENERAL] Use readiness container v3.0.1
[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   readinessImage: onap/oom/readiness:3.0.1
28
29   # logging agent
30   loggingRepository: docker.elastic.co
31   loggingImage: beats/filebeat:5.5.0
32
33   # envsusbt
34   envsubstImage: dibi/envsubst
35
36   # image pull policy
37   pullPolicy: Always
38
39   # default mount path root directory referenced
40   # by persistent volumes and log files
41   persistence:
42     mountPath: /dockerdata-nfs
43
44   # flag to enable debugging - application support required
45   debugEnabled: true
46
47 #################################################################
48 # Secrets metaconfig
49 #################################################################
50 secrets:
51   - uid: 'db-root-password'
52     type: password
53     externalSecret: '{{ tpl (default "" .Values.config.db.rootPasswordExternalSecret) . }}'
54     password: '{{ .Values.config.db.rootPassword }}'
55   - uid: 'db-user-creds'
56     type: basicAuth
57     externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}'
58     login: '{{ .Values.config.db.userName }}'
59     password: '{{ .Values.config.db.userPassword }}'
60   - uid: 'http-user-creds'
61     type: basicAuth
62     externalSecret: '{{ tpl (default "" .Values.config.httpCredsExternalSecret) . }}'
63     login: '{{ .Values.config.httpUser }}'
64     password: '{{ .Values.config.dgUserPassword }}'
65   - uid: 'admin-creds'
66     type: basicAuth
67     externalSecret: '{{ tpl (default "" .Values.config.adminCredsExternalSecret) . }}'
68     login: '{{ .Values.config.adminUser }}'
69     password: '{{ .Values.config.dgUserPassword }}'
70   - uid: 'node-creds'
71     type: basicAuth
72     externalSecret: '{{ tpl (default "" .Values.config.nodeCredsExternalSecret) . }}'
73     login: '{{ .Values.config.nodeUser }}'
74     password: '{{ .Values.config.dgUserPassword }}'
75   - uid: 'restconf-creds'
76     type: basicAuth
77     externalSecret: '{{ tpl (default "" .Values.config.restconfCredsExternalSecret) . }}'
78     login: '{{ .Values.config.restconfUser }}'
79     password: '{{ .Values.config.restconfPassword }}'
80
81 #################################################################
82 # Application configuration defaults.
83 #################################################################
84 # application image
85 repository: nexus3.onap.org:10001
86 image: onap/ccsdk-dgbuilder-image:0.7.4
87 pullPolicy: Always
88
89 # flag to enable debugging - application support required
90 debugEnabled: false
91
92 # application configuration
93 config:
94   db:
95     dbName: sdnctl
96     # unused for now to preserve the API
97     rootPassword: openECOMP1.0
98     # rootPasswordExternalSecret: some secret
99     userName: sdnctl
100     # unused for now to preserve the API
101     userPassword: gamma
102     # userCredentialsExternalSecret: some secret
103   httpUser: dguser
104   # unused for now to preserve the API
105   httpPassword: cc03e747a6afbbcbf8be7668acfebee5
106   # httpCredsExternalSecret: some secret
107   adminUser: dguser
108   # unused for now to preserve the API
109   adminPassword: cc03e747a6afbbcbf8be7668acfebee5
110   # adminCredsExternalSecret: some secret
111   nodeUser: dguser
112   # unused for now to preserve the API
113   nodePassword: cc03e747a6afbbcbf8be7668acfebee5
114   # nodeCredsExternalSecret: some secret
115   restconfUser: admin
116   # unused for now to preserve the API
117   restconfPassword: admin
118   # restconfCredsExternalSecret: some secret
119
120   dbPodName: mysql-db
121   dbServiceName: sdnc-dbhost
122   # MD5 hash of dguser password ( default: test123 )
123   dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
124
125 # default number of instances
126 replicaCount: 1
127
128 nodeSelector: {}
129
130 affinity: {}
131
132 # probe configuration parameters
133 liveness:
134   initialDelaySeconds: 10
135   periodSeconds: 10
136   # necessary to disable liveness probe when setting breakpoints
137   # in debugger so K8s doesn't restart unresponsive container
138   enabled: true
139
140 readiness:
141   initialDelaySeconds: 10
142   periodSeconds: 10
143
144 service:
145   type: NodePort
146   name: dgbuilder
147   portName: dgbuilder
148   externalPort: 3000
149   internalPort: 3100
150   nodePort: 28
151
152 ingress:
153   enabled: false
154   service:
155     - baseaddr: "dgbuilder"
156       name: "dgbuilder"
157       port: 3000
158   config:
159     ssl: "redirect"
160
161 resources: {}
162   # We usually recommend not to specify default resources and to leave this as a conscious
163   # choice for the user. This also increases chances charts run on environments with little
164   # resources, such as Minikube. If you do want to specify resources, uncomment the following
165   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
166   #
167   # Example:
168   # Configure resource requests and limits
169   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
170   # Minimum memory for development is 2 CPU cores and 4GB memory
171   # Minimum memory for production is 4 CPU cores and 8GB memory
172 #resources:
173 #  limits:
174 #    cpu: 2
175 #    memory: 4Gi
176 #  requests:
177 #    cpu: 2
178 #    memory: 4Gi