Switch Config CRD elements to server flags

Signed-off-by: Carlisia <carlisia@grokkingtech.io>
This commit is contained in:
Carlisia
2018-08-09 09:54:48 -07:00
parent 17d984d4b4
commit 9508e4a20e
17 changed files with 200 additions and 205 deletions

View File

@@ -50,7 +50,6 @@ func TestGCControllerEnqueueAllBackups(t *testing.T) {
sharedInformers.Ark().V1().Backups(),
sharedInformers.Ark().V1().DeleteBackupRequests(),
client.ArkV1(),
1*time.Millisecond,
).(*gcController)
)
@@ -114,7 +113,6 @@ func TestGCControllerHasUpdateFunc(t *testing.T) {
sharedInformers.Ark().V1().Backups(),
sharedInformers.Ark().V1().DeleteBackupRequests(),
client.ArkV1(),
1*time.Millisecond,
).(*gcController)
keys := make(chan string)
@@ -245,7 +243,6 @@ func TestGCControllerProcessQueueItem(t *testing.T) {
sharedInformers.Ark().V1().Backups(),
sharedInformers.Ark().V1().DeleteBackupRequests(),
client.ArkV1(),
1*time.Millisecond,
).(*gcController)
controller.clock = fakeClock