File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -271,12 +271,14 @@ dev-deploy: dev ## Deploy KOF umbrella chart with local development configuratio
271271 if [ " $( SKIP_WAIT) " != " true" ]; then \
272272 echo " Wait for helmreleases readiness ..." ; \
273273 $(KUBECTL ) wait --for=condition=Ready helmreleases --all -n kof --timeout=10m; \
274- echo " Restarting kof-operator to pick up new image..." ; \
275- $(KUBECTL ) rollout restart -n kof deployment/kof-mothership-kof-operator || true ; \
276274 else \
277275 echo " ⚠️ Skipping wait for helmreleases" ; \
278276 fi ; \
279277 fi
278+ @if [ -z " $( HELM_CHART_NAME) " ] || [ " $( HELM_CHART_NAME) " = " kof-mothership" ]; then \
279+ echo " Restarting kof-operator to pick up new image..." ; \
280+ $(KUBECTL ) rollout restart -n kof deployment/kof-mothership-kof-operator || true ; \
281+ fi
280282
281283.PHONY : dev-kcm-region-deploy-cloud
282284dev-kcm-region-deploy-cloud : dev # # Deploy kcm region cluster using k0rdent
Original file line number Diff line number Diff line change @@ -82,10 +82,8 @@ helm upgrade --create-namespace --install --wait k0rdent-istio ./charts/k0rdent-
8282* Deploy KOF using the Helm chart with local values:
8383
8484 ``` bash
85- helm upgrade -i kof ./charts/kof \
86- --namespace kof \
87- --create-namespace \
88- -f ./charts/kof/values-local.yaml
85+ make dev-deploy
86+ # make dev-deploy HELM_CHART_NAME=kof-regional # to redeploy a single helm chart during development
8987 ```
9088
9189* Monitor the installation progress:
You can’t perform that action at this time.
0 commit comments