Documentation ¶
Index ¶
Constants ¶
View Source
const EKSACiliumInstalledAnnotation = "anywhere.eks.amazonaws.com/eksa-cilium"
EKSACiliumInstalledAnnotation indicates a cluster has previously been observed to have EKS-A Cilium installed irrespective of whether its still installed.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler allows to reconcile a Cilium CNI.
func New ¶
func New(templater Templater) *Reconciler
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, logger logr.Logger, client client.Client, spec *cluster.Spec) (controller.Result, error)
Reconcile takes the Cilium CNI in a cluster to the desired state defined in a cluster Spec. It uses a controller.Result to indicate when requeues are needed. client is connected to the target Kubernetes cluster, not the management cluster.
Click to show internal directories.
Click to hide internal directories.