Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 2 | # Modifications Copyright © 2020 Orange |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 3 | # Modifications Copyright © 2023 Nordix Foundation |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 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 | |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 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: |
nandkishorpatke | 60f33d7 | 2023-11-16 15:16:54 +0530 | [diff] [blame^] | 44 | default: v28 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 45 | # Specifies which version the depth parameter is configurable |
| 46 | depth: v11 |
| 47 | # List of all the supported versions of the API |
nandkishorpatke | 60f33d7 | 2023-11-16 15:16:54 +0530 | [diff] [blame^] | 48 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 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 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 62 | # application image |
nandkishorpatke | 60f33d7 | 2023-11-16 15:16:54 +0530 | [diff] [blame^] | 63 | image: onap/aai-schema-service:1.12.3 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 64 | pullPolicy: Always |
| 65 | restartPolicy: Always |
| 66 | flavorOverride: small |
| 67 | # default number of instances |
| 68 | replicaCount: 1 |
| 69 | |
Rommel Pawar | 63db716 | 2022-11-16 10:11:24 -0800 | [diff] [blame] | 70 | updateStrategy: |
| 71 | type: RollingUpdate |
| 72 | maxUnavailable: 0 |
| 73 | maxSurge: 1 |
| 74 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 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 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 93 | portName: http |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 94 | internalPort: 8452 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 95 | portName2: tcp-5005 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 96 | internalPort2: 5005 |
| 97 | |
| 98 | ingress: |
| 99 | enabled: false |
| 100 | |
AndrewLamb | 0e7c7fe | 2023-05-17 14:13:54 +0100 | [diff] [blame] | 101 | serviceMesh: |
| 102 | authorizationPolicy: |
| 103 | authorizedPrincipals: |
| 104 | - serviceAccount: aai-graphadmin-read |
| 105 | - serviceAccount: aai-resources-read |
| 106 | - serviceAccount: aai-traversal-read |
| 107 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 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: |
vladimir turok | db8167b | 2023-09-20 11:09:21 +0200 | [diff] [blame] | 128 | cpu: 2 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 129 | memory: 4Gi |
| 130 | requests: |
| 131 | cpu: 1 |
| 132 | memory: 3Gi |
| 133 | large: |
| 134 | limits: |
vladimir turok | db8167b | 2023-09-20 11:09:21 +0200 | [diff] [blame] | 135 | cpu: 4 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 136 | memory: 8Gi |
| 137 | requests: |
| 138 | cpu: 2 |
| 139 | memory: 4Gi |
| 140 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 141 | |
| 142 | #Pods Service Account |
| 143 | serviceAccount: |
| 144 | nameOverride: aai-schema-service |
| 145 | roles: |
| 146 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 147 | |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 148 | # Not fully used for now |
| 149 | securityContext: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 150 | user_id: 1000 |
| 151 | group_id: 1000 |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 152 | |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 153 | #Log configuration |
| 154 | log: |
| 155 | path: /var/log/onap |
| 156 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |