From d1eacecc6cf8da4b24e0b4d6a790c807b5f28c7f Mon Sep 17 00:00:00 2001 From: Scott Trent Date: Fri, 19 Apr 2024 14:37:52 +0900 Subject: [PATCH] add pod permissions to serviceaccount Signed-off-by: Scott Trent --- VERSION | 2 +- .../susql-operator.clusterserviceversion.yaml | 26 ++++++++++++++++--- config/manager/kustomization.yaml | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index bbdeab6..1750564 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.5 +0.0.6 diff --git a/bundle/manifests/susql-operator.clusterserviceversion.yaml b/bundle/manifests/susql-operator.clusterserviceversion.yaml index 7a14e06..a9d577d 100644 --- a/bundle/manifests/susql-operator.clusterserviceversion.yaml +++ b/bundle/manifests/susql-operator.clusterserviceversion.yaml @@ -22,14 +22,14 @@ metadata: ] capabilities: Basic Install categories: Monitoring - containerImage: quay.io/sustainable_computing_io/susql_operator:0.0.5 + containerImage: quay.io/sustainable_computing_io/susql_operator:0.0.6 createdAt: "2024-04-18T16:36:33Z" description: 'Aggregates energy data from pods tagged with SusQL labels ' operators.operatorframework.io/builder: operator-sdk-v1.34.1 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 repository: https://github.com/sustainable-computing-io/susql-operator support: https://github.com/sustainable-computing-io/susql-operator/issues - name: susql-operator.v0.0.5 + name: susql-operator.v0.0.6 namespace: placeholder spec: apiservicedefinitions: {} @@ -135,6 +135,24 @@ spec: - subjectaccessreviews verbs: - create + - apiGroups: + - "" + resources: + - pods + - pods/status + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - pods + - pods/status + verbs: + - get + - list + - watch serviceAccountName: susql-operator-controller-manager deployments: - label: @@ -206,7 +224,7 @@ spec: value: http://0.0.0.0:8082 - name: SAMPLING-RATE value: "2" - image: quay.io/sustainable_computing_io/susql_operator:0.0.5 + image: quay.io/sustainable_computing_io/susql_operator:0.0.6 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -302,4 +320,4 @@ spec: provider: name: SusQL Operator Contributors url: https://github.com/sustainable-computing-io/susql-operator - version: 0.0.5 + version: 0.0.6 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 4431f91..44ed93a 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ kind: Kustomization images: - name: controller newName: quay.io/sustainable_computing_io/susql_operator - newTag: 0.0.5 + newTag: 0.0.6