capi-operator example for airgapped installation

This commit is contained in:
nbykov0
2024-06-19 18:59:15 +03:00
parent b30a9a6fcf
commit fceba58cd0
2 changed files with 12 additions and 1 deletions

View File

@@ -1,11 +1,21 @@
NAME=capi-operator
NAMESPACE=cozy-cluster-api
TYPE=system
include ../../../scripts/common-envs.mk
include ../../../scripts/package-system.mk
update:
update: update-charts update-dockerfiles
update-charts:
rm -rf charts
helm repo add capi-operator https://kubernetes-sigs.github.io/cluster-api-operator
helm repo update capi-operator
helm pull capi-operator/cluster-api-operator --untar --untardir charts
rm -rf charts/cluster-api-operator/charts
update-dockerfiles:
../../../scripts/update-dockerfiles.sh with_helm
image:
../../../scripts/build-images.sh $(REGISTRY) $(NAME) $(TYPE) $(PUSH) $(LOAD)

View File

@@ -0,0 +1 @@
FROM registry.k8s.io/capi-operator/cluster-api-operator:v0.8.1