Upgrade APPC to use common mariadb galera charts
[oom.git] / kubernetes / appc / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
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 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   persistence:
25     mountPath: /dockerdata-nfs
26
27 #################################################################
28 # Application configuration defaults.
29 #################################################################
30 # application image
31 repository: nexus3.onap.org:10001
32 image: onap/appc-image:1.4.0-SNAPSHOT-latest
33 pullPolicy: Always
34
35 # flag to enable debugging - application support required
36 debugEnabled: false
37
38 # application configuration
39 config:
40   aafExtIP: 127.0.0.1
41   aafExtFQDN: aaf-onap-beijing-test.osaaf.org
42   ansibleServiceName: appc-ansible-server
43   ansiblePort: 8000
44   mariadbRootPassword: secretpassword
45   userName: my-user
46   userPassword: my-password
47   mysqlDatabase: my-database
48   mariadbGaleraSVCName: appc-dbhost
49   mariadbGaleraContName: appc-db
50   enableAAF: false
51   enableClustering: true
52   configDir: /opt/onap/appc/data/properties
53   dmaapTopic: SUCCESS
54   logstashServiceName: log-ls
55   logstashPort: 5044
56   openStackType: OpenStackProvider
57   openStackName: OpenStack
58   openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html
59   openStackServiceTenantName: default
60   openStackDomain: default
61   openStackUserName: admin
62   openStackEncryptedPassword: admin
63
64 appc-ansible-server:
65   service:
66     name: appc-ansible-server
67     internalPort: 8000
68   config:
69     mysqlServiceName: appc-dbhost
70
71 mariadb-galera:
72   nameOverride: appc-db
73   service:
74     name: appc-dbhost
75   nfsprovisionerPrefix: appc
76   sdnctlPrefix: appc
77   persistence:
78     mountSubPath: appc/data
79     enabled: true
80   disableNfsProvisioner: true
81
82 dgbuilder:
83   nameOverride: appc-dgbuilder
84   config:
85     dbPodName: appc-db
86     dbServiceName: appc-dbhost
87   service:
88     name: appc-dgbuilder
89
90 #passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3.
91 appc-cdt:
92   nodePort3: 11
93 # default number of instances
94 replicaCount: 1
95
96 nodeSelector: {}
97
98 affinity: {}
99
100 # probe configuration parameters
101 liveness:
102   initialDelaySeconds: 10
103   periodSeconds: 10
104   # necessary to disable liveness probe when setting breakpoints
105   # in debugger so K8s doesn't restart unresponsive container
106   enabled: true
107
108 readiness:
109   initialDelaySeconds: 10
110   periodSeconds: 10
111
112 service:
113   type: NodePort
114   name: appc
115   portName: appc
116   #targetPort
117   internalPort: 8181
118   #port
119   externalPort: 8282
120   nodePort: 30
121
122   externalPort2: 1830
123   nodePort2: 31
124   clusterPort: 2550
125
126   internalPort3: 9191
127   externalPort3: 9090
128   nodePort3: 11
129
130 ## Persist data to a persitent volume
131 persistence:
132   enabled: true
133
134   ## A manually managed Persistent Volume and Claim
135   ## Requires persistence.enabled: true
136   ## If defined, PVC must be created manually before volume will be bound
137   # existingClaim:
138   volumeReclaimPolicy: Retain
139
140   ## database data Persistent Volume Storage Class
141   ## If defined, storageClassName: <storageClass>
142   ## If set to "-", storageClassName: "", which disables dynamic provisioning
143   ## If undefined (the default) or set to null, no storageClassName spec is
144   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
145   ##   GKE, AWS & OpenStack)
146   accessMode: ReadWriteOnce
147   size: 1Gi
148   mountPath: /dockerdata-nfs
149   mountSubPath: appc/mdsal
150   mdsalPath: /opt/opendaylight/current/daexim
151
152 ingress:
153   enabled: false
154
155 resources: {}
156   # We usually recommend not to specify default resources and to leave this as a conscious
157   # choice for the user. This also increases chances charts run on environments with little
158   # resources, such as Minikube. If you do want to specify resources, uncomment the following
159   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
160   #
161   # Example:
162   # Configure resource requests and limits
163   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
164   # Minimum memory for development is 2 CPU cores and 4GB memory
165   # Minimum memory for production is 4 CPU cores and 8GB memory
166 #resources:
167 #  limits:
168 #    cpu: 2
169 #    memory: 4Gi
170 #  requests:
171 #    cpu: 2
172 #    memory: 4Gi