From 1ce10908a792e30ec72f5a26402cdbe161bd44b8 Mon Sep 17 00:00:00 2001 From: "Patrick M. Slattery" <5231477+patrickmslatteryvt@users.noreply.github.com> Date: Mon, 17 Dec 2018 11:23:10 -0500 Subject: [PATCH] Updated role to accommodate using a Helm release name other than "kured" (#9206) * Updated role to accommodate using a Helm release name other than "kured" Signed-off-by: Patrick M. Slattery * update chart version the chart version should be bumped by more than a patch from this change. Also since its a stable chart, we might as well bump it to a 1.0.0 release. Signed-off-by: Paul Czarkowski --- stable/kured/Chart.yaml | 5 ++++- stable/kured/templates/role.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stable/kured/Chart.yaml b/stable/kured/Chart.yaml index 9ca594c88b..d9161ea15b 100644 --- a/stable/kured/Chart.yaml +++ b/stable/kured/Chart.yaml @@ -2,10 +2,13 @@ apiVersion: v1 appVersion: "1.1.0" description: A Helm chart for kured name: kured -version: 0.1.2 +version: 1.0.0 home: https://github.com/weaveworks/kured maintainers: - name: plumdog email: plummer574@gmail.com + - name: patrickmslatteryvt + email: pslattery@mi9retail.com sources: - https://github.com/weaveworks/kured +icon: https://raw.githubusercontent.com/weaveworks/kured/master/img/logo.png diff --git a/stable/kured/templates/role.yaml b/stable/kured/templates/role.yaml index 05f7d7ffb6..5209a405a5 100644 --- a/stable/kured/templates/role.yaml +++ b/stable/kured/templates/role.yaml @@ -13,6 +13,6 @@ rules: # Allow kured to lock/unlock itself - apiGroups: ["extensions"] resources: ["daemonsets"] - resourceNames: ["kured"] + resourceNames: ["{{ template "kured.fullname" . }}"] verbs: ["update"] {{- end -}}