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: |
Fiete Ostkamp | 1da9965 | 2024-05-28 08:51:51 +0200 | [diff] [blame] | 44 | default: v29 |
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 |
Fiete Ostkamp | 1da9965 | 2024-05-28 08:51:51 +0200 | [diff] [blame] | 48 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28,v29 |
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 |
Fiete Ostkamp | 464b650 | 2024-08-06 15:00:30 +0200 | [diff] [blame^] | 63 | image: onap/aai-schema-service:1.12.5 |
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 | |
Fiete Ostkamp | 464b650 | 2024-08-06 15:00:30 +0200 | [diff] [blame^] | 70 | # adds jvm args for remote debugging the application |
| 71 | debug: |
| 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 |
| 76 | profiling: |
| 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 |
| 88 | revisionHistoryLimit: 2 |
| 89 | |
Rommel Pawar | 63db716 | 2022-11-16 10:11:24 -0800 | [diff] [blame] | 90 | updateStrategy: |
| 91 | type: RollingUpdate |
| 92 | maxUnavailable: 0 |
| 93 | maxSurge: 1 |
| 94 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 95 | nodeSelector: {} |
| 96 | |
| 97 | affinity: {} |
| 98 | |
| 99 | # probe configuration parameters |
| 100 | liveness: |
| 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 | |
| 107 | readiness: |
| 108 | initialDelaySeconds: 60 |
| 109 | periodSeconds: 10 |
| 110 | |
| 111 | service: |
| 112 | type: ClusterIP |
Fiete Ostkamp | 464b650 | 2024-08-06 15:00:30 +0200 | [diff] [blame^] | 113 | appPortName: http |
| 114 | appPort: 8452 |
| 115 | debugPortName: tcp-5005 |
| 116 | debugPort: 5005 |
| 117 | profilingPortName: jmx-9999 |
| 118 | profilingPort: 9999 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 119 | |
| 120 | ingress: |
| 121 | enabled: false |
| 122 | |
AndrewLamb | 0e7c7fe | 2023-05-17 14:13:54 +0100 | [diff] [blame] | 123 | serviceMesh: |
| 124 | authorizationPolicy: |
| 125 | authorizedPrincipals: |
| 126 | - serviceAccount: aai-graphadmin-read |
| 127 | - serviceAccount: aai-resources-read |
| 128 | - serviceAccount: aai-traversal-read |
| 129 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 130 | # 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 Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 142 | # cpu: "2" |
| 143 | # memory: "4Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 144 | # requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 145 | # cpu: "2" |
| 146 | # memory: "4Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 147 | resources: |
| 148 | small: |
| 149 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 150 | cpu: "2" |
| 151 | memory: "4Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 152 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 153 | cpu: "1" |
| 154 | memory: "3Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 155 | large: |
| 156 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 157 | cpu: "4" |
| 158 | memory: "8Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 159 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 160 | cpu: "2" |
| 161 | memory: "4Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 162 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 163 | |
| 164 | #Pods Service Account |
| 165 | serviceAccount: |
| 166 | nameOverride: aai-schema-service |
| 167 | roles: |
| 168 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 169 | |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 170 | # Not fully used for now |
| 171 | securityContext: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 172 | user_id: 1000 |
| 173 | group_id: 1000 |
Sylvain Desbureaux | c57b58d | 2021-02-23 18:07:34 +0100 | [diff] [blame] | 174 | |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 175 | #Log configuration |
| 176 | log: |
| 177 | path: /var/log/onap |
| 178 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |