Skip to content

Commit

Permalink
[admin-pod] Fix admin-pod Makefile to push pod image
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-goldstein committed Jul 18, 2024
1 parent bc665db commit e5b7bb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin-pod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ include ../config.mk

.PHONY: build
build:
$(MAKE) -C .. admin-pod-image
$(MAKE) -C .. pushed-private-admin-pod-image

.PHONY: deploy
deploy: build
! [ -z $(NAMESPACE) ] # call this like: make deploy NAMESPACE=default
python3 ../ci/jinja2_render.py '{"admin_pod_image":{"image":"'$$(cat ../admin-pod-image)'"}}' admin-pod.yaml admin-pod.yaml.out
python3 ../ci/jinja2_render.py '{"admin_pod_image":{"image":"'$$(cat ../pushed-private-admin-pod-image)'"}}' admin-pod.yaml admin-pod.yaml.out
kubectl -n $(NAMESPACE) apply -f admin-pod.yaml.out

0 comments on commit e5b7bb4

Please sign in to comment.