From c8cc3f67bbe49d38620405b5f90cc4493b08c630 Mon Sep 17 00:00:00 2001 From: Brandon Clifford Date: Fri, 25 Oct 2019 04:21:39 -0600 Subject: [PATCH] [stable/minecraft] Add spec.selector.matchLabels.app for app/v1 compat (#18267) Signed-off-by: Brandon Clifford --- stable/minecraft/Chart.yaml | 2 +- stable/minecraft/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/minecraft/Chart.yaml b/stable/minecraft/Chart.yaml index 274fe13cde..bd56bfabf2 100755 --- a/stable/minecraft/Chart.yaml +++ b/stable/minecraft/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft -version: 1.1.5 +version: 1.1.6 appVersion: 1.14.4 home: https://minecraft.net/ description: Minecraft server diff --git a/stable/minecraft/templates/deployment.yaml b/stable/minecraft/templates/deployment.yaml index 6aabfbacb7..525eddfa0c 100644 --- a/stable/minecraft/templates/deployment.yaml +++ b/stable/minecraft/templates/deployment.yaml @@ -9,6 +9,9 @@ metadata: release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" spec: + selector: + matchLabels: + app: {{ template "minecraft.fullname" . }} template: metadata: labels: