Merge "[AAI] Uses new tpls for repos / images"
[oom.git] / kubernetes / aai / components / aai-data-router / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
2 # Modifications Copyright © 2020 Orange
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 data-router.
17 # This is a YAML-formatted file.
18 # Declare variables to be passed into your templates.
19 global: # global defaults
20   nodePortPrefix: 302
21   config:
22     schema:
23       version:
24         # Specifies which version the depth parameter is configurable
25         depth: v11
26         # Specifies from which version related link should appear
27         related:
28           link: v11
29         # Specifies from which version the app root change happened
30         app:
31           root: v11
32         # Specifies from which version the xml namespace changed
33         namespace:
34           change: v12
35         # Specifies from which version the edge label appeared in API
36         edge:
37           label: v12
38     # Keystore configuration password and filename
39     keystore:
40       filename: aai_keystore
41       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
42
43     # Truststore configuration password and filename
44     truststore:
45       filename: aai_keystore
46       passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
47
48   searchData:
49     serviceName: aai-search-data
50
51 # application image
52 image: onap/data-router:1.7.0
53 pullPolicy: Always
54 restartPolicy: Always
55 flavor: small
56 flavorOverride: small
57
58 # application configuration
59 config:
60   keyStorePassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
61   keyManagerPassword: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
62   schemaTranslatorList: config
63   schemaVersionList: "v11,v12,v13,v14,v15,v16,v17,v18,v19"
64   schemaApiDefault: "v19"
65
66
67 # default number of instances
68 replicaCount: 1
69
70 nodeSelector: {}
71
72 affinity: {}
73
74 # probe configuration parameters
75 liveness:
76   initialDelaySeconds: 300
77   periodSeconds: 10
78   # necessary to disable liveness probe when setting breakpoints
79   # in debugger so K8s doesn't restart unresponsive container
80   enabled: true
81
82 readiness:
83   initialDelaySeconds: 120
84   periodSeconds: 10
85
86 service:
87   name: aai-data-router
88   internalPort: 9502
89
90 ingress:
91   enabled: false
92
93 persistence:
94   enabled: true
95
96   ## A manually managed Persistent Volume and Claim
97   ## Requires persistence.enabled: true
98   ## If defined, PVC must be created manually before volume will be bound
99   # existingClaim:
100   volumeReclaimPolicy: Retain
101
102   ## database data Persistent Volume Storage Class
103   ## If defined, storageClassName: <storageClass>
104   ## If set to "-", storageClassName: "", which disables dynamic provisioning
105   ## If undefined (the default) or set to null, no storageClassName spec is
106   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
107   ##   GKE, AWS & OpenStack)
108   ##
109   ## storageClass: "-"
110   accessMode: ReadWriteMany
111   size: 2Gi
112   mountPath: /dockerdata-nfs
113   mountSubPath: aai/data-router/logs
114
115 resources:
116   small:
117     limits:
118       cpu: 2
119       memory: 4Gi
120     requests:
121       cpu: 0.25
122       memory: 750Mi
123   large:
124     limits:
125       cpu: 4
126       memory: 8Gi
127     requests:
128       cpu: 0.5
129       memory: 1536Mi
130   unlimited: {}
131
132 # Entity Event route configuration
133 event:
134   port:
135     dmaap: 3905
136   protocol: https
137   consumer:
138     topic: AAI-EVENT