Skip to content

Commit

Permalink
Update secrets on resource version change only (#2047)
Browse files Browse the repository at this point in the history
Update secrets on resourceversion change only
  • Loading branch information
ciarams87 authored May 30, 2024
1 parent 4859cca commit 16f0835
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/mode/static/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ func registerControllers(
},
{
objectType: &apiv1.Secret{},
options: []controller.Option{
controller.WithK8sPredicate(k8spredicate.ResourceVersionChangedPredicate{}),
},
},
{
objectType: &discoveryV1.EndpointSlice{},
Expand Down

0 comments on commit 16f0835

Please sign in to comment.