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

Create a script to programatically create OAuth secret for IAP #399

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

richardsliu
Copy link
Contributor

This is a continuation of the work in #397.

This change integrates the setup_iap_ingress.sh script into the Makefile so the OAuth client and secret are automatically created if they do not exist. If the CLIENT_ID and CLIENT_SECRET environment variables are created then the script will simply use them to create the IAP secret.

zijianjoy and others added 8 commits October 17, 2022 18:37
* Add shell in asm makefile. Fixes GoogleCloudPlatform#389.

* Upgrade MySQL to 8.0

* Upgrade kfp to v2.0.0-alpha.5

* Update CHANGELOG

* Upgrade upstream to v1.6.1

* Add namespace spcification

* Update changelog and add a comment about CloudSQL

* Increase delay before deleting iap helper workloads to 90 sec

* Upgrade KFP to 2.0.0-alpha.6

* Update changelog

* Remove mysql version from comments

* Fix asmcli installation path

* Fix asmcli installation path

* Fix upstream folder in ASM

* Update upstream folder for asm
@richardsliu
Copy link
Contributor Author

/assign @gkcalat @zijianjoy

# not provided.
#
# To find more information about the commands, please see
# https://cloud.google.com/iap/docs/programmatic-oauth-clients.
Copy link
Collaborator

Choose a reason for hiding this comment

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

How do we provide redirect URI via command line approach? https://www.kubeflow.org/docs/distributions/gke/deploy/oauth-setup/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems like redirect URIs are not supported in the commandline. Should we provide an option that skips this step if the user needs redirects?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think redirects is required for Kubeflow deployment to work, please correct me if I am wrong.

cc @gkcalat

@gkcalat gkcalat mentioned this pull request Mar 10, 2023
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants