From 53694911aa55635f357f485cd4944a329665e7c2 Mon Sep 17 00:00:00 2001 From: greg pereira Date: Tue, 19 Mar 2024 06:49:33 -0700 Subject: [PATCH] adding ability to check configmaps --- charts/trusted-artifact-signer/Chart.yaml | 2 +- charts/trusted-artifact-signer/README.md | 2 +- .../templates/segment-backup-job-clusterrole.yaml | 7 +++++++ charts/trusted-artifact-signer/values.yaml | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/charts/trusted-artifact-signer/Chart.yaml b/charts/trusted-artifact-signer/Chart.yaml index b8dab8ac..6dda4943 100644 --- a/charts/trusted-artifact-signer/Chart.yaml +++ b/charts/trusted-artifact-signer/Chart.yaml @@ -33,4 +33,4 @@ sources: # 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.48 +version: 0.1.49 diff --git a/charts/trusted-artifact-signer/README.md b/charts/trusted-artifact-signer/README.md index fa589fe4..9213d73e 100644 --- a/charts/trusted-artifact-signer/README.md +++ b/charts/trusted-artifact-signer/README.md @@ -157,7 +157,7 @@ Kubernetes: `>= 1.19.0-0` | configs.segment_backup_job.image.pullPolicy | | string | `"IfNotPresent"` | | configs.segment_backup_job.image.registry | | string | `"quay.io"` | | configs.segment_backup_job.image.repository | | string | `"redhat-user-workloads/rhtas-tenant/segment-backup-job/segment-backup-job"` | -| configs.segment_backup_job.image.version | | string | `"sha256:3d229e3cd63ca2673b9db3c595677c8b6898ff48e474d7b5c555fb19e9f858a3"` | +| configs.segment_backup_job.image.version | | string | `"sha256:8adc001b08216d001271d254f918fc1855c575123e393783102ddc991bf9f082"` | | configs.segment_backup_job.name | | string | `"segment-backup-job"` | | configs.segment_backup_job.namespace | | string | `"trusted-artifact-signer-monitoring"` | | configs.segment_backup_job.namespace_create | | bool | `false` | diff --git a/charts/trusted-artifact-signer/templates/segment-backup-job-clusterrole.yaml b/charts/trusted-artifact-signer/templates/segment-backup-job-clusterrole.yaml index 1f1d159f..81cd7bf9 100644 --- a/charts/trusted-artifact-signer/templates/segment-backup-job-clusterrole.yaml +++ b/charts/trusted-artifact-signer/templates/segment-backup-job-clusterrole.yaml @@ -8,6 +8,7 @@ rules: - "" resources: - secrets + - configmaps verbs: - get - list @@ -18,4 +19,10 @@ rules: verbs: - get - list +- apiGroups: + - "operator.openshift.io/v1" + resources: + - console + verbs: + - get {{- end}} diff --git a/charts/trusted-artifact-signer/values.yaml b/charts/trusted-artifact-signer/values.yaml index c5991e42..9c75c141 100644 --- a/charts/trusted-artifact-signer/values.yaml +++ b/charts/trusted-artifact-signer/values.yaml @@ -11,7 +11,7 @@ configs: image: registry: quay.io repository: redhat-user-workloads/rhtas-tenant/segment-backup-job/segment-backup-job - version: "sha256:89cadb0759653c1e2d9e0b1ecc540eace323f23cff4d1e964ec49333e51eced7" + version: "sha256:8adc001b08216d001271d254f918fc1855c575123e393783102ddc991bf9f082" pullPolicy: IfNotPresent rolebindings: - segment-backup-job