Integration test for Supervisor secret controllers

This forced us to add labels to the CSRF cookie secret, just as we do
for other Supervisor secrets. Yay tests.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
Aram Price
2020-12-14 15:53:12 -05:00
committed by Andrew Keesler
parent cae0023234
commit 5b7a86ecc1
5 changed files with 181 additions and 106 deletions
+1
View File
@@ -152,6 +152,7 @@ func startControllers(
WithController(
generator.NewSupervisorSecretsController(
supervisorDeployment,
cfg.Labels,
kubeClient,
secretInformer,
func(secret []byte) {