X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fvnfsdk%2Ftemplates%2Fall-services.yaml;h=b592c47badb494def54334fadeb0644f99e296d8;hb=e04b2feb855e5ab20e28c867d2bd7f89f6b8c425;hp=1f117296673311df8459688b0d0e35cceb9737dc;hpb=75c07c4911875862f313f3166c3d3e3f411763aa;p=oom.git diff --git a/kubernetes/vnfsdk/templates/all-services.yaml b/kubernetes/vnfsdk/templates/all-services.yaml index 1f11729667..b592c47bad 100644 --- a/kubernetes/vnfsdk/templates/all-services.yaml +++ b/kubernetes/vnfsdk/templates/all-services.yaml @@ -1,8 +1,23 @@ +# Copyright © 2017 Amdocs, Bell Canada +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# 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. + +#{{ if not .Values.disableVnfsdkPostgres }} apiVersion: v1 kind: Service metadata: name: postgres - namespace: {{ .Values.nsPrefix }}-vnfsdk + namespace: {{ .Values.nsPrefix }} labels: app: postgres spec: @@ -12,6 +27,8 @@ spec: selector: app: postgres clusterIP: None +#{{ end }} +#{{ if not .Values.disableVnfsdkRefrepo }} --- apiVersion: v1 kind: Service @@ -19,7 +36,7 @@ metadata: labels: app: refrepo name: refrepo - namespace: {{ .Values.nsPrefix }}-vnfsdk + namespace: {{ .Values.nsPrefix }} spec: ports: - name: "refrepo-port" @@ -28,3 +45,4 @@ spec: selector: app: refrepo type: NodePort +#{{ end }} \ No newline at end of file