From 58d49b3333d2d7bd3fe38b5d1e83a8333fbb4e4c Mon Sep 17 00:00:00 2001 From: Jonathan Striebel Date: Thu, 26 Jul 2018 13:35:01 +0200 Subject: [PATCH] helm chart: remove endpoints from rbac resources --- contrib/charts/cert-manager/templates/rbac.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/contrib/charts/cert-manager/templates/rbac.yaml b/contrib/charts/cert-manager/templates/rbac.yaml index 4c783ef39..d6503c871 100644 --- a/contrib/charts/cert-manager/templates/rbac.yaml +++ b/contrib/charts/cert-manager/templates/rbac.yaml @@ -13,12 +13,7 @@ rules: resources: ["certificates", "issuers", "clusterissuers"] verbs: ["*"] - apiGroups: [""] - # TODO: remove endpoints once 0.4 is released. We include it here in case - # users use the 'master' version of the Helm chart with a 0.2.x release of - # cert-manager that still performs leader election with Endpoint resources. - # We advise users don't do this, but some will anyway and this will reduce - # friction. - resources: ["endpoints", "configmaps", "secrets", "events", "services", "pods"] + resources: ["configmaps", "secrets", "events", "services", "pods"] verbs: ["*"] - apiGroups: ["extensions"] resources: ["ingresses"]