From 9dc673d0833fdcdf69d4f5ba6787d6095aa83e87 Mon Sep 17 00:00:00 2001 From: Henning Jacobs Date: Wed, 14 Aug 2019 08:30:03 +0200 Subject: [PATCH] switching to CalVer --- Makefile | 2 ++ README.rst | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index da538e3..be6d53c 100644 --- a/Makefile +++ b/Makefile @@ -17,3 +17,5 @@ docker: push: docker docker push "$(IMAGE):$(TAG)" + docker tag "$(IMAGE):$(TAG)" "$(IMAGE):latest" + docker push "$(IMAGE):latest" diff --git a/README.rst b/README.rst index 8d81391..45cdbd1 100644 --- a/README.rst +++ b/README.rst @@ -14,6 +14,10 @@ Kubernetes Janitor :target: https://hub.docker.com/r/hjacobs/kube-janitor :alt: Docker pulls +.. image:: https://img.shields.io/badge/calver-YY.MM.MICRO-22bfda.svg + :target: http://calver.org/ + :alt: CalVer versioning scheme + Kubernetes Janitor cleans up (deletes) Kubernetes resources on (1) a configured TTL (time to live) or (2) a configured expiry date (absolute timestamp). It processes all namespaces and all namespaced resources including custom resource definitions (CRDs) and will delete them (1) if the ``janitor/ttl`` annotation or a TTL rule indicates the resource as expired, or (2) if the ``janitor/expires`` annotation marks the resource as expired.