Skip to content

Refactor component-vcluster to use helm chart #87

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheBigLee
Copy link
Member

@TheBigLee TheBigLee commented Apr 29, 2025

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Update the documentation.
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

@TheBigLee TheBigLee force-pushed the refactor branch 9 times, most recently from 742cc2a to 31fed67 Compare May 13, 2025 15:29
@TheBigLee TheBigLee added enhancement New feature or request change breaking and removed change labels May 13, 2025
@TheBigLee TheBigLee force-pushed the refactor branch 2 times, most recently from 10df627 to 002af82 Compare May 13, 2025 15:43
@TheBigLee TheBigLee removed the enhancement New feature or request label May 13, 2025
@TheBigLee TheBigLee marked this pull request as ready for review May 13, 2025 15:49
@TheBigLee TheBigLee requested review from simu and bastjan May 13, 2025 15:49
Copy link
Member

@simu simu left a comment

Choose a reason for hiding this comment

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

Can't really properly review this since there's almost no context for the changes (i.e. it's hard to tell if the changes are correct/make sense without any information about the why).

I assume https://github.com/projectsyn/component-vcluster/blob/master/docs/modules/ROOT/pages/how-tos/oidc.adoc and https://github.com/projectsyn/component-vcluster/blob/master/docs/modules/ROOT/pages/tutorials/installation-openshift.adoc are outdated as well, given all the changes in this PR.

| kubectl apply -f - -oyaml
echo "Patching route..."

kubectl -n "$NAMESPACE" patch route "$route_name" --patch-file "${patch_file}"
Copy link
Member

Choose a reason for hiding this comment

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

Where does this route come from? Is it safe to patch it once in a while?

Copy link
Contributor

Choose a reason for hiding this comment

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

We might be able to do this more elegantly with espejote nowadays...

Copy link
Member Author

Choose a reason for hiding this comment

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

The route is generated from the ingress that is created by the helm chart

Copy link
Contributor

Choose a reason for hiding this comment

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

The openshjift API-server already translates ingress to route?


==== `syncer.additional_args`

This parameter is now obsolete.
Copy link
Member

Choose a reason for hiding this comment

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

What's replacing this parameter? Are we setting these directly in helm values?

role:
extraRules:
- apiGroups: [""]
resources: ["endpoints/restricted"]
Copy link
Contributor

Choose a reason for hiding this comment

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

@TheBigLee TheBigLee force-pushed the refactor branch 7 times, most recently from ba0aa9e to 6446ca7 Compare May 14, 2025 16:51
This will refactor the component completely to use the latest
official helm chart.

Due to this change, there are a few breaking changes that will have
to be handled carefully. Check the docs for more information

Signed-off-by: Nicolas Bigler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants