Make the pod selector configurable

- default labels: app, name and app.kubernetes.io/name
This commit is contained in:
stefanprodan
2019-04-15 12:57:25 +03:00
parent 60f51ad7d5
commit 6ef72e2550
9 changed files with 76 additions and 41 deletions
+1
View File
@@ -69,6 +69,7 @@ func SetupMocks(abtest bool) Mocks {
Logger: logger,
KubeClient: kubeClient,
FlaggerClient: flaggerClient,
Labels: []string{"app", "name"},
ConfigTracker: canary.ConfigTracker{
Logger: logger,
KubeClient: kubeClient,