Skip to content

Commit

Permalink
Do not reconcile ServiceAccount annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
roivaz committed Jul 16, 2024
1 parent 58f4b21 commit 592f505
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions controllers/operator.marin3r/reconciler_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,11 @@ func init() {
"subjects",
},
})
config.SetDefaultReconcileConfigForGVK(
schema.FromAPIVersionAndKind("v1", "ServiceAccount"),
config.ReconcileConfigForGVK{
EnsureProperties: []string{
"metadata.labels",
},
})
}

0 comments on commit 592f505

Please sign in to comment.