blob: 88f17861c78c73d5548b8926ee641667528982fd [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright © 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureaux5b651322020-12-07 15:34:15 +01002# Modifications Copyright © 2020 Orange
efiacord12c1672023-03-23 12:10:50 +00003# Modifications Copyright © 2023 Nordix Foundation
Sylvain Desbureaux70070412020-11-09 21:58:48 +01004#
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.
20global: # global defaults
21 nodePortPrefix: 302
22
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010023 # 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:
wr148dcd3e6b72022-08-19 16:17:44 -040044 default: v27
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010045 # Specifies which version the depth parameter is configurable
46 depth: v11
47 # List of all the supported versions of the API
wr148dcd3e6b72022-08-19 16:17:44 -040048 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010049 # 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
Sylvain Desbureaux70070412020-11-09 21:58:48 +010062# application image
wr148d702d68a2022-10-20 18:26:54 -040063image: onap/aai-schema-service:1.11.0
Sylvain Desbureaux70070412020-11-09 21:58:48 +010064pullPolicy: Always
65restartPolicy: Always
66flavorOverride: small
67# default number of instances
68replicaCount: 1
69
Rommel Pawar63db7162022-11-16 10:11:24 -080070updateStrategy:
71 type: RollingUpdate
72 maxUnavailable: 0
73 maxSurge: 1
74
Sylvain Desbureaux70070412020-11-09 21:58:48 +010075nodeSelector: {}
76
77affinity: {}
78
79# probe configuration parameters
80liveness:
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
87readiness:
88 initialDelaySeconds: 60
89 periodSeconds: 10
90
91service:
92 type: ClusterIP
osk1146127fd7d82021-06-18 00:51:17 +020093 portName: http
Sylvain Desbureaux70070412020-11-09 21:58:48 +010094 internalPort: 8452
osk1146127fd7d82021-06-18 00:51:17 +020095 portName2: tcp-5005
Sylvain Desbureaux70070412020-11-09 21:58:48 +010096 internalPort2: 5005
97
98ingress:
99 enabled: false
100
AndrewLamb0e7c7fe2023-05-17 14:13:54 +0100101serviceMesh:
102 authorizationPolicy:
103 authorizedPrincipals:
104 - serviceAccount: aai-graphadmin-read
105 - serviceAccount: aai-resources-read
106 - serviceAccount: aai-traversal-read
107
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100108 # 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
125resources:
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: {}
farida azmyd8937332021-03-09 12:20:42 +0200141
142#Pods Service Account
143serviceAccount:
144 nameOverride: aai-schema-service
145 roles:
146 - read
Maciej Wereskid523d122021-09-21 11:22:13 +0200147
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100148# Not fully used for now
149securityContext:
efiacord12c1672023-03-23 12:10:50 +0000150 user_id: 1000
151 group_id: 1000
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100152
Maciej Wereskid523d122021-09-21 11:22:13 +0200153#Log configuration
154log:
155 path: /var/log/onap
156logConfigMapNamePrefix: '{{ include "common.fullname" . }}'