From a8cda361f9deb714ee14515a66f0541f1706d968 Mon Sep 17 00:00:00 2001 From: Ben Bettridge Date: Tue, 14 Sep 2021 10:43:18 +1200 Subject: [PATCH 1/3] Add the 'watch' permission for pods --- .../templates/clusterrole.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/charts/ingressmonitorcontroller/templates/clusterrole.yaml b/charts/ingressmonitorcontroller/templates/clusterrole.yaml index 2ff546bb..ade4d1ae 100644 --- a/charts/ingressmonitorcontroller/templates/clusterrole.yaml +++ b/charts/ingressmonitorcontroller/templates/clusterrole.yaml @@ -15,13 +15,7 @@ rules: verbs: - get - list -- apiGroups: - - "" - resources: - - services - verbs: - - get - - list + - watch - apiGroups: - "" resources: @@ -111,4 +105,4 @@ rules: - create {{- end }} -{{- end }} \ No newline at end of file +{{- end }} From b257c09df808ec2ba6315753f20c037f25911bc4 Mon Sep 17 00:00:00 2001 From: Ben Bettridge Date: Tue, 14 Sep 2021 10:49:01 +1200 Subject: [PATCH 2/3] Add the 'watch' permission for services --- charts/ingressmonitorcontroller/templates/clusterrole.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/ingressmonitorcontroller/templates/clusterrole.yaml b/charts/ingressmonitorcontroller/templates/clusterrole.yaml index ade4d1ae..3bd9690f 100644 --- a/charts/ingressmonitorcontroller/templates/clusterrole.yaml +++ b/charts/ingressmonitorcontroller/templates/clusterrole.yaml @@ -23,6 +23,7 @@ rules: verbs: - get - list + - watch - apiGroups: - endpointmonitor.stakater.com resources: From 290516005830be0e78e1cc892fa13d64d37c047f Mon Sep 17 00:00:00 2001 From: Ben Bettridge Date: Tue, 14 Sep 2021 12:09:32 +1200 Subject: [PATCH 3/3] Bump chart version --- charts/ingressmonitorcontroller/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/ingressmonitorcontroller/Chart.yaml b/charts/ingressmonitorcontroller/Chart.yaml index 0659eeab..78ede80f 100644 --- a/charts/ingressmonitorcontroller/Chart.yaml +++ b/charts/ingressmonitorcontroller/Chart.yaml @@ -3,7 +3,7 @@ name: ingressmonitorcontroller description: IngressMonitorController Operator chart that runs on kubernetes # Helm chart Version -version: 2.1.11 +version: 2.1.12 # Application version to be deployed appVersion: 2.1.11