[COMMON] Allow to choose between nodePortPrefix and nodePortPrefixExt 31/102231/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 24 Feb 2020 12:52:02 +0000 (13:52 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 24 Feb 2020 12:57:17 +0000 (13:57 +0100)
commit2f73a0f0d840c2361be68d6eae9084c6737018a4
tree625006d8952db64dfd2e3080c1b98cbed7bbd6d8
parentb94753a9c2c511f6f531b9e29ac44f27ecbfada2
[COMMON] Allow to choose between nodePortPrefix and nodePortPrefixExt

Add the ability to specify whether a nodePortPrefix or
nodePortPrefixExt should be used while defining a port using common
service template.

Now you can specify:

ports:
  - name: http
    port: 9098
    nodePort: "09"
    prefix: nodePortPrefixExt

Issue-ID: OOM-1971
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ied78584e5b1c8f479ca180890df67ad4dee3501a
kubernetes/common/common/templates/_service.tpl