Include ConfigMaps and Secrets in promotion

- create primary configs and secrets at bootstrap
- copy configs and secrets from canary to primary and update the pod spec on promotion
This commit is contained in:
stefanprodan
2019-01-25 16:03:51 +02:00
parent 0109788ccc
commit 71cd4e0cb7
3 changed files with 212 additions and 33 deletions
+5
View File
@@ -74,6 +74,11 @@ func NewController(
kubeClient: kubeClient,
istioClient: istioClient,
flaggerClient: flaggerClient,
configTracker: ConfigTracker{
logger: logger,
kubeClient: kubeClient,
flaggerClient: flaggerClient,
},
}
router := CanaryRouter{