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