From 4a9bc55c8bc1fadb2bce99f13b642a5dcf367e27 Mon Sep 17 00:00:00 2001 From: bastibrunner Date: Thu, 11 Apr 2024 08:06:21 +0200 Subject: [PATCH 1/3] Fix secret name --- charts/minecraft-proxy/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/minecraft-proxy/templates/deployment.yaml b/charts/minecraft-proxy/templates/deployment.yaml index e11206b..8480f41 100644 --- a/charts/minecraft-proxy/templates/deployment.yaml +++ b/charts/minecraft-proxy/templates/deployment.yaml @@ -118,7 +118,7 @@ spec: - name: RCON_PASSWORD valueFrom: secretKeyRef: - name: {{ .Values.minecraftProxy.rcon.existingSecret | default (printf "%s-rcon" (include "proxy.fullname" .)) }} + name: {{ .Values.minecraftProxy.rcon.existingSecret | default (include "proxy.fullname" .) }} key: {{ .Values.minecraftProxy.rcon.secretKey | default "rcon-password" }} {{- else }} - name: ENABLE_RCON From 82a0ef510f459711aa6b351517f7ea713f4c2edb Mon Sep 17 00:00:00 2001 From: bastibrunner Date: Thu, 11 Apr 2024 19:51:01 +0200 Subject: [PATCH 2/3] Bump chart version --- charts/minecraft-proxy/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/minecraft-proxy/Chart.yaml b/charts/minecraft-proxy/Chart.yaml index 9358403..9a76624 100644 --- a/charts/minecraft-proxy/Chart.yaml +++ b/charts/minecraft-proxy/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft-proxy -version: 3.6.0 +version: 3.6.1 appVersion: SeeValues description: Minecraft proxy server (BungeeCord, Waterfall, Velocity, etc.) keywords: From d6819b5d00d9f6520968efd8d47ce53b55ef2c8d Mon Sep 17 00:00:00 2001 From: Basti Date: Thu, 11 Apr 2024 20:07:02 +0200 Subject: [PATCH 3/3] revert and change secret name instead --- charts/minecraft-proxy/templates/deployment.yaml | 2 +- charts/minecraft-proxy/templates/secret.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/minecraft-proxy/templates/deployment.yaml b/charts/minecraft-proxy/templates/deployment.yaml index 8480f41..e11206b 100644 --- a/charts/minecraft-proxy/templates/deployment.yaml +++ b/charts/minecraft-proxy/templates/deployment.yaml @@ -118,7 +118,7 @@ spec: - name: RCON_PASSWORD valueFrom: secretKeyRef: - name: {{ .Values.minecraftProxy.rcon.existingSecret | default (include "proxy.fullname" .) }} + name: {{ .Values.minecraftProxy.rcon.existingSecret | default (printf "%s-rcon" (include "proxy.fullname" .)) }} key: {{ .Values.minecraftProxy.rcon.secretKey | default "rcon-password" }} {{- else }} - name: ENABLE_RCON diff --git a/charts/minecraft-proxy/templates/secret.yaml b/charts/minecraft-proxy/templates/secret.yaml index a7f0a15..8c7d64f 100644 --- a/charts/minecraft-proxy/templates/secret.yaml +++ b/charts/minecraft-proxy/templates/secret.yaml @@ -3,7 +3,7 @@ apiVersion: v1 kind: Secret metadata: - name: {{ template "proxy.fullname" . }} + name: "{{ template "proxy.fullname" . }}-rcon" labels: app: {{ template "proxy.fullname" . }} chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"