Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

add harbor cluster reconcile logic freamwork. #21

Merged
merged 3 commits into from
Apr 26, 2020

Conversation

wangcanfengxs
Copy link
Contributor

No description provided.

@wangcanfengxs wangcanfengxs self-assigned this Apr 20, 2020
@wangcanfengxs wangcanfengxs linked an issue Apr 20, 2020 that may be closed by this pull request
@wangcanfengxs wangcanfengxs added this to the Sprint1 milestone Apr 20, 2020
Copy link
Contributor

@steven-zou steven-zou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A suggestion left

controllers/harborcluster_controller.go Outdated Show resolved Hide resolved
2.complete the harborcluster reconcile logic.
Copy link
Contributor

@steven-zou steven-zou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments left

lcm/lcm.go Outdated Show resolved Hide resolved
2.use pointer ref for harborcluster
Copy link
Contributor

@Ghostbaby Ghostbaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comments left

controllers/harborcluster_controller.go Outdated Show resolved Hide resolved
)

// HarborClusterReconciler reconciles a HarborCluster object
type HarborClusterReconciler struct {
client.Client
ServiceGetter
Log logr.Logger
Scheme *runtime.Scheme
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should add the event record, e.p: Recorder record.EventRecorder

Copy link
Contributor

@steven-zou steven-zou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@Ghostbaby Ghostbaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Ghostbaby Ghostbaby merged commit 8651620 into goharbor:master Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HarborCluster CR reconcile code framework. NO implements.
3 participants