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

Suggestion: Automate logins #9

Open
carlmes opened this issue Nov 18, 2024 · 0 comments
Open

Suggestion: Automate logins #9

carlmes opened this issue Nov 18, 2024 · 0 comments

Comments

@carlmes
Copy link
Member

carlmes commented Nov 18, 2024

In the instructions for notebooks we have the following:

auth = TokenAuthentication(
    token = "sha256~M1oYD5GM1mAXDrDCWPhXoGU2vEnwktp79JEhAvmS4Xo",
    server = "https://api.cluster-clplg.dynamic.redhatworkshops.io:6443",
    skip_tls=True
)
auth.login()

Can we make this better, for example by using environment variables to send this information down into the pod rather than manually copy pasting which is prone to mistakes, and the token expiring after a period of time?

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

No branches or pull requests

1 participant