Skip to content

Commit

Permalink
Add support to see namespace when performing --dry-run (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanchauvin authored Aug 30, 2024
1 parent ba5b3ba commit c92a8a5
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/mc-router/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: mc-router
version: 1.2.2
version: 1.2.3
appVersion: 1.20.0
home: https://github.com/itzg/mc-router
description: Routes Minecraft client connections to backend servers based upon the requested server address.
Expand Down
1 change: 1 addition & 0 deletions charts/mc-router/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "mc-router.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand Down
1 change: 1 addition & 0 deletions charts/mc-router/templates/router-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ include "mc-router.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "mc-router.labels" . | nindent 4 }}
annotations:
Expand Down
1 change: 1 addition & 0 deletions charts/mc-router/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "mc-router.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "mc-router.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
Expand Down
2 changes: 1 addition & 1 deletion charts/minecraft-bedrock/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft-bedrock
version: 2.8.0
version: 2.8.1
appVersion: SeeValues
home: https://minecraft.net/
description: Minecraft server
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-bedrock/templates/datadir-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "minecraft.fullname" . }}-datadir
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minecraft.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-bedrock/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: {{ ternary "StatefulSet" "Deployment" .Values.workloadAsStatefulSet }}
metadata:
name: {{ template "minecraft.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- if .Values.deploymentAnnotations }}
annotations:
{{- range $key, $value := .Values.deploymentAnnotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-bedrock/templates/minecraft-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "minecraft.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minecraft.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/minecraft-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft-proxy
version: 3.8.0
version: 3.8.1
appVersion: SeeValues
description: Minecraft proxy server (BungeeCord, Waterfall, Velocity, etc.)
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "proxy.fullname" . }}-config
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "proxy.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/datadir-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "proxy.fullname" . }}-datadir
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "proxy.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "proxy.fullname" . }}
namespace: {{ .Release.Namespace }}
annotations: {{ toYaml .Values.deploymentAnnotations | nindent 4 }}
labels:
app: {{ template "proxy.fullname" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/extraports-ing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $serviceName }}
namespace: {{ .Release.Namespace }}
{{- if .ingress.annotations }}
annotations: {{- toYaml .ingress.annotations | nindent 4 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/extraports-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ $serviceName }}
namespace: {{ .Release.Namespace }}
annotations: {{ toYaml .service.annotations | nindent 4 }}
labels:
app: {{ $serviceName }}
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/proxy-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "proxy.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "proxy.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/rcon-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Service
metadata:
name: "{{ template "proxy.fullname" . }}-rcon"
namespace: {{ .Release.Namespace }}
annotations:
{{ toYaml .Values.rconServiceAnnotations | indent 4 }}
labels:
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft-proxy/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: Secret
metadata:
name: "{{ template "proxy.fullname" . }}-rcon"
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "proxy.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
2 changes: 1 addition & 1 deletion charts/minecraft/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft
version: 4.22.0
version: 4.22.1
appVersion: SeeValues
home: https://minecraft.net/
description: Minecraft server
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft/templates/backupdir-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "minecraft.fullname" . }}-backupdir
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minecraft.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft/templates/datadir-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "minecraft.fullname" . }}-datadir
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minecraft.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: {{ ternary "StatefulSet" "Deployment" .Values.workloadAsStatefulSet }}
metadata:
name: {{ template "minecraft.fullname" . }}
namespace: {{ .Release.Namespace }}
{{- if .Values.deploymentAnnotations }}
annotations:
{{- range $key, $value := .Values.deploymentAnnotations }}
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft/templates/extraports-ing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ apiVersion: {{ include "minecraft.ingress.apiVersion" $ }}
kind: Ingress
metadata:
name: {{ $serviceName }}
namespace: {{ .Release.Namespace }}
{{- if .ingress.annotations }}
annotations: {{- toYaml .ingress.annotations | nindent 4 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft/templates/extraports-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ $serviceName }}
namespace: {{ .Release.Namespace }}
annotations: {{ toYaml .service.annotations | nindent 4 }}
labels:
app: {{ $serviceName }}
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft/templates/minecraft-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "minecraft.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minecraft.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down
1 change: 1 addition & 0 deletions charts/minecraft/templates/rcon-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: v1
kind: Service
metadata:
name: "{{ template "minecraft.fullname" . }}-rcon"
namespace: {{ .Release.Namespace }}
annotations:
{{ toYaml .Values.rconServiceAnnotations | indent 4 }}
labels:
Expand Down
2 changes: 2 additions & 0 deletions charts/minecraft/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: Secret
metadata:
name: "{{ template "minecraft.fullname" . }}-rcon"
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minecraft.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand All @@ -22,6 +23,7 @@ apiVersion: v1
kind: Secret
metadata:
name: "{{ template "minecraft.fullname" . }}-curseforge"
namespace: {{ .Release.Namespace }}
labels:
app: {{ template "minecraft.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
Expand Down

0 comments on commit c92a8a5

Please sign in to comment.