Use released Frankfurt M4 images for SDNC and CCSDK
[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.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 #################################################################
83 # Application configuration defaults.
84 #################################################################
85 # application image
86 repository: nexus3.onap.org:10001
87 image: onap/ccsdk-dgbuilder-image:0.7.2
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   dbRootPassword: openECOMP1.0
122   dbSdnctlPassword: gamma
123   dbPodName: mysql-db
124   dbServiceName: sdnc-dbhost
125   # MD5 hash of dguser password ( default: test123 )
126   dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
127
128 # default number of instances
129 replicaCount: 1
130
131 nodeSelector: {}
132
133 affinity: {}
134
135 # probe configuration parameters
136 liveness:
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
143 readiness:
144   initialDelaySeconds: 10
145   periodSeconds: 10
146
147 service:
148   type: NodePort
149   name: dgbuilder
150   portName: dgbuilder
151   externalPort: 3000
152   internalPort: 3100
153   nodePort: 28
154
155 ingress:
156   enabled: false
157
158 resources: {}
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