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