mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
[cozystack-controller] Introduce new dashboard-controller [dashboard] Introduce new dashboard based on openapi-ui Co-authored-by: kklinch0 <kklinch0@gmail.com> Signed-off-by: kklinch0 <kklinch0@gmail.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
22 lines
699 B
Makefile
22 lines
699 B
Makefile
GRAFANA_TAG = $(shell awk '$$1 == "version:" {print $$2}' Chart.yaml)
|
|
|
|
NAME=monitoring
|
|
|
|
include ../../../scripts/common-envs.mk
|
|
include ../../../scripts/package.mk
|
|
|
|
generate:
|
|
cozyvalues-gen -v values.yaml -s values.schema.json -r README.md
|
|
../../../hack/update-crd.sh
|
|
|
|
image:
|
|
docker buildx build images/grafana \
|
|
--tag $(REGISTRY)/grafana:$(call settag,$(GRAFANA_TAG)) \
|
|
--cache-from type=registry,ref=$(REGISTRY)/grafana:latest \
|
|
--cache-to type=inline \
|
|
--metadata-file images/grafana.json \
|
|
$(BUILDX_ARGS)
|
|
echo "$(REGISTRY)/grafana:$(call settag,$(GRAFANA_TAG))@$$(yq e '."containerimage.digest"' images/grafana.json -o json -r)" \
|
|
> images/grafana.tag
|
|
rm -f images/grafana.json
|