From faba4c93b03c1a20957f95cb3ff5246dfea2f4bd Mon Sep 17 00:00:00 2001 From: Pere Alcoberro Date: Sun, 21 Jul 2019 10:36:53 +0200 Subject: [PATCH] Fix RoleBindings (#15160) Signed-off-by: Pere Alcoberro Turu --- stable/kiam/Chart.yaml | 2 +- stable/kiam/templates/agent-psp-rolebinding.yaml | 3 +-- stable/kiam/templates/server-psp-rolebinding.yaml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/stable/kiam/Chart.yaml b/stable/kiam/Chart.yaml index 859f64217b..a19b056c3c 100644 --- a/stable/kiam/Chart.yaml +++ b/stable/kiam/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: kiam -version: 2.4.3 +version: 2.4.4 appVersion: 3.2 description: Integrate AWS IAM with Kubernetes keywords: diff --git a/stable/kiam/templates/agent-psp-rolebinding.yaml b/stable/kiam/templates/agent-psp-rolebinding.yaml index 2168b2f0d2..2892db12c0 100644 --- a/stable/kiam/templates/agent-psp-rolebinding.yaml +++ b/stable/kiam/templates/agent-psp-rolebinding.yaml @@ -16,8 +16,7 @@ roleRef: kind: ClusterRole name: {{ template "kiam.fullname" . }}-agent-psp-use subjects: -- apiGroup: rbac.authorization.k8s.io - kind: ServiceAccount +- kind: ServiceAccount name: {{ template "kiam.serviceAccountName.agent" . }} {{- end -}} {{- end }} diff --git a/stable/kiam/templates/server-psp-rolebinding.yaml b/stable/kiam/templates/server-psp-rolebinding.yaml index 8602d64ab9..f348683f30 100644 --- a/stable/kiam/templates/server-psp-rolebinding.yaml +++ b/stable/kiam/templates/server-psp-rolebinding.yaml @@ -16,8 +16,7 @@ roleRef: kind: ClusterRole name: {{ template "kiam.fullname" . }}-server-psp-use subjects: -- apiGroup: rbac.authorization.k8s.io - kind: ServiceAccount +- kind: ServiceAccount name: {{ template "kiam.serviceAccountName.server" . }} {{- end -}} {{- end }}