Skip to content

Commit

Permalink
Merge pull request #152 from stackrox/master
Browse files Browse the repository at this point in the history
sync: master to stage
  • Loading branch information
stehessel authored Oct 25, 2023
2 parents 026e482 + 94d5c72 commit 3b259be
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 149 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ To make changes to the rhacs dashboards:
* Run `make generate` to generate the corresponding resources for the Grafana operator.

To make changes to Kubernetes mixin resources:

First, make sure you have `go-jsonnet` and `jsonnet-bundler` installed.

Then:
* Update `resources/mixins/kubernetes/mixin.libsonnet`.
* Run `make generate` to generate the corresponding mixin resources.

Expand Down
8 changes: 6 additions & 2 deletions resources/mixins/kubernetes/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.PHONY: update
update: update-jb generate
update: install update-jb generate

.PHONY: install
install:
@jb install github.com/kubernetes-monitoring/kubernetes-mixin

.PHONY: update-jb
update-jb:
Expand All @@ -16,4 +20,4 @@ dashboards: templates/dashboards/*
@scripts/generate-dashboards.sh

.PHONY: generate
generate: alerts dashboards
generate: install alerts dashboards
Loading

0 comments on commit 3b259be

Please sign in to comment.