Documentation ¶
Index ¶
Constants ¶
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 ¶
var ( DefaultNginxReplicas = 3 DefaultNginxImage = "nginx:latest" DefaultNginxServicePort = 8080 DefaultNodeSelector = labels.NewSelector() )
Functions ¶
Types ¶
type ReconcileIngress ¶
ReconcileIngress reconciles a Ingress object
func (*ReconcileIngress) Reconcile ¶
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