Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,16 @@ setup-dashboard:
.PHONY: setup-tracing
setup-tracing:
KUBECONFIG=$(KUBECONFIG) ./hack/setup-tracing.sh

.PHONY: lke-test
lke-test:
# Set temporary image tag using ttl.sh
$(eval DEV_TAG_EXTENSION := $(shell git rev-parse --short HEAD))
$(eval TEMP_IMAGE_TAG := ttl.sh/$(IMAGE_NAME)-$(IMAGE_VERSION)-$(DEV_TAG_EXTENSION):1h)

# Build and push the image with the temporary tag
IMAGE_TAG=$(TEMP_IMAGE_TAG) $(MAKE) docker-build docker-push

# Update the image in the DaemonSet and StatefulSet
kubectl -n kube-system set image ds csi-linode-node csi-linode-plugin=$(TEMP_IMAGE_TAG)
kubectl -n kube-system set image sts csi-linode-controller csi-linode-plugin=$(TEMP_IMAGE_TAG)
Loading