You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result=append(result, field.Invalid(tlsFieldPath.Child("destinationCACertificate"), tlsConfig.DestinationCACertificate, "failed to parse destination CA certificate"))
result=append(result, field.Invalid(fldPath.Child("certificate"), tls.Certificate, "passthrough termination does not support certificates"))
227
+
result=append(result, field.Invalid(fldPath.Child("certificate"), "<certificate data>", "passthrough termination does not support certificates"))
222
228
}
223
229
224
230
iflen(tls.Key) >0 {
225
-
result=append(result, field.Invalid(fldPath.Child("key"), tls.Key, "passthrough termination does not support certificates"))
231
+
result=append(result, field.Invalid(fldPath.Child("key"), "<key data>", "passthrough termination does not support certificates"))
226
232
}
227
233
228
234
iflen(tls.CACertificate) >0 {
229
-
result=append(result, field.Invalid(fldPath.Child("caCertificate"), tls.CACertificate, "passthrough termination does not support certificates"))
235
+
result=append(result, field.Invalid(fldPath.Child("caCertificate"), "<ca certificate data>", "passthrough termination does not support certificates"))
230
236
}
231
237
232
238
iflen(tls.DestinationCACertificate) >0 {
233
-
result=append(result, field.Invalid(fldPath.Child("destinationCACertificate"), tls.DestinationCACertificate, "passthrough termination does not support certificates"))
239
+
result=append(result, field.Invalid(fldPath.Child("destinationCACertificate"), "<destination ca certificate data>", "passthrough termination does not support certificates"))
234
240
}
235
241
// edge cert should only specify cert, key, and cacert but those certs
236
242
// may not be specified if the route is a wildcard route
237
243
caserouteapi.TLSTerminationEdge:
238
244
iflen(tls.DestinationCACertificate) >0 {
239
-
result=append(result, field.Invalid(fldPath.Child("destinationCACertificate"), tls.DestinationCACertificate, "edge termination does not support destination certificates"))
245
+
result=append(result, field.Invalid(fldPath.Child("destinationCACertificate"), "<destination ca certificate data>", "edge termination does not support destination certificates"))
0 commit comments