From 2f3e90f99705abb65025c2dc610d8616cf1f5168 Mon Sep 17 00:00:00 2001 From: sekka1 Date: Wed, 2 Jan 2019 09:24:18 -0800 Subject: [PATCH] [stable/kong] Update Kong role to match users params (#10263) * Making the resource dynamic to what the user value is Signed-off-by: garland * Upping chart version Signed-off-by: garland * Bumped the wrong version Signed-off-by: garland --- stable/kong/Chart.yaml | 2 +- stable/kong/templates/controller-rbac-role.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/kong/Chart.yaml b/stable/kong/Chart.yaml index 863f734457..e40c8407c4 100644 --- a/stable/kong/Chart.yaml +++ b/stable/kong/Chart.yaml @@ -12,5 +12,5 @@ maintainers: name: kong sources: - https://github.com/Kong/kong -version: 0.7.0 +version: 0.7.1 appVersion: 0.14.1 diff --git a/stable/kong/templates/controller-rbac-role.yaml b/stable/kong/templates/controller-rbac-role.yaml index c52802c7d9..fb11cc989f 100644 --- a/stable/kong/templates/controller-rbac-role.yaml +++ b/stable/kong/templates/controller-rbac-role.yaml @@ -28,7 +28,7 @@ rules: # Here: "-" # This has to be adapted if you change either parameter # when launching the nginx-ingress-controller. - - "ingress-controller-leader-nginx" + - "kong-ingress-controller-leader-kong-{{ .Values.ingressController.ingressClass }}" verbs: - get - update