blob: 12dfaea091ad92028cd97f1a79f79a086accb759 [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:
Fiete Ostkamp1da99652024-05-28 08:51:51 +020044 default: v29
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
Fiete Ostkamp1da99652024-05-28 08:51:51 +020048 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28,v29
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
Fiete Ostkamp464b6502024-08-06 15:00:30 +020063image: onap/aai-schema-service:1.12.5
Sylvain Desbureaux70070412020-11-09 21:58:48 +010064pullPolicy: Always
65restartPolicy: Always
66flavorOverride: small
67# default number of instances
68replicaCount: 1
69
Fiete Ostkamp464b6502024-08-06 15:00:30 +020070# adds jvm args for remote debugging the application
71debug:
72 enabled: false
73 args: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
74
75# adds jvm args for remote profiling the application
76profiling:
77 enabled: false
78 args:
79 - "-Dcom.sun.management.jmxremote"
80 - "-Dcom.sun.management.jmxremote.ssl=false"
81 - "-Dcom.sun.management.jmxremote.authenticate=false"
82 - "-Dcom.sun.management.jmxremote.local.only=false"
83 - "-Dcom.sun.management.jmxremote.port=9999"
84 - "-Dcom.sun.management.jmxremote.rmi.port=9999"
85 - "-Djava.rmi.server.hostname=127.0.0.1"
86
87# number of ReplicaSets that should be retained for the Deployment
88revisionHistoryLimit: 2
89
Rommel Pawar63db7162022-11-16 10:11:24 -080090updateStrategy:
91 type: RollingUpdate
92 maxUnavailable: 0
93 maxSurge: 1
94
Sylvain Desbureaux70070412020-11-09 21:58:48 +010095nodeSelector: {}
96
97affinity: {}
98
99# probe configuration parameters
100liveness:
101 initialDelaySeconds: 60
102 periodSeconds: 60
103 # necessary to disable liveness probe when setting breakpoints
104 # in debugger so K8s doesn't restart unresponsive container
105 enabled: false
106
107readiness:
108 initialDelaySeconds: 60
109 periodSeconds: 10
110
111service:
112 type: ClusterIP
Fiete Ostkamp464b6502024-08-06 15:00:30 +0200113 appPortName: http
114 appPort: 8452
115 debugPortName: tcp-5005
116 debugPort: 5005
117 profilingPortName: jmx-9999
118 profilingPort: 9999
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100119
120ingress:
121 enabled: false
122
AndrewLamb0e7c7fe2023-05-17 14:13:54 +0100123serviceMesh:
124 authorizationPolicy:
125 authorizedPrincipals:
126 - serviceAccount: aai-graphadmin-read
127 - serviceAccount: aai-resources-read
128 - serviceAccount: aai-traversal-read
129
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100130 # We usually recommend not to specify default resources and to leave this as a conscious
131 # choice for the user. This also increases chances charts run on environments with little
132 # resources, such as Minikube. If you do want to specify resources, uncomment the following
133 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
134 #
135 # Example:
136 # Configure resource requests and limits
137 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
138 # Minimum memory for development is 2 CPU cores and 4GB memory
139 # Minimum memory for production is 4 CPU cores and 8GB memory
140#resources:
141# limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100142# cpu: "2"
143# memory: "4Gi"
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100144# requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100145# cpu: "2"
146# memory: "4Gi"
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100147resources:
148 small:
149 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100150 cpu: "2"
151 memory: "4Gi"
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100152 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100153 cpu: "1"
154 memory: "3Gi"
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100155 large:
156 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100157 cpu: "4"
158 memory: "8Gi"
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100159 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100160 cpu: "2"
161 memory: "4Gi"
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100162 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +0200163
164#Pods Service Account
165serviceAccount:
166 nameOverride: aai-schema-service
167 roles:
168 - read
Maciej Wereskid523d122021-09-21 11:22:13 +0200169
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100170# Not fully used for now
171securityContext:
efiacord12c1672023-03-23 12:10:50 +0000172 user_id: 1000
173 group_id: 1000
Sylvain Desbureauxc57b58d2021-02-23 18:07:34 +0100174
Maciej Wereskid523d122021-09-21 11:22:13 +0200175#Log configuration
176log:
177 path: /var/log/onap
178logConfigMapNamePrefix: '{{ include "common.fullname" . }}'