split minecraft helm components into separate files

This commit is contained in:
2023-10-03 08:20:17 -04:00
parent 5e6af8e00b
commit f77bc1567f
5 changed files with 37 additions and 48 deletions

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
annotations:
metallb.universe.tf/allow-shared-ip: "containers"
spec:
externalTrafficPolicy: Cluster
selector:
app: {{ .Release.Name }}
ports:
- port: {{ .Values.port }}
targetPort: 25565
name: {{ .Release.Name }}
type: LoadBalancer