Skip to content

Commit f9b3f1f

Browse files
authored
add mutating webhook configurations in sloop (#281)
1 parent 588295c commit f9b3f1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/sloop/ingress/kubewatcher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ func (i *kubeWatcherImpl) startWellKnownInformers(kubeclient kubernetes.Interfac
126126
i.informerFactory.Core().V1().Services().Informer().AddEventHandler(i.getEventHandlerForResource("Service", enableGranularMetrics))
127127
i.informerFactory.Core().V1().ReplicationControllers().Informer().AddEventHandler(i.getEventHandlerForResource("ReplicationController", enableGranularMetrics))
128128
i.informerFactory.Storage().V1().StorageClasses().Informer().AddEventHandler(i.getEventHandlerForResource("StorageClass", enableGranularMetrics))
129+
i.informerFactory.Admissionregistration().V1().MutatingWebhookConfigurations().Informer().AddEventHandler(i.getEventHandlerForResource("MutatingWebhookConfiguration", enableGranularMetrics))
129130
i.informerFactory.Start(i.stopChan)
130131
}
131132

0 commit comments

Comments
 (0)