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

fix: Remove the process to check OIDC provider on server:deploy #2902

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

ynqa
Copy link
Contributor

@ynqa ynqa commented Jul 24, 2024

What does this PR do?

  • Remove --skip-oidc-provider-check flag and its logic.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

eclipse-che/che#23047

How to test this PR?

%./bin/run server:deploy --skip-oidc-provider-check
Error: Nonexistent flag: --skip-oidc-provider-check

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Copy link

openshift-ci bot commented Jul 24, 2024

Hi @ynqa. Thanks for your PR.

I'm waiting for a che-incubator member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@tolusha
Copy link
Collaborator

tolusha commented Jul 24, 2024

@ynqa
Thank you for contribution.
Could you sign your commits please to be able to merge the PR

https://github.com/che-incubator/chectl/pull/2902/checks?check_run_id=27833382813

ynqa added 2 commits July 24, 2024 18:41
Signed-off-by: ynqa <un.pensiero.vano@gmail.com>
Signed-off-by: ynqa <un.pensiero.vano@gmail.com>
@ynqa
Copy link
Contributor Author

ynqa commented Jul 24, 2024

Could you sign your commits please to be able to merge the PR

@tolusha Signed.

@tolusha
Copy link
Collaborator

tolusha commented Jul 26, 2024

Hello, @ynqa
I remembered why I completed removed invocation getEnsureOIDCProviderInstalledTask from the codebase.
It causes more issues than benefits, since it is really hard to check if OIDC is configured in all kinds of clusters.
And usually I recommended to add --skip-oidc-provider-check flag.

@ynqa
Copy link
Contributor Author

ynqa commented Jul 26, 2024

It causes more issues than benefits, since it is really hard to check if OIDC is configured in all kinds of clusters.

@tolusha Yes, on EKS kube-apiserver is not exposed for users. The alternative of this pull request is to remove this flag and logic altogether for avoidance of confusion.

@tolusha
Copy link
Collaborator

tolusha commented Jul 26, 2024

The alternative of this pull request is to remove this flag and logic altogether for avoidance of confusion.

+1

@ynqa
Copy link
Contributor Author

ynqa commented Jul 26, 2024

@tolusha Sure. I will remove them.

@ynqa ynqa changed the title fix: Check OIDC provider on server:deploy fix: Remove the process to check OIDC provider on server:deploy Jul 26, 2024
Signed-off-by: ynqa <un.pensiero.vano@gmail.com>
Signed-off-by: ynqa <un.pensiero.vano@gmail.com>
@ynqa
Copy link
Contributor Author

ynqa commented Jul 26, 2024

@tolusha Removed at d117f79

@tolusha
Copy link
Collaborator

tolusha commented Jul 29, 2024

/retest

Copy link

openshift-ci bot commented Jul 29, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tolusha, ynqa

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tolusha tolusha merged commit ccd0e70 into che-incubator:main Jul 29, 2024
12 checks passed
@ynqa ynqa deleted the check-oidc branch July 29, 2024 13:52
@devstudio-release
Copy link

Build 3.16 :: dsc_3.x/1963: Console, Changes, Git Data

@devstudio-release
Copy link

Build 3.16 :: dsc_3.x/1963: SUCCESS

3.16.0-CI

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.

3 participants