From 8a7b6d00068df354569e0eb56e1d9bc06399631e Mon Sep 17 00:00:00 2001 From: Vincent Kling Date: Sat, 11 Mar 2023 10:19:31 +0100 Subject: [PATCH 1/2] manifest: add missing quote Signed-off-by: Vincent Kling (cherry picked from commit bd857cc5c5225eb1c9e9350d1a9503921cfff015) --- deploy/charts/rook-ceph/templates/clusterrole.yaml | 2 +- deploy/examples/common.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/charts/rook-ceph/templates/clusterrole.yaml b/deploy/charts/rook-ceph/templates/clusterrole.yaml index a5d421f75..b9f446e4f 100644 --- a/deploy/charts/rook-ceph/templates/clusterrole.yaml +++ b/deploy/charts/rook-ceph/templates/clusterrole.yaml @@ -583,7 +583,7 @@ rules: verbs: ["create"] - apiGroups: [""] resources: ["nodes"] - verbs: ["get", "list", watch"] + verbs: ["get", "list", "watch"] - apiGroups: ["storage.k8s.io"] resources: ["csinodes"] verbs: ["get", "list", "watch"] diff --git a/deploy/examples/common.yaml b/deploy/examples/common.yaml index 27564423e..c45be0de1 100644 --- a/deploy/examples/common.yaml +++ b/deploy/examples/common.yaml @@ -156,7 +156,7 @@ rules: verbs: ["create"] - apiGroups: [""] resources: ["nodes"] - verbs: ["get", "list", watch"] + verbs: ["get", "list", "watch"] - apiGroups: ["storage.k8s.io"] resources: ["csinodes"] verbs: ["get", "list", "watch"] From 0815bb21d46397bbdd0236a06dd1207a5743fa77 Mon Sep 17 00:00:00 2001 From: travisn Date: Mon, 13 Mar 2023 10:13:05 -0600 Subject: [PATCH 2/2] ci: update golangci lint version The golangci-lint ci action is failing in the 1.10 branch because it needed to be updated to the latest version. Signed-off-by: travisn --- .github/workflows/golangci-lint.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 9be291700..b43f0dfde 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -26,7 +26,7 @@ jobs: steps: - uses: actions/setup-go@v2 with: - go-version: 1.18 + go-version: 1.19 - uses: actions/checkout@v2 with: fetch-depth: 0 @@ -34,13 +34,13 @@ jobs: uses: golangci/golangci-lint-action@v2 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.45.2 + version: v1.48.0 # Optional: working directory, useful for monorepos # working-directory: somedir # Optional: golangci-lint command line arguments. - args: -E gosec --timeout=6m + args: -E gosec --timeout=10m # Optional: show only new issues if it's a pull request. The default value is `false`. # only-new-issues: true