Skip to content

Commit

Permalink
Update secrets on resourceversion change only
Browse files Browse the repository at this point in the history
  • Loading branch information
ciarams87 committed May 29, 2024
1 parent f908851 commit 3a14fdc
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 @@ -414,6 +414,9 @@ func registerControllers(
},
{
objectType: &apiv1.Secret{},
options: []controller.Option{
controller.WithK8sPredicate(k8spredicate.ResourceVersionChangedPredicate{}),
},
},
{
objectType: &discoveryV1.EndpointSlice{},
Expand Down

0 comments on commit 3a14fdc

Please sign in to comment.