diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-12-14 15:04:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-12-14 15:04:14 +0000 |
commit | ecfaf1432bcee6820ccedb8a1e7a05053c9cdcd1 (patch) | |
tree | 0c4ef0952edfaeea9fc934e0645e68d09c46da3d /kubernetes/aai/components/aai-search-data/templates/service.yaml | |
parent | c8493eb3a9b8080f4beb80cd6f5a46396520ee1e (diff) | |
parent | 47eb4d2c38499bd60cdfb01010319ed5bf4ac45f (diff) |
Merge "[AAI] Make AAI helm3 compatible"
Diffstat (limited to 'kubernetes/aai/components/aai-search-data/templates/service.yaml')
-rw-r--r-- | kubernetes/aai/components/aai-search-data/templates/service.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/aai/components/aai-search-data/templates/service.yaml b/kubernetes/aai/components/aai-search-data/templates/service.yaml index 889807930a..940222cd3e 100644 --- a/kubernetes/aai/components/aai-search-data/templates/service.yaml +++ b/kubernetes/aai/components/aai-search-data/templates/service.yaml @@ -1,3 +1,4 @@ +{{/* # Copyright © 2018 Amdocs, Bell Canada, AT&T # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -11,6 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +*/}} apiVersion: v1 kind: Service @@ -25,7 +27,7 @@ metadata: spec: type: {{ .Values.service.type }} ports: - {{ if .Values.global.installSidecarSecurity }} +{{ if .Values.global.installSidecarSecurity }} {{if eq .Values.service.type "NodePort" -}} - port: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} |