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