[Feature] Helm Integration (#2)

Co-authored-by: dunemask <dunemask@gmail.com>
Reviewed-on: https://gitea.dunemask.net/elysium/minecluster/pulls/2
This commit is contained in:
dunemask 2023-08-21 20:49:38 +00:00
parent 5779777d89
commit 53190fddf5
19 changed files with 1266 additions and 748 deletions

15
templates/service.yaml Normal file
View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "minecluster.fullname" . }}
labels:
{{- include "minecluster.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "minecluster.selectorLabels" . | nindent 4 }}