mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 02:18:36 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit Based on the comprehensive summary of changes, here are the release notes: - **New Features** - Added a new Kubernetes controller for managing workload monitoring - Introduced telemetry collection capabilities with configurable options - Added new Custom Resource Definitions (CRDs) for Workload and WorkloadMonitor - **Improvements** - Enhanced API infrastructure with new API group and version - Improved deployment configurations for various system components - Added development container and workflow configurations - **Bug Fixes** - Updated import paths to correct domain naming - **Chores** - Updated copyright years - Refined module dependencies - Standardized code linting and testing configurations - **Infrastructure** - Increased `cozystack-api` deployment replicas from 1 to 2 for improved availability <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
25 lines
930 B
Makefile
25 lines
930 B
Makefile
NAME=cozystack-controller
|
|
NAMESPACE=cozy-system
|
|
|
|
include ../../../scripts/common-envs.mk
|
|
include ../../../scripts/package.mk
|
|
|
|
image: image-cozystack-controller update-version
|
|
|
|
image-cozystack-controller:
|
|
docker buildx build -f images/cozystack-controller/Dockerfile ../../.. \
|
|
--provenance false \
|
|
--tag $(REGISTRY)/cozystack-controller:$(call settag,$(TAG)) \
|
|
--cache-from type=registry,ref=$(REGISTRY)/cozystack-controller:latest \
|
|
--cache-to type=inline \
|
|
--metadata-file images/cozystack-controller.json \
|
|
--push=$(PUSH) \
|
|
--load=$(LOAD)
|
|
IMAGE="$(REGISTRY)/cozystack-controller:$(call settag,$(TAG))@$$(yq e '."containerimage.digest"' images/cozystack-controller.json -o json -r)" \
|
|
yq -i '.cozystackController.image = strenv(IMAGE)' values.yaml
|
|
rm -f images/cozystack-controller.json
|
|
|
|
update-version:
|
|
TAG="$(call settag,$(TAG))" \
|
|
yq -i '.cozystackController.cozystackVersion = strenv(TAG)' values.yaml
|