diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2023-03-09 18:34:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-03-09 18:34:06 +0000 |
commit | c44cda679b528030b16f7ed4ed074aadd154023c (patch) | |
tree | acb97068e3da4ed28dbcc24e774c98a247ed5a4d /helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/service.yaml | |
parent | 3306b2f6ca5b1d6c0f7377213cf0e71394b397b8 (diff) | |
parent | e6cb74daa04b0953e54701b189cb4767e73ff12c (diff) |
Merge "Add kserve participant in CSIT helm"
Diffstat (limited to 'helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/service.yaml')
-rwxr-xr-x | helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/service.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/service.yaml b/helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/service.yaml new file mode 100755 index 00000000..231db790 --- /dev/null +++ b/helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/service.yaml @@ -0,0 +1,39 @@ +{{/* +# ============LICENSE_START======================================================= +# Copyright (C) 2023 Nordix Foundation. +# ================================================================================ +# 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. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= +*/}} + +apiVersion: v1 +kind: Service +metadata: + name: {{ .Chart.Name }} + namespace: default + labels: + app.kubernetes.io/name: {{ .Chart.Name }} + helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + app.kubernetes.io/managed-by: Helm + +spec: + ports: + - port: {{ .Values.service.ports.port }} + targetPort: {{ .Values.service.ports.port }} + protocol: TCP + name: {{ .Values.service.ports.name }} + type: {{ .Values.service.type }} + selector: + app.kubernetes.io/name: {{ .Chart.Name }} |