KubeZero/charts/uptime-kuma/templates/service.yml

16 lines
371 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "kubezero-lib.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "kubezero-lib.labels" . | nindent 4 }}
spec:
selector:
{{- include "kubezero-lib.selectorLabels" . | nindent 4 }}
ports:
- name: http
port: {{ .Values.service.port }}
targetPort: 3001
protocol: TCP