Update log config to log4js format
[oom.git] / kubernetes / aai / 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 # Default values for aai.
17 # This is a YAML-formatted file.
18 # Declare variables to be passed into your templates.
19 global: # global defaults
20   nodePortPrefix: 302
21   repository: nexus3.onap.org:10001
22   dockerhubRepository: docker.io
23   busyboxImage: busybox
24
25   readinessRepository: oomk8s
26   readinessImage: readiness-check:2.0.0
27
28   loggingRepository: docker.elastic.co
29   loggingImage: beats/filebeat:5.5.0
30
31   restartPolicy: Always
32
33   installSidecarSecurity: false
34
35   fproxy:
36     name: forward-proxy
37     activeSpringProfiles: noHostVerification,cadi
38     image: onap/fproxy:2.1-STAGING-latest
39     port: 10680
40
41   rproxy:
42     name: reverse-proxy
43     activeSpringProfiles: noHostVerification,cadi
44     image: onap/rproxy:2.1-STAGING-latest
45     port: 10692
46
47   tproxyConfig:
48     name: init-tproxy-config
49     image: onap/tproxy-config:2.1-STAGING-latest
50
51   # AAF server details. Only needed if the AAF DNS does not resolve from the pod
52   aaf:
53     serverIp: 10.12.6.214
54     serverHostname: aaf.osaaf.org
55     serverPort: 30247
56
57   cassandra:
58     serviceName: aai-cassandra
59     replicas: 3
60
61   aai:
62     serviceName: aai
63   babel:
64     serviceName: aai-babel
65   champ:
66     serviceName: aai-champ
67   aaiElasticsearch:
68     serviceName: aai-elasticsearch
69   resources:
70     serviceName: aai-resources
71   sparkyBe:
72     serviceName: aai-sparky-be
73   dataRouter:
74     serviceName: aai-data-router
75   gizmo:
76     serviceName: aai-gizmo
77   modelloader:
78     serviceName: aai-modelloader
79   searchData:
80     serviceName: aai-search-data
81   traversal:
82     serviceName: aai-traversal
83   graphadmin:
84     serviceName: aai-graphadmin
85   spike:
86     serviceName: aai-spike
87
88   initContainers:
89     enabled: true
90   # Specifies a list of jobs to be run
91   jobs:
92     # When enabled, it will create the schema based on oxm and edge rules
93     createSchema:
94       enabled: true
95     # When enabled, it will create the widget models via REST API to haproxy
96     updateQueryData:
97       enabled: true
98
99   # Common configuration for resources traversal and graphadmin
100   config:
101     # User information for the admin user in container
102     userId: 1000
103     groupId: 1000
104
105     # Specifies that the cluster connected to a dynamic
106     # cluster being spinned up by kubernetes deployment
107     cluster:
108       cassandra:
109         dynamic: true
110
111     # If cluster.cassandra.dynamic is set to false
112     # Then the following configuration should be uncommented
113     # This is if you are planning to connect to a existing
114     # Cassandra cluster instead of doing the deployment
115     #storage:
116     #  backend: cassandra
117     #  hostname: somehost1,somehost2,somehost3
118     #  connectionTimeout: 100000
119     #  cacheSize: 1000000
120     #  clusterName: someClusterName
121     #  localDataCenter: someDataCenter
122     #  keyConsistent: true
123     #  # If backend is cql or cassandra it should be keyspace name
124     #  # else backend is hbase it should be hbase table name
125     #  name: your_hbase_table_or_keyspace_name
126
127     #  # CQL driver specific properties for janusgraph
128     #  cql:
129     #    # Name of the Cassandra Cluster
130     #    cluster: someclustername
131     #    readConsistency: QUORUM
132     #    writeConsistency: QUORUM
133     #    replicationFactor: 3
134     #    localConsistencyForSysOps: true
135
136     #  # Cassandra driver specific properties for janusgraph
137     #  cassandra:
138     #    # Name of the Cassandra Cluster
139     #    cluster: someclustername
140     #    readConsistency: LOCAL_QUORUM
141     #    writeConsistency: LOCAL_QUORUM
142     #    replicationFactor: 3
143
144     # Specifies if the basic authorization is enabled
145     basic:
146       auth:
147         enabled: true
148         username: AAI
149         passwd: AAI
150
151     # Active spring profiles for the resources microservice
152     profiles:
153       active: production,dmaap,aaf-auth
154
155     # Notification event specific properties
156     notification:
157       eventType: AAI-EVENT
158       domain: dev
159
160     # Schema specific properties that include supported versions of api
161     schema:
162       source:
163         # Specifies which folder to take a look at
164         name: onap
165       uri:
166         # Base URI Path of the application
167         base:
168           path: /aai
169       version:
170         # Current version of the REST API
171         api:
172           default: v14
173         # Specifies which version the depth parameter is configurable
174         depth: v9
175         # List of all the supported versions of the API
176         list: v8,v9,v10,v11,v12,v13,v14
177         # Specifies from which version related link should appear
178         related:
179           link: v10
180         # Specifies from which version the app root change happened
181         app:
182           root: v11
183         # Specifies from which version the xml namespace changed
184         namespace:
185           change: v12
186         # Specifies from which version the edge label appeared in API
187         edge:
188           label: v12
189
190     # Keystore configuration password and filename
191     keystore:
192       filename: aai_keystore
193       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
194
195     # Truststore configuration password and filename
196     truststore:
197       filename: aai_keystore
198       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
199
200     # Specifies a list of files to be included in auth volume
201     auth:
202       files:
203         - aai_keystore
204
205     # Specifies which clients should always default to realtime graph connection
206     realtime:
207       clients: SDNC,MSO,SO,robot-ete
208
209     # Logback debug enabled
210     logback:
211       console:
212         # If enabled, container will print all logback to standard output
213         # This will make debugging much easier but it should only be done
214         # when debugging the issue and changed back as it can affect performance
215         # since when this is enabled, it prints a lot of information to console
216         enabled: false
217
218 # application image
219 dockerhubRepository: registry.hub.docker.com
220 image: aaionap/haproxy:1.2.4
221 pullPolicy: Always
222
223 flavor: small
224
225 # flag to enable debugging - application support required
226 debugEnabled: false
227
228 # application configuration
229 config:
230   logstashServiceName: log-ls
231   logstashPort: 5044
232
233 # default number of instances
234 replicaCount: 1
235
236 nodeSelector: {}
237
238 affinity: {}
239
240 # probe configuration parameters
241 liveness:
242   initialDelaySeconds: 10
243   periodSeconds: 10
244   # necessary to disable liveness probe when setting breakpoints
245   # in debugger so K8s doesn't restart unresponsive container
246   enabled: true
247
248 readiness:
249   initialDelaySeconds: 10
250   periodSeconds: 10
251
252 service:
253   type: NodePort
254   portName: aai
255   externalPort: 8080
256   internalPort: 8080
257   nodePort: 32
258   portName2: aai-ssl
259   externalPort2: 8443
260   internalPort2: 8443
261   nodePort2: 33
262   # POLICY hotfix - Note this must be temporary
263   # See https://jira.onap.org/browse/POLICY-510
264   aaiServiceClusterIp:
265
266 ingress:
267   enabled: false
268
269 resources:
270   small:
271     limits:
272       cpu: 2
273       memory: 4Gi
274     requests:
275       cpu: 1
276       memory: 1Gi
277   large:
278     limits:
279       cpu: 4
280       memory: 8Gi
281     requests:
282       cpu: 2
283       memory: 2Gi
284   unlimited: {}