-
Notifications
You must be signed in to change notification settings - Fork 4
/
service.yaml
24 lines (24 loc) · 991 Bytes
/
service.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#*******************************************************************************
# Copyright (c) 2023 Eclipse Foundation and others.
# This program and the accompanying materials are made available
# under the terms of the Eclipse Public License 2.0
# which is available at http://www.eclipse.org/legal/epl-v20.html,
# or the MIT License which is available at https://opensource.org/licenses/MIT.
# SPDX-License-Identifier: EPL-2.0 OR MIT
#*******************************************************************************
apiVersion: "v1"
kind: "Service"
metadata:
labels:
infocenter.version: {{ .Values.infocenterVersion | quote }}
namespace: {{ .Values.namespace | quote }}
name: "{{ .Chart.Name }}-{{ .Values.infocenterVersion }}"
spec:
type: {{ .Values.service.type }}
ports:
- name: "http"
port: {{ .Values.service.port }}
protocol: "TCP"
targetPort: {{ .Values.service.targetPort }}
selector:
infocenter.version: {{ .Values.infocenterVersion | quote }}