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

✨ Enable CAPI UI extension installation #1083

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Danil-Grigorev
Copy link
Contributor

What this PR does / why we need it:

Fixes #1082

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@Danil-Grigorev Danil-Grigorev requested a review from a team as a code owner February 17, 2025 14:08
@Danil-Grigorev Danil-Grigorev changed the title Enable CAPI UI extension installation ✨ Enable CAPI UI extension installation Feb 17, 2025
@Danil-Grigorev Danil-Grigorev force-pushed the auto-install-ui branch 2 times, most recently from c752c12 to 28ead87 Compare February 17, 2025 14:53
anmazzotti
anmazzotti previously approved these changes Feb 17, 2025
yiannistri
yiannistri previously approved these changes Feb 18, 2025
Copy link
Contributor

@yiannistri yiannistri left a comment

Choose a reason for hiding this comment

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

Thanks for addressing this, apart from a minor typo this looks good.

docs/adr/0014-turtles-ui-installation.md Outdated Show resolved Hide resolved
Co-authored-by: Yiannis Triantafyllopoulos <[email protected]>
@Danil-Grigorev Danil-Grigorev dismissed stale reviews from yiannistri and anmazzotti via eaf8ab2 February 18, 2025 15:18
// SetupWithManager sets up the controller with the Manager.
func (r *UIPluginReconciler) SetupWithManager(_ context.Context, mgr ctrl.Manager, _ controller.Options) error {
uiPlugin := &metav1.PartialObjectMetadata{}
uiPlugin.SetGroupVersionKind(schema.GroupVersionKind{
Copy link
Member

Choose a reason for hiding this comment

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

should this be a part of the rancher API wrapper?

- variable: capi.enabled
default: true
type: boolean
description: "Flag to enable or disable installation of CAPI UI extension. If set to false then you will need to install CAPI UI extension manually."
Copy link
Member

Choose a reason for hiding this comment

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

is it possible to add to the description that UI is still experimental? can be done in a follow-up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Seamless Turtles UI installation with Turtles chart
4 participants