2022-04-08 15:09:40 +00:00
|
|
|
REGISTRY := public.ecr.aws/zero-downtime
|
2022-05-11 10:00:53 +00:00
|
|
|
IMAGE := kubezero-admin
|
|
|
|
REGION := us-east-1
|
2020-12-18 00:46:15 +00:00
|
|
|
|
2022-05-16 15:55:49 +00:00
|
|
|
# Also tag as Kubernetes major version
|
2023-04-26 10:26:30 +00:00
|
|
|
MY_TAG = $(shell git describe --tags --match v*.*.* 2>/dev/null || git rev-parse --short HEAD 2>/dev/null)
|
|
|
|
EXTRA_TAGS = $(shell echo $(MY_TAG) | awk -F '.' '{ print $$1 "." $$2 }')
|
2022-05-16 15:55:49 +00:00
|
|
|
|
2022-05-11 10:00:53 +00:00
|
|
|
include .ci/podman.mk
|
2022-04-08 15:09:40 +00:00
|
|
|
|
|
|
|
update-charts:
|
2021-01-27 12:20:11 +00:00
|
|
|
./scripts/update_helm.sh
|
2021-01-21 10:53:53 +00:00
|
|
|
|
2022-04-08 15:09:40 +00:00
|
|
|
update-chart-docs:
|
2021-01-21 10:53:53 +00:00
|
|
|
for c in charts/*; do \
|
|
|
|
[[ $$c =~ "kubezero-lib" ]] && continue ; \
|
|
|
|
[[ $$c =~ "kubeadm" ]] && continue ; \
|
|
|
|
helm-docs -c $$c ; \
|
|
|
|
done
|
2021-01-27 12:20:11 +00:00
|
|
|
|
2022-04-08 15:09:40 +00:00
|
|
|
publish-charts:
|
2021-01-27 12:20:11 +00:00
|
|
|
./scripts/publish.sh
|
2022-04-08 15:09:40 +00:00
|
|
|
|