Skip to content

Commit

Permalink
syncer/syncer.go: Add to default sync, serviceaccounts, secrets and c…
Browse files Browse the repository at this point in the history
…onfigmaps.
  • Loading branch information
jmprusi committed Mar 15, 2022
1 parent 4809c1a commit 5042497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/syncer/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func getAllGVRs(discoveryClient discovery.DiscoveryInterface, resourcesToSync ..
return nil, err
}
}
gvrstrs := []string{"namespaces.v1."} // A syncer should always watch namespaces
gvrstrs := []string{"namespaces.v1.", "serviceaccounts.v1.", "configmaps.v1.", "secrets.v1."} // A syncer should always watch namespaces, serviceaccounts, secrets and configmaps.
for _, r := range rs {
// v1 -> v1.
// apps/v1 -> v1.apps
Expand Down

0 comments on commit 5042497

Please sign in to comment.