Skip to content

Commit 3a14fdc

Browse files
committed
Update secrets on resourceversion change only
1 parent f908851 commit 3a14fdc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/mode/static/manager.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,9 @@ func registerControllers(
414414
},
415415
{
416416
objectType: &apiv1.Secret{},
417+
options: []controller.Option{
418+
controller.WithK8sPredicate(k8spredicate.ResourceVersionChangedPredicate{}),
419+
},
417420
},
418421
{
419422
objectType: &discoveryV1.EndpointSlice{},

0 commit comments

Comments
 (0)