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