We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75cfdf2 commit 6d4a8ebCopy full SHA for 6d4a8eb
cmd/controller/main.go
@@ -17,12 +17,18 @@ limitations under the License.
17
package main
18
19
import (
20
+ "istio.io/api/networking/v1alpha3"
21
"knative.dev/net-istio/pkg/reconciler/ingress"
22
23
// This defines the shared main for injected controllers.
24
"knative.dev/pkg/injection/sharedmain"
25
)
26
27
func main() {
28
+ // Allow unknown fields in Istio API client. This is so that we are more resilience
29
+ // in cases user clusers have malformed resources.
30
+ v1alpha3.VirtualServiceUnmarshaler.AllowUnknownFields = true
31
+ v1alpha3.GatewayUnmarshaler.AllowUnknownFields = true
32
+
33
sharedmain.Main("istiocontroller", ingress.NewController)
34
}
0 commit comments