Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1009 from flanksource/fix-grafana-rbac
Browse files Browse the repository at this point in the history
fix: use correct rbac for grafana controller
  • Loading branch information
moshloop committed Apr 12, 2022
2 parents 7b9c145 + bd12b60 commit 8c92c66
Show file tree
Hide file tree
Showing 17 changed files with 3,965 additions and 5,496 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.36
version: v1.45.2
- name: filename and manifests check
run: go run test/linter/main.go
3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ linters:
- goconst
- gofmt
- goimports
- golint
- goprintffuncname
- gosimple
- govet
- ineffassign
- interfacer
- misspell
- nakedret
- revive
- rowserrcheck
- staticcheck
- structcheck
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ VM captures the specifications of a virtual machine
| disabled | | bool | |
| accessKey | | string | |
| secretKey | | string | |
| kmsKeyId | The AWS KMS ARN Id to use to unseal vault | string | |
| kmsKeyId | The AWS KMS ARN ID to use to unseal vault | string | |
| region | | string | |
| consul | | [Consul](#consul) | |

Expand Down
6 changes: 6 additions & 0 deletions manifests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ platform-operator.yaml:
$(call BUILD_BASE,platform-operator)
$(SED) -i 's/.*TEMPLATE_MARK.*/ {{- range $$k, $$v := .platformOperator.args }}\n - --{{$$k}}={{$$v}}\n {{- end }}/' platform-operator.yaml

.PHONY: monitoring/grafana-operator.yaml
monitoring/grafana-operator.yaml:
$(call BUILD_BASE,monitoring/grafana-operator)
$(SED) -i 's/controller-manager/grafana-operator/' monitoring/grafana-operator.yaml
$(SED) -i 's/manager-role/grafana-operator-role/' monitoring/grafana-operator.yaml

.PHONY: canary-checker.yaml
canary-checker.yaml:
$(call BUILD_HELM_CHART,canary-checker)
Expand Down
Loading

0 comments on commit 8c92c66

Please sign in to comment.