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