argocd-cluster-register

command module
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

ArgoCD-Cluster-Register

scan workflow license release Go Report Card

An ArgoCD controller to listen for Cluster-API clusters and register them with an ArgoCD project

How it works

the Cluster-Register controller listens to Kubernetes-API for the Cluster-API Resource Cluster and if a cluster is in a non-deleting state it will search for Cluster Connecting resources and add a deterministic Cluster secret into the ArgoCD namespace. Furthermore it will then add the Cluster to the appropriate ArgoCD Projects.

Thus the Cluster-Register controller never contacts CAPI or ArgoCD directly. Providing two benefits, re-use of Kubernetes RBAC and ease of programming as there is only the controller-runtime/kubebuilder to interacte with.

Getting Started

Please note; ArgoCD-Cluster-Register is still work in progress, and the deployment config is undergoing some updates.

kubectl apply -k github.com/dmolik/argocd-cluster-register/config/default
Notes

ArgoCD-Cluster-Register doesn't provide label based filtering at this time, but this feature is planed.

Testing includes Kubeadm/CAPI-Docs and EKS/CAPI-Docs Clusters, other declarative auth mechanisms have not been implemented.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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