Add graphadmin microservice to oom
[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   cassandra:
34     serviceName: aai-cassandra
35     replicas: 3
36
37   aai:
38     serviceName: aai
39   babel:
40     serviceName: aai-babel
41   champ:
42     serviceName: aai-champ
43   aaiElasticsearch:
44     serviceName: aai-elasticsearch
45   resources:
46     serviceName: aai-resources
47   sparkyBe:
48     serviceName: aai-sparky-be
49   dataRouter:
50     serviceName: aai-data-router
51   gizmo:
52     serviceName: aai-gizmo
53   modelloader:
54     serviceName: aai-modelloader
55   searchData:
56     serviceName: aai-search-data
57   traversal:
58     serviceName: aai-traversal
59   graphadmin:
60     serviceName: aai-graphadmin
61
62   initContainers:
63     enabled: true
64   # Specifies a list of jobs to be run
65   jobs:
66     # When enabled, it will create the schema based on oxm and edge rules
67     createSchema:
68       enabled: true
69     # When enabled, it will create the widget models via REST API to haproxy
70     updateQueryData:
71       enabled: true
72
73   # Common configuration for resources traversal and graphadmin
74   config:
75     # User information for the admin user in container
76     userId: 1000
77     groupId: 1000
78
79     # Specifies that the cluster connected to a dynamic
80     # cluster being spinned up by kubernetes deployment
81     cluster:
82       cassandra:
83         dynamic: true
84
85     # If cluster.cassandra.dynamic is set to false
86     # Then the following configuration should be uncommented
87     # This is if you are planning to connect to a existing
88     # Cassandra cluster instead of doing the deployment
89     #storage:
90     #  backend: cassandra
91     #  hostname: somehost1,somehost2,somehost3
92     #  connectionTimeout: 100000
93     #  cacheSize: 1000000
94     #  clusterName: someClusterName
95     #  localDataCenter: someDataCenter
96     #  keyConsistent: true
97     #  # If backend is cql or cassandra it should be keyspace name
98     #  # else backend is hbase it should be hbase table name
99     #  name: your_hbase_table_or_keyspace_name
100
101     #  # CQL driver specific properties for janusgraph
102     #  cql:
103     #    # Name of the Cassandra Cluster
104     #    cluster: someclustername
105     #    readConsistency: QUORUM
106     #    writeConsistency: QUORUM
107     #    replicationFactor: 3
108     #    localConsistencyForSysOps: true
109
110     #  # Cassandra driver specific properties for janusgraph
111     #  cassandra:
112     #    # Name of the Cassandra Cluster
113     #    cluster: someclustername
114     #    readConsistency: LOCAL_QUORUM
115     #    writeConsistency: LOCAL_QUORUM
116     #    replicationFactor: 3
117
118     # Specifies if the basic authorization is enabled
119     basic:
120       auth:
121         enabled: true
122         username: AAI
123         passwd: AAI
124
125     # Active spring profiles for the resources microservice
126     profiles:
127       active: production,dmaap,one-way-ssl
128
129     # Notification event specific properties
130     notification:
131       eventType: AAI-EVENT
132       domain: dev
133
134     # Schema specific properties that include supported versions of api
135     schema:
136       source:
137         # Specifies which folder to take a look at
138         name: onap
139       uri:
140         # Base URI Path of the application
141         base:
142           path: /aai
143       version:
144         # Current version of the REST API
145         api:
146           default: v14
147         # Specifies which version the depth parameter is configurable
148         depth: v9
149         # List of all the supported versions of the API
150         list: v8,v9,v10,v11,v12,v13,v14
151         # Specifies from which version related link should appear
152         related:
153           link: v10
154         # Specifies from which version the app root change happened
155         app:
156           root: v11
157         # Specifies from which version the xml namespace changed
158         namespace:
159           change: v12
160         # Specifies from which version the edge label appeared in API
161         edge:
162           label: v12
163
164     # Keystore configuration password and filename
165     keystore:
166       filename: aai_keystore
167       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
168
169     # Truststore configuration password and filename
170     truststore:
171       filename: aai_keystore
172       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
173
174     # Specifies a list of files to be included in auth volume
175     auth:
176       files:
177         - aai_keystore
178
179     # Specifies which clients should always default to realtime graph connection
180     realtime:
181       clients: SDNC,MSO,SO,robot-ete
182
183     # Logback debug enabled
184     logback:
185       console:
186         # If enabled, container will print all logback to standard output
187         # This will make debugging much easier but it should only be done
188         # when debugging the issue and changed back as it can affect performance
189         # since when this is enabled, it prints a lot of information to console
190         enabled: false
191
192 # application image
193 dockerhubRepository: registry.hub.docker.com
194 image: aaionap/haproxy:1.2.4
195 pullPolicy: Always
196
197 # flag to enable debugging - application support required
198 debugEnabled: false
199
200 # application configuration
201 config:
202   logstashServiceName: log-ls
203   logstashPort: 5044
204
205 # default number of instances
206 replicaCount: 1
207
208 nodeSelector: {}
209
210 affinity: {}
211
212 # probe configuration parameters
213 liveness:
214   initialDelaySeconds: 10
215   periodSeconds: 10
216   # necessary to disable liveness probe when setting breakpoints
217   # in debugger so K8s doesn't restart unresponsive container
218   enabled: true
219
220 readiness:
221   initialDelaySeconds: 10
222   periodSeconds: 10
223
224 service:
225   type: NodePort
226   portName: aai
227   externalPort: 8080
228   internalPort: 8080
229   nodePort: 32
230   portName2: aai-ssl
231   externalPort2: 8443
232   internalPort2: 8443
233   nodePort2: 33
234   # POLICY hotfix - Note this must be temporary
235   # See https://jira.onap.org/browse/POLICY-510
236   aaiServiceClusterIp:
237
238 ingress:
239   enabled: false
240
241 resources: {}
242   # We usually recommend not to specify default resources and to leave this as a conscious
243   # choice for the user. This also increases chances charts run on environments with little
244   # resources, such as Minikube. If you do want to specify resources, uncomment the following
245   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
246   #
247   # Example:
248   # Configure resource requests and limits
249   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
250   # Minimum memory for development is 2 CPU cores and 4GB memory
251   # Minimum memory for production is 4 CPU cores and 8GB memory
252 #resources:
253 #  limits:
254 #    cpu: 2
255 #    memory: 4Gi
256 #  requests:
257 #    cpu: 2
258 #    memory: 4Gi