Skip to content

Commit

Permalink
Merge pull request #26 from cwiklik/fix-hardcoded-tag
Browse files Browse the repository at this point in the history
🐛 Fixed hardcoded image tag
  • Loading branch information
pdettori authored Oct 9, 2024
2 parents cab6068 + ee3ae62 commit 0a9f84f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kueue-ks/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ spec:
- --health-probe-bind-address=:8085
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
image: ko.local/kueue-ks:e559205
image: {{.Values.image}}
livenessProbe:
httpGet:
path: /healthz
Expand Down
7 changes: 6 additions & 1 deletion kueue-ks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ IMAGE_TAG ?= $(shell git rev-parse --short HEAD)
#IMAGE_TAG ?= 0.0.1
CMD_NAME ?= kueue-ks
IMG ?= ${KO_DOCKER_REPO}/${CMD_NAME}:${IMAGE_TAG}
HELM_IMG := --set image=${IMG}
HELM_OPTS := ${HELM_OPTS} ${HELM_IMG}
@echo ${HELM_OPTS}

#FOO ?= " --set image=${IMG}"
# Image URL to use all building/pushing image targets
#IMG ?= controller:latest
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
Expand Down Expand Up @@ -142,7 +147,7 @@ k3d-load-image:

.PHONY: k3d-install-local-chart
k3d-install-local-chart: k3d-load-image
if [ ! -n "$(CONTEXT)" ] ; then helm upgrade --install --create-namespace -n kueue-ks-system kueue-ks ../charts/kueue-ks ${HELM_OPTS} ; else helm --kube-context ${CONTEXT} upgrade --install --create-namespace -n kueue-ks-system kueue-ks ../charts/kueue-ks ${HELM_OPTS} ; fi
if [ ! -n "$(CONTEXT)" ] ; then helm upgrade --install --create-namespace -n kueue-ks-system kueue-ks ../charts/kueue-ks ${HELM_OPTS} ; else helm --kube-context ${CONTEXT} upgrade --install --create-namespace -n kueue-ks-system kueue-ks ../charts/kueue-ks ${HELM_OPTS}; fi

##@ Build Dependencies

Expand Down

0 comments on commit 0a9f84f

Please sign in to comment.