Documentation ¶
Index ¶
- func AppendInstalledIngresses(ctx context.Context, manifest *mf.Manifest, instance base.KComponent) error
- func AppendTargetIngress(ctx context.Context, manifest *mf.Manifest, instance base.KComponent) error
- func GetIngressPath(version string, ks *v1beta1.KnativeServing) string
- func IngressServiceTransform(ks *v1beta1.KnativeServing) mf.Transformer
- func Transformers(ctx context.Context, ks *v1beta1.KnativeServing) []mf.Transformer
- func UpdateNamespace(u *unstructured.Unstructured, data map[string]string, ns string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendInstalledIngresses ¶
func AppendInstalledIngresses(ctx context.Context, manifest *mf.Manifest, instance base.KComponent) error
AppendInstalledIngresses appends all the manifests of the ingresses
func AppendTargetIngress ¶ added in v0.37.0
func AppendTargetIngress(ctx context.Context, manifest *mf.Manifest, instance base.KComponent) error
AppendTargetIngress appends the manifests of the ingress to be installed
func GetIngressPath ¶ added in v0.37.0
func GetIngressPath(version string, ks *v1beta1.KnativeServing) string
GetIngressPath returns the path of the ingress plugin manifests, selected by the Serving CR.
func IngressServiceTransform ¶ added in v0.34.2
func IngressServiceTransform(ks *v1beta1.KnativeServing) mf.Transformer
IngressServiceTransform pins the namespace to istio-system for the service named knative-local-gateway. It also removes the OwnerReference to the operator, as they are in different namespaces, which is invalid in Kubernetes 1.20+.
func Transformers ¶
func Transformers(ctx context.Context, ks *v1beta1.KnativeServing) []mf.Transformer
Transformers returns a list of transformers based on the enabled ingresses
func UpdateNamespace ¶ added in v0.34.2
func UpdateNamespace(u *unstructured.Unstructured, data map[string]string, ns string)
UpdateNamespace set correct namespace of istio to the service knative-local-gateway
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.