Takes the existing mc-router chart over from cluster-config as-is so the deployment can move to Fleet without any change to the rolled-out state. Convention alignment follows in stage 2, the app update in stage 3. The only deviation from "unchanged": Chart.yaml carried name: minecraft-server (copy-paste from the sister chart). The publish job pushes by the glob <directory>-*.tgz while helm package names the archive after the Chart.yaml name, so without this correction the push finds no file. Version 0.1.1+up1.25.1 - chart semver stays at 0.1.1, the +up suffix is repo policy and does not affect rendering. Also wires up CI: publish workflow, change-app-version choice list, install-test values (CI-only node-port override, since 25565 is outside the k3d default range) and the README chart table.
14 lines
275 B
YAML
14 lines
275 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Release.Name }}-service
|
|
spec:
|
|
selector:
|
|
app: {{ .Release.Name }}-deployment
|
|
ports:
|
|
- nodePort: {{ .Values.server.outwardPort }}
|
|
port: 25565
|
|
targetPort: 25565
|
|
name: proxy-port
|
|
type: NodePort
|
|
|