question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mechanism to mount existing Kubernetes Secret for sensitive auth, e.g. `gateway.auth.kerberos.keytab`?

See original GitHub issue

Hey y’all!

I was scoping the possibility of using dask-gateway (via Kubernetes and the daskhub chart) with Google-manged Notebooks on GCP’s AI Platform (They’re Jupyter notebooks). My idea was to deploy dask-gateway to a GKE cluster on the same network/VPC, with dask-gateway configured for Kerebos authentication.

I noticed that gateway.auth.kerberos.keytab takes a path to an existing keytab on the machine. I would have thought that we’d want to mount an existing Kubernetes Secret to a path with the desired permissions…? I was wondering if this is a planned feature or maybe I’m simply going about this the wrong way…?

In general, it looks like a lot of sensitive material is passed in raw through the helm configs, rather than through Kubernetes Secrets?

Thanks so much for your time and consideration! I really appreciate the work on this project.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
jacobtomlinsoncommented, Aug 23, 2021

I think this would be a good thing to implement and I’d be happy to take on the reviewing duties.

1reaction
jacobtomlinsoncommented, Aug 10, 2021

I don’t think you want the daskhub chart for the use case you describe. Dask Hub is a meta chart which deploys Jupyter Hub and Dask gateway together. If you are using GCP AI Platform they are already providing Jupyter for you.

I’m going to move this issue over to the dask-gateway repo for further discussion about using secrets.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Secrets | Kubernetes
A Secret is an object that contains a small amount of sensitive data ... (for example, with a ServiceAccount token). for authentication, ...
Read more >
Issues · dask/dask-gateway - GitHub
Mechanism to mount existing Kubernetes Secret for sensitive auth, e.g. gateway.auth.kerberos.keytab ? codebase:helm-chart enhancement New feature or request.
Read more >
How to Configure Clusters to Use Kerberos for Authentication
Step 1: Verify Requirements and Assumptions · Step 2. · Step 3: Add the Credentials for the Principal to the Cluster · Step...
Read more >
Authentication and authorization OpenShift Container Platform ...
You can add or remove users from an existing HTPasswd identity provider. Prerequisites. You have created a Secret object that contains the HTPasswd...
Read more >
Kubernetes Secrets - How to Create, Use, & Access Secrets
A Kubernetes secret is an object storing sensitive pieces of data such as usernames, passwords, tokens, and keys. Secrets are created by the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found