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