Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / aai / components / aai-schema-service / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
2 # Modifications Copyright © 2020 Orange
3 # Modifications Copyright © 2023 Nordix Foundation
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 # Default values for resources.
18 # This is a YAML-formatted file.
19 # Declare variables to be passed into your templates.
20 global: # global defaults
21   nodePortPrefix: 302
22
23   # Common configuration for resources traversal and graphadmin
24   config:
25     # Specifies if the basic authorization is enabled
26     basic:
27       auth:
28         enabled: true
29         username: AAI
30         passwd: AAI
31
32     # Schema specific properties that include supported versions of api
33     schema:
34       source:
35         # Specifies which folder to take a look at
36         name: onap
37       uri:
38         # Base URI Path of the application
39         base:
40           path: /aai
41       version:
42       # Current version of the REST API
43         api:
44           default: v28
45         # Specifies which version the depth parameter is configurable
46         depth: v11
47         # List of all the supported versions of the API
48         list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28
49         # Specifies from which version related link should appear
50         related:
51           link: v11
52         # Specifies from which version the app root change happened
53         app:
54           root: v11
55         # Specifies from which version the xml namespace changed
56         namespace:
57           change: v12
58         # Specifies from which version the edge label appeared in API
59         edge:
60           label: v12
61
62 # application image
63 image: onap/aai-schema-service:1.12.3
64 pullPolicy: Always
65 restartPolicy: Always
66 flavorOverride: small
67 # default number of instances
68 replicaCount: 1
69
70 updateStrategy:
71   type: RollingUpdate
72   maxUnavailable: 0
73   maxSurge: 1
74
75 nodeSelector: {}
76
77 affinity: {}
78
79 # probe configuration parameters
80 liveness:
81   initialDelaySeconds: 60
82   periodSeconds: 60
83   # necessary to disable liveness probe when setting breakpoints
84   # in debugger so K8s doesn't restart unresponsive container
85   enabled: false
86
87 readiness:
88   initialDelaySeconds: 60
89   periodSeconds: 10
90
91 service:
92   type: ClusterIP
93   portName: http
94   internalPort: 8452
95   portName2: tcp-5005
96   internalPort2: 5005
97
98 ingress:
99   enabled: false
100
101 serviceMesh:
102   authorizationPolicy:
103     authorizedPrincipals:
104       - serviceAccount: aai-graphadmin-read
105       - serviceAccount: aai-resources-read
106       - serviceAccount: aai-traversal-read
107
108   # We usually recommend not to specify default resources and to leave this as a conscious
109   # choice for the user. This also increases chances charts run on environments with little
110   # resources, such as Minikube. If you do want to specify resources, uncomment the following
111   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
112   #
113   # Example:
114   # Configure resource requests and limits
115   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
116   # Minimum memory for development is 2 CPU cores and 4GB memory
117   # Minimum memory for production is 4 CPU cores and 8GB memory
118 #resources:
119 #  limits:
120 #    cpu: "2"
121 #    memory: "4Gi"
122 #  requests:
123 #    cpu: "2"
124 #    memory: "4Gi"
125 resources:
126   small:
127     limits:
128       cpu: "2"
129       memory: "4Gi"
130     requests:
131       cpu: "1"
132       memory: "3Gi"
133   large:
134     limits:
135       cpu: "4"
136       memory: "8Gi"
137     requests:
138       cpu: "2"
139       memory: "4Gi"
140   unlimited: {}
141
142 #Pods Service Account
143 serviceAccount:
144   nameOverride: aai-schema-service
145   roles:
146     - read
147
148 # Not fully used for now
149 securityContext:
150   user_id: 1000
151   group_id: 1000
152
153 #Log configuration
154 log:
155   path: /var/log/onap
156 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'