Add a SharedIndexInformer for services and deployments to NewDeploy executor (#2061)

* Add a SharedIndexInformer for services and deployments to NewDeploy executor.

This brings the NewDeploy executor behaviour into sync with GenericPoolManager behaviour
by caching Kubernetes services and deployments used in per-request function validation.

* Create informers in executer by executor label

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>

Co-authored-by: James Sinclair <irgeek@btc.com.au>
This commit is contained in:
Sanket Sudake
2021-06-11 16:52:53 +05:30
committed by GitHub
co-authored by James Sinclair
parent f5dc6ab994
commit 4038f0384b
6 changed files with 130 additions and 46 deletions
-1
View File
@@ -30,7 +30,6 @@ type requestType int
const (
getValue requestType = iota
listAvailableValue
getTotalAvailable
setValue
markAvailable
deleteValue