summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/charts/so-ve-vnfm-adapter/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-09-09 13:14:27 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-11 19:14:24 +0000
commit28d372ab210e4bf053b1dd49dfed443096959000 (patch)
tree8d14654093a02d07c6b850e5e07aacfd4de2ec82 /kubernetes/so/charts/so-ve-vnfm-adapter/values.yaml
parent1a0ff537f9a01edbe92acfdaa7a670c78a07118c (diff)
[Tree-Wide] Reference ports by name not index
Referencing anything based on its position on alist can be really fragile and har to debug. As we already have a convenience template that allows us to access the port based on its name let's make sure that everyone is using it. Issue-ID: OOM-1971 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Id25cb9d9e48f39f46786ea9e9a432b0c51130c50
Diffstat (limited to 'kubernetes/so/charts/so-ve-vnfm-adapter/values.yaml')
-rwxr-xr-xkubernetes/so/charts/so-ve-vnfm-adapter/values.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/so/charts/so-ve-vnfm-adapter/values.yaml b/kubernetes/so/charts/so-ve-vnfm-adapter/values.yaml
index d244f7abf5..0620a0b052 100755
--- a/kubernetes/so/charts/so-ve-vnfm-adapter/values.yaml
+++ b/kubernetes/so/charts/so-ve-vnfm-adapter/values.yaml
@@ -50,7 +50,7 @@ service:
"version": "v1",
"url": "/",
"protocol": "REST",
- "port": "{{ (index .Values.service.ports 0).port }}",
+ "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}",
"visualRange": "1"
}
]{{ end }}