Open esnible opened 4 years ago
If I apply a MeshFedConfig and Secret together it works, but the log looks scary.
To reproduce, kubectl --context $CLUSTER1 apply -f samples/limited-trust/limited-trust-c1.yaml,samples/limited-trust/secret-c1.yaml
kubectl --context $CLUSTER1 apply -f samples/limited-trust/limited-trust-c1.yaml,samples/limited-trust/secret-c1.yaml
The log shows
2019-12-18T13:48:30.119-0500 ERROR controller-runtime.controller Reconciler error {"controller": "meshfedconfig", "request": "limited-trust/limited-trust", "error": "No secrets match map[mesh:limited-trust secret:cluster1]"} github.com/go-logr/zapr.(*zapLogger).Error /Users/snible/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /Users/snible/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.2/pkg/internal/controller/controller.go:218 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /Users/snible/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.2/pkg/internal/controller/controller.go:192 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker /Users/snible/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.2/pkg/internal/controller/controller.go:171 k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1 /Users/snible/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190612205821-1799e75a0719/pkg/util/wait/wait.go:152 k8s.io/apimachinery/pkg/util/wait.JitterUntil /Users/snible/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190612205821-1799e75a0719/pkg/util/wait/wait.go:153 k8s.io/apimachinery/pkg/util/wait.Until /Users/snible/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190612205821-1799e75a0719/pkg/util/wait/wait.go:88 2019-12-18T13:48:31.683-0500 DEBUG controller-runtime.controller Successfully Reconciled {"controller": "meshfedconfig", "request": "limited-trust/limited-trust"}
If I apply a MeshFedConfig and Secret together it works, but the log looks scary.
To reproduce,
kubectl --context $CLUSTER1 apply -f samples/limited-trust/limited-trust-c1.yaml,samples/limited-trust/secret-c1.yaml
The log shows