Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeoutAnnotation = "haproxy.router.openshift.io/timeout" DisableRouteAnnotation = "serving.knative.openshift.io/disableRoute" )
View Source
const (
NetworkPolicyAllowAllName = "knative-serving-allow-all"
)
Variables ¶
View Source
var ErrNoValidLoadbalancerDomain = errors.New("unable to find Ingress LoadBalancer with DomainInternal set")
ErrNoValidLoadbalancerDomain indicates that the current ingress does not have a DomainInternal field, or said field does not contain a value we can work with.
Functions ¶
func MakeNetworkPolicyAllowAll ¶
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.