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 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"]