From 713edfaec3ac9a97b38a9803535091a632af324e Mon Sep 17 00:00:00 2001 From: Ilya Levin Date: Sat, 31 Jul 2021 12:58:52 -0300 Subject: [PATCH] readme fixes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bfa2eac..fc9411d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ ## cache invalidator -Invalidate cache (Cloud front) when stage or prod upgrade occurs +Invalidate cache (Cloud front) when stage or prod upgrade occurs - Perfect for GitOps type setup of CI/CD. ## Info -This worker will continuously go over all the deployments in a give namespace and will cache all the current tags. +This worker will continuously go over all the deployments in a given namespace and will cache all the current tags. If a tag changes, i.e. upgrade occured, the worker will get the site domain from the ingress object,find the corresponding CF distribution and will invalidate it. The invalidation will only happen once the new deployment rolled out succesfully otherwise the worker will wait for all the pods to be in a running state. Waiting for pods is a non blocking operation as goroutines are used, i.e. each invalidation is happening concurrently.