Skip to content

Commit

Permalink
revert changes in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadura committed Jan 30, 2024
1 parent 7593304 commit e6318db
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -269,20 +269,16 @@ ADMISSION_NAME = warden-admission
build-admission:
docker build -t $(ADMISSION_NAME) -f ./docker/admission/Dockerfile .

tag-admission-k3d:
install-admission-k3d: build-admission
$(eval HASH_TAG=$(shell docker images $(ADMISSION_NAME):latest --quiet))
docker tag $(ADMISSION_NAME) $(ADMISSION_NAME):latest3

install-admission-k3d: build-admission tag-admission-k3d
k3d image import $(ADMISSION_NAME):$(HASH_TAG) -c kyma
kubectl set image deployment warden-admission -n default admission=$(ADMISSION_NAME):$(HASH_TAG)
sleep 10
kubectl wait --for condition=Available -n default deployment warden-admission --timeout=60s

## Install

install:
k3d image import $(ADMISSION_NAME):latest3 -c kyma
helm upgrade --install --wait --set global.config.data.logging.level=debug --set admission.enabled=true warden ./charts/warden/
uninstall:
helm uninstall warden --wait
Expand Down

0 comments on commit e6318db

Please sign in to comment.