Skip to content

Commit f15f28a

Browse files
kranurag7janiskemper
authored andcommitted
use scs capd image while using docker provider
users on fedora using btrfs filesystem were having issues with capd and that was fixed on main and it requires building your own image and using the same here for now. I tested it by building the image locally and now I don't see any error. This will be fixed when we upgrade to 1.6.3 or later version. As of now, we will rely on image built from CAPI main branch and pushed to ghcr.io/sovereigncloudstack/capd with 1.0.5 tag. Signed-off-by: kranurag7 <[email protected]>
1 parent 69ce1dc commit f15f28a

File tree

3 files changed

+2269
-5
lines changed

3 files changed

+2269
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ env-vars-for-wl-cluster:
184184
.PHONY: delete-bootstrap-cluster
185185
delete-bootstrap-cluster: $(CTLPTL) ## Deletes Kind-dev Cluster
186186
$(CTLPTL) delete cluster kind-cso
187-
$(CTLPTL) delete registry cso-registry
187+
$(CTLPTL) delete registry kind-registry
188188

189189
.PHONY: cluster
190190
cluster: get-dependencies $(CTLPTL) $(KUBECTL) ## Creates kind-dev Cluster

Tiltfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,10 @@ def deploy_capi():
6262
patch_args_with_extra_args("capi-kubeadm-bootstrap-system", "capi-kubeadm-bootstrap-controller-manager", kb_extra_args)
6363

6464
def deploy_capd():
65-
version = settings.get("capi_version")
66-
capd_uri = "https://github.com/kubernetes-sigs/cluster-api/releases/download/{}/infrastructure-components-development.yaml".format(version)
67-
cmd = "curl -sSL {} | {} | kubectl apply -f -".format(capd_uri, envsubst_cmd)
65+
yaml = './capd.yaml'
66+
cmd = "kubectl apply -f capd.yaml"
6867
local(cmd, quiet = True)
6968

70-
7169
def prepare_environment():
7270
local("kubectl create namespace cluster --dry-run=client -o yaml | kubectl apply -f -")
7371

0 commit comments

Comments
 (0)