rootcacertpublisher: trigger resync on namespace add and update

Last cleanup was a bit overzealous.
This commit is contained in:
Mike Danese
2018-11-13 11:38:40 -08:00
parent bfb95290b9
commit bf02f55147
3 changed files with 12 additions and 2 deletions

View File

@@ -143,6 +143,7 @@ func startRootCACertPublisher(ctx ControllerContext) (http.Handler, bool, error)
sac, err := rootcacertpublisher.NewPublisher(
ctx.InformerFactory.Core().V1().ConfigMaps(),
ctx.InformerFactory.Core().V1().Namespaces(),
ctx.ClientBuilder.ClientOrDie("root-ca-cert-publisher"),
rootCA,
)