The overall design of the operator is shown below:
- A top CR(Customize Resource)
harbor-cluster
is defined to represent the full harbor stack. It is governed by the corresponding controller. - The harbor service components are created and managed through the harbor operator and the CR
harbor
. - The following related CRs of the dependent services will be created and managed by their operator controllers and bound
to the
Harbor
CR via secret or configMaps ways. Sometimes, the configurations of dependencies may be directly populated into the pods of CRHarbor
to reduce the difficulties.- Database service (PostgresSQL)
- Cache service (Redis)
- Storage service (minIO)
- The dependent CRs are owned by the
harbor-cluster
CR to enable the cascaded deletion and GC when the CRharbor-cluster
is deleted.
This document explains the various fields supported in spec of CR harbor-cluster
and how to use these fields to deploy harbor cluster.
Read reconcile flow document to learn the overall flow.
[TBD]