mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-25 08:31:13 +02:00
fix(proxyd): remove self-hosted label in listwatch (#782)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
5f2699215f
commit
007290a8f1
@ -178,7 +178,7 @@ func (r *ReverseProxy) Watch() (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
labelSelector := labels.FormatLabels(map[string]string{"component": "kube-apiserver", "k8s-app": "self-hosted-kube-apiserver"})
|
||||
labelSelector := labels.FormatLabels(map[string]string{"component": "kube-apiserver"})
|
||||
watchlist := &cache.ListWatch{
|
||||
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
|
||||
options.FieldSelector = fields.Everything().String()
|
||||
|
Loading…
x
Reference in New Issue
Block a user