From 60723198aa6858edad9929250d421bfe5b920579 Mon Sep 17 00:00:00 2001 From: Joonas Bergius Date: Thu, 25 Apr 2024 11:44:40 -0500 Subject: [PATCH] Add Pods and EndpointSlices permissions to operator CR Signed-off-by: Joonas Bergius --- charts/wasmcloud-operator/Chart.yaml | 4 ++-- .../wasmcloud-operator/templates/cluster-role.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/charts/wasmcloud-operator/Chart.yaml b/charts/wasmcloud-operator/Chart.yaml index df5bd1d..cdae380 100644 --- a/charts/wasmcloud-operator/Chart.yaml +++ b/charts/wasmcloud-operator/Chart.yaml @@ -7,10 +7,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.1.1" +appVersion: "0.2.0" diff --git a/charts/wasmcloud-operator/templates/cluster-role.yaml b/charts/wasmcloud-operator/templates/cluster-role.yaml index 94c55b2..fcf8afd 100644 --- a/charts/wasmcloud-operator/templates/cluster-role.yaml +++ b/charts/wasmcloud-operator/templates/cluster-role.yaml @@ -12,6 +12,7 @@ rules: - services - configmaps - serviceaccounts + - pods verbs: - get - list @@ -67,6 +68,17 @@ rules: - list - patch - update + - apiGroups: + - discovery.k8s.io + resources: + - endpointslices + verbs: + - create + - delete + - get + - list + - patch + - update - apiGroups: - k8s.wasmcloud.dev resources: