blob: 96ff7782579410a95195b702e09581a4c8c06dbc [file] [log] [blame]
Piotr Borelowski145e6dd2020-02-14 16:57:50 +01001# 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 Desbureauxaadf5452020-03-18 18:13:51 +010014#################################################################
15# Global configuration defaults.
16#################################################################
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010017global:
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010018 persistence:
19 mountPath: /dockerdata-nfs
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010020
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010021readinessCheck:
22 wait_for:
23 - aai
24 - message-router
25
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010026#################################################################
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010027# Application configuration defaults.
28#################################################################
seshukm40ec9fa2020-07-08 14:26:34 +053029image: onap/so/ve-vnfm-adapter:1.6.4
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010030pullPolicy: Always
31replicaCount: 1
32service:
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 Opasiak28d372a2020-09-09 13:14:27 +020043 "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}",
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010044 "visualRange": "1"
45 }
46 ]{{ end }}
47 ports:
48 - name: http
49 port: 9098
seshukm0df1f8e2020-08-17 21:45:49 +053050
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010051flavor: small
52resources:
53 small:
54 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010055 cpu: "1"
56 memory: "1Gi"
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010057 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010058 cpu: "0.5"
59 memory: "1Gi"
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010060 large:
61 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010062 cpu: "2"
63 memory: "2Gi"
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010064 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010065 cpu: "1"
66 memory: "2Gi"
Piotr Borelowski145e6dd2020-02-14 16:57:50 +010067 unlimited: {}
68livenessProbe:
69 port: 9098
70 initialDelaySeconds: 600
71 periodSeconds: 60
72 timeoutSeconds: 10
73 successThreshold: 1
74 failureThreshold: 3
75nodeSelector: {}
76tolerations: []
77affinity: {}
farida azmy87f46222021-04-06 15:25:15 +020078
AndrewLambab2704a2023-04-05 14:45:11 +010079serviceMesh:
80 authorizationPolicy:
81 authorizedPrincipals:
82 - serviceAccount: so-read
83
farida azmy87f46222021-04-06 15:25:15 +020084#Pods Service Account
85serviceAccount:
86 nameOverride: so-ve-vnfm-adapter
87 roles:
88 - read