Currently a PoC for an operator that will administer harbor registeries, projects and replication rules with execution.
Development
Build
Makefile targets exists which build the controller and generate the kubernetes manifests. To build and generate run the following:
make build
Deploy
To run the controller locally against a local kind cluster, it's recommnded to port-forward to the harbor-core pod and set the HARBOR_CORE_URL. For instance:
Package v1alpha1 contains API Schema definitions for the administration v1alpha1 API group +kubebuilder:object:generate=true +groupName=administration.harbor.configuration
Package v1alpha1 contains API Schema definitions for the administration v1alpha1 API group +kubebuilder:object:generate=true +groupName=administration.harbor.configuration