diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-09-09 13:14:27 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-09-11 19:14:24 +0000 |
commit | 28d372ab210e4bf053b1dd49dfed443096959000 (patch) | |
tree | 8d14654093a02d07c6b850e5e07aacfd4de2ec82 /kubernetes/so/charts/so-ve-vnfm-adapter/resources/config | |
parent | 1a0ff537f9a01edbe92acfdaa7a670c78a07118c (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/resources/config')
-rwxr-xr-x | kubernetes/so/charts/so-ve-vnfm-adapter/resources/config/overrides/override.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/so/charts/so-ve-vnfm-adapter/resources/config/overrides/override.yaml b/kubernetes/so/charts/so-ve-vnfm-adapter/resources/config/overrides/override.yaml index 88d805d81e..89b6ada3fd 100755 --- a/kubernetes/so/charts/so-ve-vnfm-adapter/resources/config/overrides/override.yaml +++ b/kubernetes/so/charts/so-ve-vnfm-adapter/resources/config/overrides/override.yaml @@ -13,7 +13,7 @@ # limitations under the License. server: - port: {{ (index .Values.service.ports 0).port }} + port: {{ include "common.getPort" (dict "global" . "name" "http") }} vevnfmadapter: endpoint: https://msb-iag:30283/api/{{ include "common.servicename" . }}/v1 |