blob: 19ee9d491cceaa4d258508b2bbabc52e035f85ca [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
101 # We usually recommend not to specify default resources and to leave this as a conscious
102 # choice for the user. This also increases chances charts run on environments with little
103 # resources, such as Minikube. If you do want to specify resources, uncomment the following
104 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
105 #
106 # Example:
107 # Configure resource requests and limits
108 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
109 # Minimum memory for development is 2 CPU cores and 4GB memory
110 # Minimum memory for production is 4 CPU cores and 8GB memory
111#resources:
112# limits:
113# cpu: 2
114# memory: 4Gi
115# requests:
116# cpu: 2
117# memory: 4Gi
118resources:
119 small:
120 limits:
121 cpu: 2
122 memory: 4Gi
123 requests:
124 cpu: 1
125 memory: 3Gi
126 large:
127 limits:
128 cpu: 4
129 memory: 8Gi
130 requests:
131 cpu: 2
132 memory: 4Gi
133 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +0200134
135#Pods Service Account
136serviceAccount:
137 nameOverride: aai-schema-service
138 roles:
139 - read
Maciej Wereskid523d122021-09-21 11:22:13 +0200140
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100141# Not fully used for now
142securityContext:
efiacord12c1672023-03-23 12:10:50 +0000143 user_id: 1000
144 group_id: 1000
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100145
Maciej Wereskid523d122021-09-21 11:22:13 +0200146#Log configuration
147log:
148 path: /var/log/onap
149logConfigMapNamePrefix: '{{ include "common.fullname" . }}'