Initial beszel-hub k8s chart (#537)

* Initial beszel-hub k8s chart

* Moved beszel-hub chart in supplemental
This commit is contained in:
Daniel Nikoloski
2025-02-11 00:29:52 +01:00
committed by GitHub
parent aa3de511b9
commit 1f69937572
10 changed files with 430 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "beszel.fullname" . }}-web
labels:
{{- include "beszel.labels" . | nindent 4 }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
selector:
{{- include "beszel.selectorLabels" . | nindent 4 }}