kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Nishukumar | 376ba1e | 2018-08-03 09:17:23 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [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 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
Andreas Geissler | dfa23c8 | 2022-05-13 16:54:43 +0200 | [diff] [blame] | 26 | image: onap/multicloud/vio:1.4.2 |
kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | # application configuration |
| 30 | config: |
| 31 | msbgateway: msb-iag |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 32 | msbPort: 80 |
kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [diff] [blame] | 33 | aai: |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 34 | aaiPort: 80 |
Bin Yang | 4884afa | 2018-05-23 18:30:31 +0000 | [diff] [blame] | 35 | schemaVersion: v13 |
kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [diff] [blame] | 36 | username: AAI |
| 37 | password: AAI |
| 38 | |
| 39 | # default number of instances |
| 40 | replicaCount: 1 |
| 41 | |
| 42 | nodeSelector: {} |
| 43 | |
| 44 | affinity: {} |
| 45 | |
| 46 | # probe configuration parameters |
| 47 | liveness: |
| 48 | initialDelaySeconds: 30 |
| 49 | periodSeconds: 10 |
| 50 | timeoutSeconds: 10 |
| 51 | successThreshold: 1 |
| 52 | failureThreshold: 5 |
| 53 | enabled: true |
| 54 | |
| 55 | service: |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 56 | type: NodePort |
kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [diff] [blame] | 57 | internalPort: 9004 |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 58 | ports: |
| 59 | - name: http |
| 60 | port: 9004 |
| 61 | nodePort: '92' |
| 62 | annotations: |
| 63 | msb.onap.org/service-info: | |
| 64 | {{ if .Values.global.msbEnabled -}}[ |
| 65 | { |
| 66 | "serviceName": "multicloud-vio", |
| 67 | "version": "v0", |
| 68 | "url": "/api/multicloud-vio/v0", |
| 69 | "protocol": "REST", |
| 70 | "port": "{{ .Values.service.internalPort }}", |
| 71 | "enable_ssl": false, |
| 72 | "visualRange": "1" |
| 73 | }, |
| 74 | { |
| 75 | "serviceName": "multicloud-vio", |
| 76 | "version": "v1", |
| 77 | "url": "/api/multicloud-vio/v1", |
| 78 | "protocol": "REST", |
| 79 | "port": "{{ .Values.service.internalPort }}", |
| 80 | "enable_ssl": false, |
| 81 | "visualRange": "1" |
| 82 | } |
| 83 | ]{{ end }} |
kj | 41ef22e | 2018-04-02 13:34:07 +0300 | [diff] [blame] | 84 | |
Pradeep Patel | d5187f9 | 2018-04-26 06:07:56 +0000 | [diff] [blame] | 85 | ingress: |
| 86 | enabled: false |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 87 | service: |
| 88 | - baseaddr: 'multicloud-vio-api' |
| 89 | name: 'multicloud-vio' |
| 90 | port: 9004 |
Pradeep Patel | d5187f9 | 2018-04-26 06:07:56 +0000 | [diff] [blame] | 91 | |
Mukul | 62927a1 | 2018-09-11 11:42:00 +0000 | [diff] [blame] | 92 | # Resource Limit flavor -By Default using small |
| 93 | flavor: small |
| 94 | # Segregation for Different environment (Small and Large) |
| 95 | resources: |
| 96 | small: |
| 97 | limits: |
| 98 | cpu: 1 |
| 99 | memory: 4Gi |
| 100 | requests: |
| 101 | cpu: 10m |
| 102 | memory: 1Gi |
| 103 | large: |
| 104 | limits: |
| 105 | cpu: 2 |
| 106 | memory: 8Gi |
| 107 | requests: |
| 108 | cpu: 20m |
| 109 | memory: 2Gi |
Bin Yang | 0c54f18 | 2018-10-09 03:27:40 +0000 | [diff] [blame] | 110 | unlimited: {} |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 111 | |
| 112 | #Pods Service Account |
| 113 | serviceAccount: |
| 114 | nameOverride: multicloud-vio |
| 115 | roles: |
| 116 | - read |
Maciej Wereski | 989c91c | 2021-11-17 16:45:14 +0100 | [diff] [blame] | 117 | |
| 118 | #Log configuration |
| 119 | log: |
| 120 | path: /var/log/onap |
| 121 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |