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: |
wr148d | cd3e6b7 | 2022-08-19 16:17:44 -0400 | [diff] [blame] | 44 | default: v27 |
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 |
wr148d | cd3e6b7 | 2022-08-19 16:17:44 -0400 | [diff] [blame] | 48 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27 |
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 |
wr148d | 702d68a | 2022-10-20 18:26:54 -0400 | [diff] [blame] | 63 | image: onap/aai-schema-service:1.11.0 |
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 | |
| 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 |
| 118 | resources: |
| 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 azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 134 | |
| 135 | #Pods Service Account |
| 136 | serviceAccount: |
| 137 | nameOverride: aai-schema-service |
| 138 | roles: |
| 139 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 140 | |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 141 | # Not fully used for now |
| 142 | securityContext: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 143 | user_id: 1000 |
| 144 | group_id: 1000 |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 145 | |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 146 | #Log configuration |
| 147 | log: |
| 148 | path: /var/log/onap |
| 149 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |