From 2ea7803c45baef3bef49dfe98f1dce6e420b3b17 Mon Sep 17 00:00:00 2001 From: Krzysztof Nazarewski <3494992+nazarewk@users.noreply.github.com> Date: Thu, 28 Jun 2018 19:25:22 +0200 Subject: [PATCH] [incubator/kubernetes-vault] Deployment fix (missing selector) (#6265) --- incubator/kubernetes-vault/Chart.yaml | 2 +- incubator/kubernetes-vault/templates/deployment.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/incubator/kubernetes-vault/Chart.yaml b/incubator/kubernetes-vault/Chart.yaml index 4fb2d01f1e..92d9665157 100644 --- a/incubator/kubernetes-vault/Chart.yaml +++ b/incubator/kubernetes-vault/Chart.yaml @@ -2,7 +2,7 @@ name: kubernetes-vault apiVersion: v1 home: https://github.com/Boostport/kubernetes-vault description: The Kubernetes-Vault project allows pods to automatically receive a Vault token using Vaults AppRole auth backend. -version: 0.2.0 +version: 0.2.1 appVersion: 0.5.2 sources: - https://github.com/Boostport/kubernetes-vault diff --git a/incubator/kubernetes-vault/templates/deployment.yaml b/incubator/kubernetes-vault/templates/deployment.yaml index 1480de5bb0..577799ca1f 100644 --- a/incubator/kubernetes-vault/templates/deployment.yaml +++ b/incubator/kubernetes-vault/templates/deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "fullname" . }} @@ -9,6 +9,10 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ template "name" . }} + release: {{ .Release.Name }} template: metadata: labels: