Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 1 | # Copyright (c) 2019, CMCC Technologies Co., Ltd. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefixExt: 304 |
| 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
Bin Yang | df4fc03 | 2022-03-22 16:08:22 +0800 | [diff] [blame] | 25 | image: onap/multicloud/openstack-fcaps:1.5.7 |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 26 | pullPolicy: Always |
| 27 | |
| 28 | #Istio sidecar injection policy |
Andreas Geissler | dfa23c8 | 2022-05-13 16:54:43 +0200 | [diff] [blame] | 29 | istioSidecar: true |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 30 | |
| 31 | # application configuration |
| 32 | config: |
| 33 | msbgateway: msb-iag |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 34 | msbPort: 80 |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 35 | aai: |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 36 | aaiPort: 80 |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 37 | schemaVersion: v13 |
| 38 | username: AAI |
| 39 | password: AAI |
| 40 | |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
| 50 | initialDelaySeconds: 30 |
| 51 | periodSeconds: 10 |
| 52 | timeoutSeconds: 10 |
| 53 | successThreshold: 1 |
| 54 | failureThreshold: 5 |
| 55 | enabled: true |
| 56 | |
| 57 | service: |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 58 | type: NodePort |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 59 | internalPort: 9011 |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 60 | ports: |
| 61 | - name: http |
| 62 | port: 9011 |
| 63 | nodePort: '87' |
Andreas Geissler | aeb99f4 | 2023-06-28 10:29:00 +0200 | [diff] [blame] | 64 | useNodePortExt: true |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 65 | annotations: |
| 66 | msb.onap.org/service-info: | |
| 67 | {{ if .Values.global.msbEnabled -}}[ |
| 68 | { |
| 69 | "serviceName": "multicloud-fcaps", |
| 70 | "version": "v0", |
| 71 | "url": "/api/multicloud-fcaps/v0", |
| 72 | "protocol": "REST", |
| 73 | "port": "{{ .Values.service.internalPort }}", |
| 74 | "enable_ssl": false, |
| 75 | "visualRange": "1" |
| 76 | }, |
| 77 | { |
| 78 | "serviceName": "multicloud-fcaps", |
| 79 | "version": "v1", |
| 80 | "url": "/api/multicloud-fcaps/v1", |
| 81 | "protocol": "REST", |
| 82 | "port": "{{ .Values.service.internalPort }}", |
| 83 | "enable_ssl": false, |
| 84 | "visualRange": "1" |
| 85 | } |
| 86 | ]{{ end }} |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 87 | |
| 88 | ingress: |
| 89 | enabled: false |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 90 | service: |
| 91 | - baseaddr: 'multicloud-fcaps-api' |
| 92 | name: 'multicloud-fcaps' |
| 93 | port: 9011 |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 94 | |
| 95 | # Resource Limit flavor -By Default using small |
| 96 | flavor: small |
| 97 | # Segregation for Different environment (Small and Large) |
| 98 | resources: |
| 99 | small: |
| 100 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 101 | cpu: "1" |
| 102 | memory: "4Gi" |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 103 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 104 | cpu: "10m" |
| 105 | memory: "1Gi" |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 106 | large: |
| 107 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 108 | cpu: "2" |
| 109 | memory: "8Gi" |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 110 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 111 | cpu: "20m" |
| 112 | memory: "2Gi" |
Bin Yang | f28d0b1 | 2019-05-07 01:27:31 +0000 | [diff] [blame] | 113 | unlimited: {} |
| 114 | |
| 115 | # rabbit-mq image resource |
| 116 | rabbitmq: rabbitmq:alpine |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 117 | |
Bin Yang | df4fc03 | 2022-03-22 16:08:22 +0800 | [diff] [blame] | 118 | # memcached image resource |
| 119 | memcached: memcached:alpine3.15 |
| 120 | |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 121 | #Pods Service Account |
| 122 | serviceAccount: |
| 123 | nameOverride: multicloud-fcaps |
| 124 | roles: |
| 125 | - read |
Maciej Wereski | 989c91c | 2021-11-17 16:45:14 +0100 | [diff] [blame] | 126 | |
| 127 | #Log configuration |
| 128 | log: |
| 129 | path: /var/log/onap |
| 130 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |