mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-01 04:41:22 +00:00
27 lines
829 B
YAML
27 lines
829 B
YAML
|
{{- if $.Values.admintools.enabled }}
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ include "temporal.componentname" (list . "admintools") }}
|
||
|
labels:
|
||
|
app.kubernetes.io/name: {{ include "temporal.name" . }}
|
||
|
helm.sh/chart: {{ include "temporal.chart" . }}
|
||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||
|
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" }}
|
||
|
app.kubernetes.io/component: admintools
|
||
|
app.kubernetes.io/part-of: {{ .Chart.Name }}
|
||
|
spec:
|
||
|
type: ClusterIP
|
||
|
ports:
|
||
|
- port: 22
|
||
|
targetPort: 22
|
||
|
protocol: TCP
|
||
|
name: ssh
|
||
|
|
||
|
selector:
|
||
|
app.kubernetes.io/name: {{ include "temporal.name" . }}
|
||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||
|
app.kubernetes.io/component: admintools
|
||
|
{{- end }}
|