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 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 3 | # |
| 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. |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
| 21 | |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 22 | # 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: |
wr148d | 77086d7 | 2021-08-27 16:15:36 -0400 | [diff] [blame] | 43 | default: v24 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 44 | # Specifies which version the depth parameter is configurable |
| 45 | depth: v11 |
| 46 | # List of all the supported versions of the API |
wr148d | 77086d7 | 2021-08-27 16:15:36 -0400 | [diff] [blame] | 47 | list: v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24 |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 48 | # 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 Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 76 | # application image |
wr148d | 77086d7 | 2021-08-27 16:15:36 -0400 | [diff] [blame] | 77 | image: onap/aai-schema-service:1.9.1 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 78 | pullPolicy: Always |
| 79 | restartPolicy: Always |
| 80 | flavorOverride: small |
| 81 | # default number of instances |
| 82 | replicaCount: 1 |
| 83 | |
| 84 | nodeSelector: {} |
| 85 | |
| 86 | affinity: {} |
| 87 | |
| 88 | # probe configuration parameters |
| 89 | liveness: |
| 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 | |
| 96 | readiness: |
| 97 | initialDelaySeconds: 60 |
| 98 | periodSeconds: 10 |
| 99 | |
| 100 | service: |
| 101 | type: ClusterIP |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 102 | portName: http |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 103 | internalPort: 8452 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 104 | portName2: tcp-5005 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 105 | internalPort2: 5005 |
| 106 | |
| 107 | ingress: |
| 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 |
| 127 | resources: |
| 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 azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 143 | |
| 144 | #Pods Service Account |
| 145 | serviceAccount: |
| 146 | nameOverride: aai-schema-service |
| 147 | roles: |
| 148 | - read |