Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds AutomatedClusterDiscovery to the explorer #3472

Merged
merged 7 commits into from
Nov 13, 2023

Conversation

foot
Copy link
Collaborator

@foot foot commented Oct 11, 2023

Closes #3408

What changed?

  • Adds the cluster-reflector-controller
  • Upgrade cluster-controller to support ignoring the "wait-for-secret-to-be-deleted" finalizer

Why was this change made?

  • To support the "Cluster discovery" feature in the UI

How was this change implemented?

  • Uses the OSS endpoints most things and the explorer for listing.

How did you validate the change?

  • Tilt up and testing it all out

Release notes

Documentation Changes

Other follow ups

@ahussein3
Copy link
Contributor

@alfaris we need an icon to represent the Cluster Discovery in the side Navigation. And @bigkevmcd Suggested that we Use the K8s Icon. Can you provide the K8s icon in the same format as the navigation icons so we can add it?

@ahussein3
Copy link
Contributor

ahussein3 commented Oct 31, 2023

@alfaris we found this image that will suit better in contect if you can make this as icon.

image (2)

@alfaris
Copy link

alfaris commented Oct 31, 2023

image I've made icon similar to what you were looking for, but consistent with our sidebar style image

Here is the SVG code for it

<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.99 5V10.5H4.98999V5H18.99ZM18.99 4H4.98999C4.43999 4 3.98999 4.45 3.98999 5V10.5C3.98999 11.05 4.43999 11.5 4.98999 11.5H18.99C19.54 11.5 19.99 11.05 19.99 10.5V5C19.99 4.45 19.54 4 18.99 4Z" fill="#737373"/>
<path d="M6.98999 8.75C7.54227 8.75 7.98999 8.30228 7.98999 7.75C7.98999 7.19772 7.54227 6.75 6.98999 6.75C6.43771 6.75 5.98999 7.19772 5.98999 7.75C5.98999 8.30228 6.43771 8.75 6.98999 8.75Z" fill="#737373"/>
<path d="M4.98999 13.5V19H17H18L18.99 20H4.98999C4.43999 20 3.98999 19.55 3.98999 19V13.5C3.98999 12.95 4.43999 12.5 4.98999 12.5H12.8066L12 13.5H4.98999Z" fill="#737373"/>
<path d="M6.98999 17.25C7.54227 17.25 7.98999 16.8023 7.98999 16.25C7.98999 15.6977 7.54227 15.25 6.98999 15.25C6.43771 15.25 5.98999 15.6977 5.98999 16.25C5.98999 16.8023 6.43771 17.25 6.98999 17.25Z" fill="#737373"/>
<path d="M14.98 13.0601C15.51 13.0601 16.01 13.2701 16.38 13.6401C17.15 14.4101 17.15 15.6701 16.38 16.4401C16.01 16.8101 15.51 17.0201 14.98 17.0201C14.45 17.0201 13.95 16.8101 13.58 16.4401C12.81 15.6701 12.81 14.4101 13.58 13.6401C13.95 13.2701 14.45 13.0601 14.98 13.0601ZM14.98 12.0601C14.22 12.0601 13.45 12.3501 12.87 12.9301C11.71 14.0901 11.71 15.9801 12.87 17.1401C13.45 17.7201 14.21 18.0101 14.98 18.0101C15.75 18.0101 16.51 17.7201 17.09 17.1401C18.25 15.9801 18.25 14.0901 17.09 12.9301C16.51 12.3501 15.75 12.0601 14.98 12.0601Z" fill="#737373"/>
<path d="M17 17.0601L19.71 19.7701" stroke="#737373" stroke-miterlimit="10"/>
</svg>

@ahussein3 ahussein3 self-assigned this Nov 7, 2023
@ahussein3 ahussein3 added the enhancement New feature or request label Nov 7, 2023
@ahussein3 ahussein3 marked this pull request as ready for review November 8, 2023 10:06
err = coreCfg.PrimaryKinds.Add("GitOpsSet", gitopssetsv1alpha1.GroupVersion.WithKind("GitOpsSet"))
if err != nil {
return fmt.Errorf("could not add GitOpsSet to primary kinds: %w", err)
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can remove gitopssets I think

@foot foot force-pushed the adds-cluster-reflector-controller branch from 1b23ec5 to 85aed09 Compare November 9, 2023 11:42
@foot foot changed the base branch from main to allow-removing-explorer-columns November 9, 2023 11:43
- Feature flag the cluster discovery page in the UI
- Adds support for syncing/inv/suspend via the OSS endpoints
@foot foot force-pushed the adds-cluster-reflector-controller branch from 40d2d22 to 0e7ae4c Compare November 10, 2023 16:21
@foot foot changed the base branch from allow-removing-explorer-columns to main November 10, 2023 16:22
Copy link
Collaborator Author

@foot foot left a comment

Choose a reason for hiding this comment

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

Follow ups:

  • Hide tenant column

LGTM, awesome stuff thanks Magdy!

@foot foot requested a review from ahussein3 November 13, 2023 08:42
@foot foot merged commit 559501e into main Nov 13, 2023
10 checks passed
@foot foot deleted the adds-cluster-reflector-controller branch November 13, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[cluster-reflector] UI to show configuration, and sync/suspend/resume
3 participants