blob: 18ef89f1fdaf45fd6797444eae2045e47ce8f00f [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
Sylvain Desbureaux70070412020-11-09 21:58:48 +01003#
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 resources.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
21
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010022 # Common configuration for resources traversal and graphadmin
23 config:
24 # Specifies if the basic authorization is enabled
25 basic:
26 auth:
27 enabled: true
28 username: AAI
29 passwd: AAI
30
31 # Schema specific properties that include supported versions of api
32 schema:
33 source:
34 # Specifies which folder to take a look at
35 name: onap
36 uri:
37 # Base URI Path of the application
38 base:
39 path: /aai
40 version:
41 # Current version of the REST API
42 api:
wr148d77086d72021-08-27 16:15:36 -040043 default: v24
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010044 # Specifies which version the depth parameter is configurable
45 depth: v11
46 # List of all the supported versions of the API
wr148d77086d72021-08-27 16:15:36 -040047 list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24
Sylvain Desbureaux5b651322020-12-07 15:34:15 +010048 # Specifies from which version related link should appear
49 related:
50 link: v11
51 # Specifies from which version the app root change happened
52 app:
53 root: v11
54 # Specifies from which version the xml namespace changed
55 namespace:
56 change: v12
57 # Specifies from which version the edge label appeared in API
58 edge:
59 label: v12
60
61 # Keystore configuration password and filename
62 keystore:
63 filename: aai_keystore
64 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
65
66 # Truststore configuration password and filename
67 truststore:
68 filename: aai_keystore
69 passwd: OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
70
71 # Specifies a list of files to be included in auth volume
72 auth:
73 files:
74 - aai_keystore
75
Sylvain Desbureaux70070412020-11-09 21:58:48 +010076# application image
wr148d77086d72021-08-27 16:15:36 -040077image: onap/aai-schema-service:1.9.1
Sylvain Desbureaux70070412020-11-09 21:58:48 +010078pullPolicy: Always
79restartPolicy: Always
80flavorOverride: small
81# default number of instances
82replicaCount: 1
83
84nodeSelector: {}
85
86affinity: {}
87
88# probe configuration parameters
89liveness:
90 initialDelaySeconds: 60
91 periodSeconds: 60
92 # necessary to disable liveness probe when setting breakpoints
93 # in debugger so K8s doesn't restart unresponsive container
94 enabled: false
95
96readiness:
97 initialDelaySeconds: 60
98 periodSeconds: 10
99
100service:
101 type: ClusterIP
osk1146127fd7d82021-06-18 00:51:17 +0200102 portName: http
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100103 internalPort: 8452
osk1146127fd7d82021-06-18 00:51:17 +0200104 portName2: tcp-5005
Sylvain Desbureaux70070412020-11-09 21:58:48 +0100105 internalPort2: 5005
106
107ingress:
108 enabled: false
109
110 # We usually recommend not to specify default resources and to leave this as a conscious
111 # choice for the user. This also increases chances charts run on environments with little
112 # resources, such as Minikube. If you do want to specify resources, uncomment the following
113 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
114 #
115 # Example:
116 # Configure resource requests and limits
117 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
118 # Minimum memory for development is 2 CPU cores and 4GB memory
119 # Minimum memory for production is 4 CPU cores and 8GB memory
120#resources:
121# limits:
122# cpu: 2
123# memory: 4Gi
124# requests:
125# cpu: 2
126# memory: 4Gi
127resources:
128 small:
129 limits:
130 cpu: 2
131 memory: 4Gi
132 requests:
133 cpu: 1
134 memory: 3Gi
135 large:
136 limits:
137 cpu: 4
138 memory: 8Gi
139 requests:
140 cpu: 2
141 memory: 4Gi
142 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +0200143
144#Pods Service Account
145serviceAccount:
146 nameOverride: aai-schema-service
147 roles:
148 - read