Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeoutAnnotation = "haproxy.router.openshift.io/timeout" DisableRouteAnnotation = "serving.knative.openshift.io/disableRoute" TerminationAnnotation = "serving.knative.openshift.io/tlsMode" // TLSTerminationAnnotation is an annotation to configure routes.spec.tls.termination TLSTerminationAnnotation = "serving.knative.openshift.io/tlsTermination" )
View Source
const (
NetworkPolicyAllowAllName = "knative-serving-allow-all"
)
Variables ¶
View Source
var ( // ErrNotSupportedTLSTermination is an error when unsupported TLS termination is configured via annotation. ErrNotSupportedTLSTermination = errors.New("not supported tls termination is specified, only 'passthrough' is valid") // ErrNoValidLoadbalancerDomain indicates that the current ingress does not have a DomainInternal field, or // said field does not contain a value we can work with. ErrNoValidLoadbalancerDomain = errors.New("unable to find Ingress LoadBalancer with DomainInternal set") )
Functions ¶
func MakeNetworkPolicyAllowAll ¶ added in v0.0.12
func MakeNetworkPolicyAllowAll(ns string) *networkingv1.NetworkPolicy
MakeNetworkPolicyAllowAll creates a Kubernetes NetworkPolicy allowing all traffic into the namespace of a Knative Ingress
func MakeRoutes ¶
func MakeRoutes(ci networkingv1alpha1.IngressAccessor) ([]*routev1.Route, error)
MakeRoutes creates OpenShift Routes from a Knative Ingress
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.