ingress

package
v0.0.0-...-d496eb2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FinalizerCFNStack                 = "apigateway.networking.amazonaws.com/ingress-finalizer"
	IngressClassAnnotation            = "kubernetes.io/ingress.class"
	IngressAnnotationNodeSelector     = "apigateway.ingress.kubernetes.io/node-selector"
	IngressAnnotationClientArns       = "apigateway.ingress.kubernetes.io/client-arns"
	IngressAnnotationCustomDomainName = "apigateway.ingress.kubernetes.io/custom-domain-name"
	IngressAnnotationCertificateArn   = "apigateway.ingress.kubernetes.io/certificate-arn"
	IngressAnnotationStageName        = "apigateway.ingress.kubernetes.io/stage-name"
	IngressAnnotationNginxReplicas    = "apigateway.ingress.kubernetes.io/nginx-replicas"
	IngressAnnotationNginxImage       = "apigateway.ingress.kubernetes.io/nginx-image"
	IngressAnnotationNginxServicePort = "apigateway.ingress.kubernetes.io/nginx-service-port"
)

Variables

View Source
var (
	DefaultNginxReplicas    = 3
	DefaultNginxImage       = "nginx:latest"
	DefaultNginxServicePort = 8080
	DefaultNodeSelector     = labels.NewSelector()
)

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Ingress Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileIngress

type ReconcileIngress struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileIngress reconciles a Ingress object

func (*ReconcileIngress) Reconcile

func (r *ReconcileIngress) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Ingress object and makes changes based on the state read and what is in the Ingress.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=apps,resources=deployments/status,verbs=get;update;patch +kubebuilder:rbac:groups=core,resources=nodes;services;configmaps,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=nodes/status;services/status;configmaps/status,verbs=get;update;patch +kubebuilder:rbac:groups=extensions,resources=ingresses,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=extensions,resources=ingresses/status,verbs=get;update;patch

Jump to

Keyboard shortcuts

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