Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 1 | # Copyright © 2020 Samsung |
| 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. |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 17 | global: |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 18 | persistence: |
| 19 | mountPath: /dockerdata-nfs |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 20 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 21 | readinessCheck: |
| 22 | wait_for: |
| 23 | - aai |
| 24 | - message-router |
| 25 | |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 26 | ################################################################# |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 27 | # Application configuration defaults. |
| 28 | ################################################################# |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 29 | image: onap/so/ve-vnfm-adapter:1.6.4 |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 30 | pullPolicy: Always |
| 31 | replicaCount: 1 |
| 32 | service: |
| 33 | name: ve-vnfm-adapter |
| 34 | type: ClusterIP |
| 35 | annotations: |
| 36 | msb.onap.org/service-info: | |
| 37 | {{ if not .Values.global.msbDisabled -}}[ |
| 38 | { |
| 39 | "serviceName": "{{ include "common.servicename" . }}", |
| 40 | "version": "v1", |
| 41 | "url": "/", |
| 42 | "protocol": "REST", |
Krzysztof Opasiak | 28d372a | 2020-09-09 13:14:27 +0200 | [diff] [blame] | 43 | "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}", |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 44 | "visualRange": "1" |
| 45 | } |
| 46 | ]{{ end }} |
| 47 | ports: |
| 48 | - name: http |
| 49 | port: 9098 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 50 | |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 51 | flavor: small |
| 52 | resources: |
| 53 | small: |
| 54 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 55 | cpu: "1" |
| 56 | memory: "1Gi" |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 57 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 58 | cpu: "0.5" |
| 59 | memory: "1Gi" |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 60 | large: |
| 61 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 62 | cpu: "2" |
| 63 | memory: "2Gi" |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 64 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame^] | 65 | cpu: "1" |
| 66 | memory: "2Gi" |
Piotr Borelowski | 145e6dd | 2020-02-14 16:57:50 +0100 | [diff] [blame] | 67 | unlimited: {} |
| 68 | livenessProbe: |
| 69 | port: 9098 |
| 70 | initialDelaySeconds: 600 |
| 71 | periodSeconds: 60 |
| 72 | timeoutSeconds: 10 |
| 73 | successThreshold: 1 |
| 74 | failureThreshold: 3 |
| 75 | nodeSelector: {} |
| 76 | tolerations: [] |
| 77 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 78 | |
AndrewLamb | ab2704a | 2023-04-05 14:45:11 +0100 | [diff] [blame] | 79 | serviceMesh: |
| 80 | authorizationPolicy: |
| 81 | authorizedPrincipals: |
| 82 | - serviceAccount: so-read |
| 83 | |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 84 | #Pods Service Account |
| 85 | serviceAccount: |
| 86 | nameOverride: so-ve-vnfm-adapter |
| 87 | roles: |
| 88 | - read |