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) (res controller.Result, reterr 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. nolint:gocyclo TODO: reduce cyclomatic complexity - https://github.com/aws/eks-anywhere-internal/issues/1461
Click to show internal directories.
Click to hide internal directories.