manifests

package
v0.0.0-...-d27fc3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RouterNamespaceAsset          = "assets/router/namespace.yaml"
	RouterServiceAccountAsset     = "assets/router/service-account.yaml"
	RouterClusterRoleAsset        = "assets/router/cluster-role.yaml"
	RouterClusterRoleBindingAsset = "assets/router/cluster-role-binding.yaml"
	RouterDeploymentAsset         = "assets/router/deployment.yaml"
	RouterServiceInternalAsset    = "assets/router/service-internal.yaml"
	RouterServiceCloudAsset       = "assets/router/service-cloud.yaml"

	MetricsClusterRoleAsset        = "assets/router/metrics/cluster-role.yaml"
	MetricsClusterRoleBindingAsset = "assets/router/metrics/cluster-role-binding.yaml"
	MetricsRoleAsset               = "assets/router/metrics/role.yaml"
	MetricsRoleBindingAsset        = "assets/router/metrics/role-binding.yaml"

	CanaryNamespaceAsset = "assets/canary/namespace.yaml"
	CanaryDaemonSetAsset = "assets/canary/daemonset.yaml"
	CanaryServiceAsset   = "assets/canary/service.yaml"
	CanaryRouteAsset     = "assets/canary/route.yaml"

	GatewayClassCRDAsset   = "assets/gateway-api/gateway.networking.k8s.io_gatewayclasses.yaml"
	GatewayCRDAsset        = "assets/gateway-api/gateway.networking.k8s.io_gateways.yaml"
	HTTPRouteCRDAsset      = "assets/gateway-api/gateway.networking.k8s.io_httproutes.yaml"
	ReferenceGrantCRDAsset = "assets/gateway-api/gateway.networking.k8s.io_referencegrants.yaml"

	// Annotation used to inform the certificate generation service to
	// generate a cluster-signed certificate and populate the secret.
	ServingCertSecretAnnotation = "service.alpha.openshift.io/serving-cert-secret-name"

	// OwningIngressControllerLabel should be applied to any objects "owned by" a
	// ingress controller to aid in selection (especially in cases where an ownerref
	// can't be established due to namespace boundaries).
	OwningIngressControllerLabel = "ingresscontroller.operator.openshift.io/owning-ingresscontroller"

	// OwningIngressCanaryCheckLabel should be applied to any objects "owned by" the
	// ingress operator's canary end-to-end check controller.
	OwningIngressCanaryCheckLabel = "ingress.openshift.io/canary"

	// IngressControllerFinalizer is used to block deletion of ingresscontrollers
	// until the operator has ensured it's safe for deletion to proceed.
	IngressControllerFinalizer = "ingresscontroller.operator.openshift.io/finalizer-ingresscontroller"

	// DNSRecordFinalizer is used to block deletion of dnsrecords until the
	// operator has ensured it's safe for deletion to proceeed.
	DNSRecordFinalizer = "operator.openshift.io/ingress-dns"

	// DefaultIngressControllerName is the name of the default IngressController
	// instance.
	DefaultIngressControllerName = "default"

	// ClusterIngressConfigName is the name of the cluster Ingress Config
	ClusterIngressConfigName = "cluster"

	// NamespaceManifest is the asset for the operator namespace manifest.
	// This manifest is usually installed by CVO, but it is also used by the
	// "ingress-operator render" command to write out manifests that are
	// required in order to customize ingress at installation time, before
	// CVO installs the manifests.
	NamespaceManifest = "manifests/00-namespace.yaml"
	// CustomResourceDefinitionManifest is the asset for the
	// ingresscontrollers CRD.  This manifest is usually installed by CVO,
	// but it is also used by the "ingress-operator render" command to write
	// out manifests that are required in order to customize ingress at
	// installation time, before CVO installs the manifests.
	CustomResourceDefinitionManifest = "manifests/00-custom-resource-definition.yaml"
)

Variables

This section is empty.

Functions

func CanaryDaemonSet

func CanaryDaemonSet() *appsv1.DaemonSet

func CanaryNamespace

func CanaryNamespace() *corev1.Namespace

func CanaryRoute

func CanaryRoute() *routev1.Route

func CanaryService

func CanaryService() *corev1.Service

func InternalIngressControllerService

func InternalIngressControllerService() *corev1.Service

func LoadBalancerService

func LoadBalancerService() *corev1.Service

func MetricsClusterRole

func MetricsClusterRole() *rbacv1.ClusterRole

func MetricsClusterRoleBinding

func MetricsClusterRoleBinding() *rbacv1.ClusterRoleBinding

func MetricsRole

func MetricsRole() *rbacv1.Role

func MetricsRoleBinding

func MetricsRoleBinding() *rbacv1.RoleBinding

func MustAsset

func MustAsset(asset string) []byte

MustAsset returns the bytes for the named asset.

func MustAssetReader

func MustAssetReader(asset string) io.Reader

func MustAssetString

func MustAssetString(asset string) string

MustAssetString returns a string with the named asset.

func NewClusterRole

func NewClusterRole(manifest io.Reader) (*rbacv1.ClusterRole, error)

func NewClusterRoleBinding

func NewClusterRoleBinding(manifest io.Reader) (*rbacv1.ClusterRoleBinding, error)

func NewCustomResourceDefinition

func NewCustomResourceDefinition(manifest io.Reader) (*apiextensionsv1.CustomResourceDefinition, error)

func NewDaemonSet

func NewDaemonSet(manifest io.Reader) (*appsv1.DaemonSet, error)

func NewDeployment

func NewDeployment(manifest io.Reader) (*appsv1.Deployment, error)

func NewNamespace

func NewNamespace(manifest io.Reader) (*corev1.Namespace, error)

func NewRole

func NewRole(manifest io.Reader) (*rbacv1.Role, error)

func NewRoleBinding

func NewRoleBinding(manifest io.Reader) (*rbacv1.RoleBinding, error)

func NewRoute

func NewRoute(manifest io.Reader) (*routev1.Route, error)

func NewService

func NewService(manifest io.Reader) (*corev1.Service, error)

func NewServiceAccount

func NewServiceAccount(manifest io.Reader) (*corev1.ServiceAccount, error)

func RouterClusterRole

func RouterClusterRole() *rbacv1.ClusterRole

func RouterClusterRoleBinding

func RouterClusterRoleBinding() *rbacv1.ClusterRoleBinding

func RouterDeployment

func RouterDeployment() *appsv1.Deployment

func RouterNamespace

func RouterNamespace() *corev1.Namespace

func RouterServiceAccount

func RouterServiceAccount() *corev1.ServiceAccount

func RouterStatsSecret

func RouterStatsSecret(cr *operatorv1.IngressController) *corev1.Secret

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL