Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
v20.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Apr 23, 2020
1 parent 2579774 commit 06c8f77
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ test: install lint
poetry run coverage run --source=kube_janitor -m py.test -v
poetry run coverage report

version:
sed -i "s/version: v.*/version: v$(VERSION)/" deploy/*/*.yaml
sed -i "s/kube-janitor:.*/kube-janitor:$(VERSION)/" deploy/*/*.yaml

docker:
docker build --build-arg "VERSION=$(VERSION)" -t "$(IMAGE):$(TAG)" .
@echo 'Docker image $(IMAGE):$(TAG) can now be used.'
Expand Down
2 changes: 1 addition & 1 deletion deploy/cronjob/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
containers:
- name: janitor
# see https://github.com/hjacobs/kube-janitor/releases
image: hjacobs/kube-janitor:20.4.0
image: hjacobs/kube-janitor:20.4.1
args:
# dry run by default, remove to perform clean up
- --dry-run
Expand Down
6 changes: 3 additions & 3 deletions deploy/deployment/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Deployment
metadata:
labels:
application: kube-janitor
version: v20.4.0
version: v20.4.1
name: kube-janitor
spec:
replicas: 1
Expand All @@ -14,13 +14,13 @@ spec:
metadata:
labels:
application: kube-janitor
version: v20.4.0
version: v20.4.1
spec:
serviceAccountName: kube-janitor
containers:
- name: janitor
# see https://github.com/hjacobs/kube-janitor/releases
image: hjacobs/kube-janitor:20.4.0
image: hjacobs/kube-janitor:20.4.1
args:
# dry run by default, remove to perform clean up
- --dry-run
Expand Down

0 comments on commit 06c8f77

Please sign in to comment.