Merge "[POMBA] Disable pomba in "onap-all""
[oom.git] / kubernetes / appc / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   centralizedLoggingEnabled: false
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   # envsusbt
27   envsubstImage: dibi/envsubst
28   persistence:
29     mountPath: /dockerdata-nfs
30
31 #################################################################
32 # Secrets metaconfig
33 #################################################################
34 secrets:
35   - uid: "db-root-pass"
36     name: '{{ include "common.release" . }}-appc-db-root-pass'
37     externalSecret: '{{ .Values.config.dbRootPassExternalSecret }}'
38     type: password
39     password: '{{ .Values.config.dbRootPass }}'
40   - uid: 'appcdb-user-creds'
41     name: '{{ include "common.release" . }}-appcdb-user-creds'
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.config.appcdb.userCredentialsExternalSecret) . }}'
44     login: '{{ .Values.config.appcdb.userName }}'
45     password: '{{ .Values.config.appcdb.password }}'
46   - uid: 'sdncdb-user-creds'
47     name: '{{ include "common.release" . }}-sdncdb-user-creds'
48     type: basicAuth
49     externalSecret: '{{ tpl (default "" .Values.config.sdncdb.userCredentialsExternalSecret) . }}'
50     login: '{{ .Values.config.sdncdb.userName }}'
51     password: '{{ .Values.config.sdncdb.password }}'
52
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57 flavor: small
58 # application image
59 repository: nexus3.onap.org:10001
60 image: onap/appc-image:1.7.1
61 pullPolicy: Always
62
63 # flag to enable debugging - application support required
64 debugEnabled: false
65
66 # log configuration
67 log:
68   path: /var/log/onap
69
70 # application configuration
71 config:
72 #  dbRootPassExternalSecret: some secret
73 #  dbRootPass: password
74   appcdb:
75     # Warning: changing this config option may not work.
76     # It seems that the DB name is hardcoded.
77     dbName: appcctl
78     userName: appcctl
79     password: appcctl
80     # userCredsExternalSecret: some secret
81   sdncdb:
82     # Warning: changing this config option may not work.
83     # It seems that the DB name is hardcoded.
84     dbName: sdnctl
85     userName: sdnctl
86     password: gamma
87     # userCredsExternalSecret: some secret
88   odlUid: 100
89   odlGid: 101
90   ansibleServiceName: appc-ansible-server
91   ansiblePort: 8000
92   mariadbGaleraSVCName: appc-dbhost
93   mariadbGaleraContName: appc-db
94   enableAAF: true
95   enableClustering: false
96   configDir: /opt/onap/appc/data/properties
97   dmaapTopic: SUCCESS
98   dmaapTopicEnv: AUTO
99   logstashServiceName: log-ls
100   logstashPort: 5044
101   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
102   openStackType: OpenStackProvider
103   openStackName: OpenStack
104   openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
105   openStackServiceTenantName: default
106   openStackDomain: default
107   openStackUserName: admin
108   openStackEncryptedPassword: enc:LDEbHEAvTF1R
109   odlUser: admin
110   dmaapServiceUrl: http://localhost:8080/publish
111   dmaapServiceUser: appc
112   dmaapServicePassword: onapappc
113
114 appc-ansible-server:
115   service:
116     name: appc-ansible-server
117     internalPort: 8000
118   config:
119     mysqlServiceName: appc-dbhost
120
121 mariadb-galera:
122   nameOverride: appc-db
123   config:
124     mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
125   service:
126     name: appc-dbhost
127     portName: appc-dbhost
128   nfsprovisionerPrefix: appc
129   sdnctlPrefix: appc
130   persistence:
131     mountSubPath: appc/data
132     enabled: true
133   disableNfsProvisioner: true
134
135 dgbuilder:
136   nameOverride: appc-dgbuilder
137   config:
138     db:
139       rootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass'
140       userCredentialsExternalSecret: '{{ include "common.release" . }}-sdncdb-user-creds'
141     dbPodName: appc-db
142     dbServiceName: appc-dbhost
143   service:
144     name: appc-dgbuilder
145
146 #passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
147 appc-cdt:
148   nodePort3: 11
149 # default number of instances
150 replicaCount: 1
151
152 nodeSelector: {}
153
154 affinity: {}
155
156 # probe configuration parameters
157 liveness:
158   initialDelaySeconds: 300
159   periodSeconds: 60
160   # necessary to disable liveness probe when setting breakpoints
161   # in debugger so K8s doesn't restart unresponsive container
162   enabled: true
163
164 readiness:
165   initialDelaySeconds: 300
166   periodSeconds: 60
167
168 service:
169   type: NodePort
170   name: appc
171   portName: appc
172
173   internalPort: 8443
174   externalPort: 8443
175   nodePort: 30
176
177   externalPort2: 1830
178   nodePort2: 31
179   clusterPort: 2550
180
181   internalPort3: 9191
182   externalPort3: 9090
183   nodePort3: 11
184
185 ## Persist data to a persitent volume
186 persistence:
187   enabled: true
188
189   ## A manually managed Persistent Volume and Claim
190   ## Requires persistence.enabled: true
191   ## If defined, PVC must be created manually before volume will be bound
192   # existingClaim:
193   volumeReclaimPolicy: Retain
194
195   ## database data Persistent Volume Storage Class
196   ## If defined, storageClassName: <storageClass>
197   ## If set to "-", storageClassName: "", which disables dynamic provisioning
198   ## If undefined (the default) or set to null, no storageClassName spec is
199   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
200   ##   GKE, AWS & OpenStack)
201   accessMode: ReadWriteOnce
202   size: 1Gi
203   mountPath: /dockerdata-nfs
204   mountSubPath: appc/mdsal
205   mdsalPath: /opt/opendaylight/current/daexim
206
207 ingress:
208   enabled: false
209   service:
210     - baseaddr: appc
211       name: "appc"
212       port: 8443
213   config:
214     ssl: "redirect"
215
216 # Configure resource requests and limits
217 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
218 resources:
219   small:
220     limits:
221       cpu: 2
222       memory: 4Gi
223     requests:
224       cpu: 1
225       memory: 2Gi
226   large:
227     limits:
228       cpu: 4
229       memory: 8Gi
230     requests:
231       cpu: 2
232       memory: 4Gi
233   unlimited: {}