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

Adding tests for dex plus restructuring and formatting #2815

Merged
merged 12 commits into from
Aug 1, 2024
Merged

Adding tests for dex plus restructuring and formatting #2815

merged 12 commits into from
Aug 1, 2024

Conversation

tzabbi
Copy link
Contributor

@tzabbi tzabbi commented Jul 23, 2024

Pull Request Template for Kubeflow manifests Issues

✏️ A brief description of the changes

I changed redirectURIs for configmap of dex

📦 List any dependencies that are required for this change

My PR depends on nothing

🐛 If this PR is related to an issue, please put the link to the issue here.

The following issues are related, because is fixes the issue #2812

✅ Contributor checklist


You can join the CNCF Slack and access our meetings at the Kubeflow Community website. Our channel on the CNCF Slack is here #kubeflow-platform.

@juliusvonkohout juliusvonkohout linked an issue Jul 23, 2024 that may be closed by this pull request
7 tasks
@juliusvonkohout
Copy link
Member

juliusvonkohout commented Jul 23, 2024

@kromanow94 @kimwnasptd can you take a look at this. Somehow no one noticed it during distribution testing. If this is a problem, we need to have a test for the DEX login flow.

Interestingly it has not been changed in 7 months https://github.com/kubeflow/manifests/commits/master/common/dex/base/config-map.yaml

@juliusvonkohout
Copy link
Member

@tzabbi can you extend the dex test, such that this does not happen again?

@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 23, 2024

@juliusvonkohout not sure how to imporve the test. If I see it correctly your dex test is just to build and deploy the kubernetes manifests right? https://github.com/kubeflow/manifests/blob/master/.github/workflows/dex_test.yaml#L31

In this case we have to log into the system.

@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 23, 2024

I will try a curl.

@juliusvonkohout
Copy link
Member

Does it only apply the manifests so far? Yes.
After

- name: Build & Apply manifests
you could add something similar to that emulates a session login and gets the redirect URL.

https://www.kubeflow.org/docs/components/pipelines/user-guides/core-functions/connect-api/#example-for-dex might have some information.

@kromanow94
Copy link
Contributor

Hello all,

This wasn't an issue because the example kustomize correctly uses the dex/overlays/oauth2-proxy for dex.

Please see:

$ git log -1 
commit ace875bbed9e284483c545cdc1c2cb60ad5b24a3 (HEAD -> upstream.master, upstream/master)
Author:     biswajit-9776 <115724497+biswajit-9776@users.noreply.github.com>
AuthorDate: Tue Jul 23 19:21:02 2024 +0530
Commit:     GitHub <noreply@github.com>
CommitDate: Tue Jul 23 13:51:02 2024 +0000

    PSS labels for the profile controller (#2778)

$ grep Dex -A1 example/kustomization.yaml 
# Dex
- ../common/dex/overlays/oauth2-proxy

$ kustomize build example 2>/dev/null | grep redirectURIs
      redirectURIs: ["/oauth2/callback"]

But, I suppose with the changed default from the oidc-authservice to the oauth2-proxy, we can as well just delete the oidc-authservice from common/oidc-client/oidc-authservice (maybe even move common/oidc-client/oauth2-proxy to common/oauth2-proxy), and remove all references to the oidc-authservice, wherever they might be (this includes dex).

Having said the above, @tzabbi's issue is no longer a bug but a cleanup and refactoring.

@tzabbi , since you already started work in here, could you make the changes described above (remove oidc-autheservice definition and references)?

@kromanow94 kromanow94 mentioned this pull request Jul 24, 2024
7 tasks
@juliusvonkohout
Copy link
Member

juliusvonkohout commented Jul 24, 2024

Hello all,

This wasn't an issue because the example kustomize correctly uses the dex/overlays/oauth2-proxy for dex.

Please see:

$ git log -1 
commit ace875bbed9e284483c545cdc1c2cb60ad5b24a3 (HEAD -> upstream.master, upstream/master)
Author:     biswajit-9776 <115724497+biswajit-9776@users.noreply.github.com>
AuthorDate: Tue Jul 23 19:21:02 2024 +0530
Commit:     GitHub <noreply@github.com>
CommitDate: Tue Jul 23 13:51:02 2024 +0000

    PSS labels for the profile controller (#2778)

$ grep Dex -A1 example/kustomization.yaml 
# Dex
- ../common/dex/overlays/oauth2-proxy

$ kustomize build example 2>/dev/null | grep redirectURIs
      redirectURIs: ["/oauth2/callback"]

But, I suppose with the changed default from the oidc-authservice to the oauth2-proxy, we can as well just delete the oidc-authservice from common/oidc-client/oidc-authservice (maybe even move common/oidc-client/oauth2-proxy to common/oauth2-proxy), and remove all references to the oidc-authservice, wherever they might be (this includes dex).

Having said the above, @tzabbi's issue is no longer a bug but a cleanup and refactoring.

@tzabbi , since you already started work in here, could you make the changes described above (remove oidc-autheservice definition and references)?

During the cleanup/refactoring we also have to address #2734 (comment)

https://github.com/kubeflow/manifests/blob/master/apps/centraldashboard/upstream/overlays/oauth2-proxy/kustomization.yaml is not allowed in the upstream folder. This breaks every time when we synchronize the upstream manifest. It is tracked here as well #2804.

@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 24, 2024

Hello all,

This wasn't an issue because the example kustomize correctly uses the dex/overlays/oauth2-proxy for dex.

Please see:

$ git log -1 
commit ace875bbed9e284483c545cdc1c2cb60ad5b24a3 (HEAD -> upstream.master, upstream/master)
Author:     biswajit-9776 <115724497+biswajit-9776@users.noreply.github.com>
AuthorDate: Tue Jul 23 19:21:02 2024 +0530
Commit:     GitHub <noreply@github.com>
CommitDate: Tue Jul 23 13:51:02 2024 +0000

    PSS labels for the profile controller (#2778)

$ grep Dex -A1 example/kustomization.yaml 
# Dex
- ../common/dex/overlays/oauth2-proxy

$ kustomize build example 2>/dev/null | grep redirectURIs
      redirectURIs: ["/oauth2/callback"]

But, I suppose with the changed default from the oidc-authservice to the oauth2-proxy, we can as well just delete the oidc-authservice from common/oidc-client/oidc-authservice (maybe even move common/oidc-client/oauth2-proxy to common/oauth2-proxy), and remove all references to the oidc-authservice, wherever they might be (this includes dex).

Having said the above, @tzabbi's issue is no longer a bug but a cleanup and refactoring.

@tzabbi , since you already started work in here, could you make the changes described above (remove oidc-autheservice definition and references)?

@kromanow94 you are totally right. I cloned this repo again and get the same result. I might be the case that I modified this with a patch...

Yes, I will make this changes but not before tomorrow.

@google-oss-prow google-oss-prow bot added size/L and removed size/XS labels Jul 26, 2024
@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 26, 2024

@juliusvonkohout it is still required to add a test? since my "bug" wasn't a bug.

README.md Outdated Show resolved Hide resolved
apps/centraldashboard/upstream/base/deployment.yaml Outdated Show resolved Hide resolved
@juliusvonkohout
Copy link
Member

juliusvonkohout commented Jul 28, 2024

@juliusvonkohout it is still required to add a test? since my "bug" wasn't a bug.

If you have the time yes. More inportant might be

"During the cleanup/refactoring we also have to address #2734 (comment)

https://github.com/kubeflow/manifests/blob/master/apps/centraldashboard/upstream/overlays/oauth2-proxy/kustomization.yaml is not allowed in the upstream folder. This breaks every time when we synchronize the upstream manifest. It is tracked here as well #2804."

Copy link
Member

Choose a reason for hiding this comment

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

During the cleanup/refactoring we also have to address #2734 (comment)

https://github.com/kubeflow/manifests/blob/master/apps/centraldashboard/upstream/overlays/oauth2-proxy/kustomization.yaml is not allowed in the upstream folder. This breaks every time when we synchronize the upstream manifest. It is tracked here as well #2804.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've created a new directory called manual-patches (the name might be not the best) so you can make proposals what do you prefer.

Copy link
Member

Choose a reason for hiding this comment

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

@kromanow94 are we sure that all this information is in the other readme? @tzabbi I think we have to merge them properly

Copy link
Member

Choose a reason for hiding this comment

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

Especially the section ## Kubeflow Pipelines User and M2M Authentication and Authorization and below

Copy link
Member

Choose a reason for hiding this comment

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

You can also just leave it in for now @tzabbi if it is too much effort to merge it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added this content again, but I'm not sure how to adjust it properly.

@juliusvonkohout
Copy link
Member

/ok-to-test

@juliusvonkohout
Copy link
Member

Regarding

Run kustomize build example
  kustomize build example
  shell: /usr/bin/bash -e {0}
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'patchesStrategicMerge' is deprecated. Please use 'patches' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
# Warning: 'vars' is deprecated. Please use 'replacements' instead. [EXPERIMENTAL] Run 'kustomize edit fix' to update your Kustomization automatically.
Error: accumulating resources: accumulation err='accumulating resources from '../apps/centraldashboard/overlays': '/home/runner/work/manifests/manifests/apps/centraldashboard/overlays' must resolve to a file': couldn't make target for path '/home/runner/work/manifests/manifests/apps/centraldashboard/overlays': unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization' in directory '/home/runner/work/manifests/manifests/apps/centraldashboard/overlays'

i think it should be ../apps/centraldashboard/overlays/oauth2-proxy in /example/kustomization.yaml

@juliusvonkohout
Copy link
Member

@hansinikarunarathne it is better now, but still not 100% fixed I think

@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 30, 2024

@juliusvonkohout what is with the yaml linter should i fix it?

@hansinikarunarathne
Copy link
Member

@hansinikarunarathne it is better now, but still not 100% fixed I think

I think @tzabbi has not taken the changes I made to his branch. Can you check it @tzabbi ?

@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 30, 2024

Hi @hansinikarunarathne which change do you mean? were can i found your changes?

@hansinikarunarathne
Copy link
Member

hansinikarunarathne commented Jul 30, 2024

Hi @hansinikarunarathne which change do you mean? were can I found your changes?

Hi @tzabbi. I did the fix of trying to linting deleted YAML files in this PR #2823. Please feel free to check my changes. Changes are in the master. You can take it from the master. If you further face issues regarding this, let me know

@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 30, 2024

@hansinikarunarathne on master? I already pulled it :)

@hansinikarunarathne
Copy link
Member

hansinikarunarathne commented Jul 30, 2024

@hansinikarunarathne on master? I already pulled it :)

In https://github.com/kubeflow/manifests/blob/master/.github/workflows/linting_bash_python_yaml_files.yaml

In your master, I see this
image

But I changed it into
image

So that's why I mentioned that your branch is not up to master of Kubelow manifest. If I am wrong , make me correct

@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 30, 2024

Looks like you are right. I will check the inconsistency tomorrow.

Signed-off-by: Tom Zaspel <40226087+tzabbi@users.noreply.github.com>
@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 31, 2024

Added your changes @hansinikarunarathne can you confirm that all your changes are now in the PR?

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Jul 31, 2024

@hansinikarunarathne @tzabbi i rebased it 20 hours ago after merging your linting PR, as you can see from the history.

@juliusvonkohout
Copy link
Member

It is still quite similar

2024-07-31T09:28:39.8665544Z ##[group].github/workflows/admission_webhook_test.yaml
2024-07-31T09:28:39.8695531Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:39.8702846Z ##[endgroup]
2024-07-31T09:28:39.8703184Z 
2024-07-31T09:28:39.9363533Z ##[group].github/workflows/bentoml_test.yaml
2024-07-31T09:28:39.9365864Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:39.9367633Z ##[endgroup]
2024-07-31T09:28:39.9367936Z 
2024-07-31T09:28:40.0055855Z ##[group].github/workflows/centraldashboard_test.yaml
2024-07-31T09:28:40.0057599Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.0059247Z ##[endgroup]
2024-07-31T09:28:40.0059443Z 
2024-07-31T09:28:40.0763924Z ##[group].github/workflows/dex_test.yaml
2024-07-31T09:28:40.0766359Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.0772053Z ##[error]46:7 syntax error: could not find expected ':' (syntax)
2024-07-31T09:28:40.0774426Z ##[endgroup]
2024-07-31T09:28:40.0774735Z 
2024-07-31T09:28:40.1472323Z ##[group].github/workflows/jupyter_web_application_test.yaml
2024-07-31T09:28:40.1474979Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.1477600Z ##[endgroup]
2024-07-31T09:28:40.1477899Z 
2024-07-31T09:28:40.2191354Z ##[group].github/workflows/katib_test.yaml
2024-07-31T09:28:40.2194291Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.2196770Z ##[endgroup]
2024-07-31T09:28:40.2197113Z 
2024-07-31T09:28:40.2942298Z ##[group].github/workflows/kserve_cni_test.yaml
2024-07-31T09:28:40.2944726Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.2947252Z ##[endgroup]
2024-07-31T09:28:40.2947566Z 
2024-07-31T09:28:40.3722192Z ##[group].github/workflows/kserve_m2m_test.yaml
2024-07-31T09:28:40.3724141Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.3726154Z ##[endgroup]
2024-07-31T09:28:40.3726368Z 
2024-07-31T09:28:40.4478913Z ##[group].github/workflows/kserve_test.yaml
2024-07-31T09:28:40.4480632Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.4482315Z ##[endgroup]
2024-07-31T09:28:40.4482558Z 
2024-07-31T09:28:40.5292891Z ##[group].github/workflows/linting_bash_python_yaml_files.yaml
2024-07-31T09:28:40.5294958Z ##[warning]3:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.5297725Z ##[warning]128:20 [comments] too few spaces before comment
2024-07-31T09:28:40.5299532Z ##[endgroup]
2024-07-31T09:28:40.5299741Z 
2024-07-31T09:28:40.5958687Z ##[group].github/workflows/manifests_example_test.yaml
2024-07-31T09:28:40.5961196Z ##[warning]3:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.5964821Z ##[error]22:1 [empty-lines] too many blank lines (1 > 0)
2024-07-31T09:28:40.5967084Z ##[endgroup]
2024-07-31T09:28:40.5967378Z 
2024-07-31T09:28:40.6748942Z ##[group].github/workflows/metacontroller_test.yaml
2024-07-31T09:28:40.6751442Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.6753951Z ##[endgroup]
2024-07-31T09:28:40.6754274Z 
2024-07-31T09:28:40.7517567Z ##[group].github/workflows/model_registry_test.yaml
2024-07-31T09:28:40.7519995Z ##[error]1:78 [trailing-spaces] trailing spaces
2024-07-31T09:28:40.7523664Z ##[warning]4:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.7526932Z ##[error]64:145 [trailing-spaces] trailing spaces
2024-07-31T09:28:40.7528979Z ##[endgroup]
2024-07-31T09:28:40.7529243Z 
2024-07-31T09:28:40.8304637Z ##[group].github/workflows/notebook_controller_m2m_test.yaml
2024-07-31T09:28:40.8307106Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.8309588Z ##[endgroup]
2024-07-31T09:28:40.8309944Z 
2024-07-31T09:28:40.9007695Z ##[group].github/workflows/notebook_controller_test.yaml
2024-07-31T09:28:40.9010218Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.9012951Z ##[endgroup]
2024-07-31T09:28:40.9013286Z 
2024-07-31T09:28:40.9777687Z ##[group].github/workflows/pipeline_run_from_notebook.yaml
2024-07-31T09:28:40.9779977Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:40.9782364Z ##[endgroup]
2024-07-31T09:28:40.9782725Z 
2024-07-31T09:28:41.0560419Z ##[group].github/workflows/pipeline_test.yaml
2024-07-31T09:28:41.0562846Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.0565424Z ##[endgroup]
2024-07-31T09:28:41.0565724Z 
2024-07-31T09:28:41.1266392Z ##[group].github/workflows/profiles_test.yaml
2024-07-31T09:28:41.1267964Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.1269542Z ##[endgroup]
2024-07-31T09:28:41.1269731Z 
2024-07-31T09:28:41.1964129Z ##[group].github/workflows/ray_test.yaml
2024-07-31T09:28:41.1966223Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.1968237Z ##[endgroup]
2024-07-31T09:28:41.1968491Z 
2024-07-31T09:28:41.2675013Z ##[group].github/workflows/seldon_test.yaml
2024-07-31T09:28:41.2677098Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.2679292Z ##[endgroup]
2024-07-31T09:28:41.3405243Z 
2024-07-31T09:28:41.3406400Z ##[group].github/workflows/stale.yaml
2024-07-31T09:28:41.3408930Z ##[warning]8:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.3412222Z ##[warning]10:23 [comments] too few spaces before comment
2024-07-31T09:28:41.3414851Z ##[error]25:68 [trailing-spaces] trailing spaces
2024-07-31T09:28:41.3416955Z ##[error]29:68 [trailing-spaces] trailing spaces
2024-07-31T09:28:41.3419053Z ##[error]36:75 [trailing-spaces] trailing spaces
2024-07-31T09:28:41.3422058Z ##[error]39:75 [trailing-spaces] trailing spaces
2024-07-31T09:28:41.3424322Z ##[endgroup]
2024-07-31T09:28:41.3424527Z 
2024-07-31T09:28:41.4122231Z ##[group].github/workflows/tensorboard_controller_test.yaml
2024-07-31T09:28:41.4124831Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.4127316Z ##[endgroup]
2024-07-31T09:28:41.4127671Z 
2024-07-31T09:28:41.4853419Z ##[group].github/workflows/tensorboards_web_application_test.yaml
2024-07-31T09:28:41.4857158Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.4859722Z ##[endgroup]
2024-07-31T09:28:41.4860033Z 
2024-07-31T09:28:41.5629083Z ##[group].github/workflows/training_operator_test.yaml
2024-07-31T09:28:41.5631627Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.5634070Z ##[endgroup]
2024-07-31T09:28:41.5634452Z 
2024-07-31T09:28:41.6326632Z ##[group].github/workflows/triage_issues.yaml
2024-07-31T09:28:41.6328909Z ##[error]1:62 [trailing-spaces] trailing spaces
2024-07-31T09:28:41.6331832Z ##[warning]4:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.6333953Z ##[error]19:1 [empty-lines] too many blank lines (1 > 0)
2024-07-31T09:28:41.6335343Z ##[endgroup]
2024-07-31T09:28:41.6335526Z 
2024-07-31T09:28:41.7041944Z ##[group].github/workflows/trivy.yaml
2024-07-31T09:28:41.7043988Z ##[warning]3:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.7046958Z ##[error]50:1 [empty-lines] too many blank lines (2 > 0)
2024-07-31T09:28:41.7048694Z ##[endgroup]
2024-07-31T09:28:41.7049310Z 
2024-07-31T09:28:41.7753260Z ##[group].github/workflows/volumes_web_application_test.yaml
2024-07-31T09:28:41.7756068Z ##[warning]2:1 [truthy] truthy value should be one of [false, true]
2024-07-31T09:28:41.7759283Z ##[endgroup]
2024-07-31T09:28:41.7759649Z 
2024-07-31T09:28:42.4236188Z ##[error]Process completed with exit code 1.

at least the errors have to be fixed.

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Jul 31, 2024

But please do not make this PR bigger than it needs to be. Lets only fix files that we have to from now on. The more files the more cumbersome and slow will be my review.

@juliusvonkohout juliusvonkohout changed the title fix redirectURIs for in dex config since kubeflow uses oauth2 Adding tests for dex plus restructuring and formatting Jul 31, 2024
@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 31, 2024

Sorry for the whole syntax missmatches i have to check my linter...

@hansinikarunarathne
Copy link
Member

hansinikarunarathne commented Jul 31, 2024

Sorry for the whole syntax missmatches i have to check my linter...

I have added guidelines for lining in the lining Github action. I think It will help you to fix those issues.

image

Signed-off-by: Tom Zaspel <tom@zaspel.it>
@tzabbi
Copy link
Contributor Author

tzabbi commented Jul 31, 2024

Fixed all errors.

@juliusvonkohout
Copy link
Member

I see

Run pip3 install requests
  pip3 install requests
  ./tests/gh-actions/test_dex_login.py
  shell: /usr/bin/bash -e {0}
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.25.1)
/home/runner/work/_temp/0cb81e68-c08c-4a89-b642-a24c5f9eb9a3.sh: line 2: ./tests/gh-actions/test_dex_login.py: Permission denied
Error: Process completed with exit code 126.

Maybe a chmod +x is needed.

@juliusvonkohout
Copy link
Member

juliusvonkohout commented Aug 1, 2024

In general
/lgtm
/approve

@tzabbi please fix the dex test in a follow up PR

@google-oss-prow google-oss-prow bot added the lgtm label Aug 1, 2024
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: juliusvonkohout

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

The pull request process is described 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

@google-oss-prow google-oss-prow bot merged commit 1c464be into kubeflow:master Aug 1, 2024
27 of 28 checks passed
@juliusvonkohout
Copy link
Member

Let us continue in #2827

pschoen-itsc pushed a commit to pschoen-itsc/kf-manifests that referenced this pull request Sep 3, 2024
* fix redirectURIs for in dex config since kubeflow uses oauth2

Signed-off-by: Tom Zaspel <tom@zaspel.it>

* remove authservice and refactore code

Signed-off-by: Tom Zaspel <tom@zaspel.it>

* remove authservice from github actions and refactore code

Signed-off-by: Tom Zaspel <tom@zaspel.it>

* adjust name of oauth2 in FAQ

Signed-off-by: Tom Zaspel <tom@zaspel.it>

* create new directory in central dashboard called manuel-patches for oauth2-proxy

Signed-off-by: Tom Zaspel <tom@zaspel.it>

* change manuel-patches to overlay

Signed-off-by: Tom Zaspel <tom@zaspel.it>

* Test if user can login to dex

Signed-off-by: Tom Zaspel <tom@zaspel.it>

* Add kubeflow authentication oidc-authservice README.md

Signed-off-by: Tom Zaspel <40226087+tzabbi@users.noreply.github.com>

* Fix yaml linter error

Signed-off-by: Tom Zaspel <40226087+tzabbi@users.noreply.github.com>

* Fix yaml linting

Signed-off-by: Tom Zaspel <40226087+tzabbi@users.noreply.github.com>

* Add changes from comit: 08f217c

Signed-off-by: Tom Zaspel <40226087+tzabbi@users.noreply.github.com>

* Fix even more lint issues

Signed-off-by: Tom Zaspel <tom@zaspel.it>

---------

Signed-off-by: Tom Zaspel <tom@zaspel.it>
Signed-off-by: Tom Zaspel <40226087+tzabbi@users.noreply.github.com>
Co-authored-by: Hansini Karunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
Signed-off-by: Patrick Schönthaler <patrick.schoenthaler@itsc.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants