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

.ops: expose grafana and kubernetes-dashboard behind oauth2-proxy with github provider #5073

Merged
merged 2 commits into from
May 16, 2024

Conversation

BacLuc
Copy link
Contributor

@BacLuc BacLuc commented Apr 27, 2024

That we don't need kubectl to access these internal services.
Can be used for the kibana from #5039,
or the kubernetes dashboard from #4134

See for yourself at https://dev-grafana.ecamp3.ch/?orgId=1

Also add kubernetes-dashboard behind oauth-proxy

An access token can be generated with
kubectl -n ops-dashboard create token kubernetes-dashboard-admin-user
(I will move this text to the wiki once the PR is merged)

See at https://dev-kubernetes-dashboard.ecamp3.ch

closes #4134

That we don't need kubectl to access these internal services.
Can be used for the kibana from ecamp#5039,
or the kubernetes dashboard from ecamp#4134
Copy link
Member

@usu usu left a comment

Choose a reason for hiding this comment

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

Nice 🚀
How would we add a 2nd service (like kibana)? Would we need a 2nd deployment of this ops-dashboard? Or we could add a 2nd upstream config?

And expose it with oauth-proxy.
closes ecamp#4134
@BacLuc
Copy link
Contributor Author

BacLuc commented Apr 28, 2024

Nice 🚀 How would we add a 2nd service (like kibana)? Would we need a 2nd deployment of this ops-dashboard? Or we could add a 2nd upstream config?

I didn't get oauth2-proxy to split traffic by host (by path it is no problem).

So i just added another oauth2-proxy instance.
2cd83b7

@BacLuc BacLuc requested a review from usu April 28, 2024 08:59
@BacLuc BacLuc changed the title .ops: expose grafana behind oauth2-proxy with github provider .ops: expose grafana and kubernetes-dashboard behind oauth2-proxy with github provider Apr 28, 2024
@BacLuc BacLuc added this pull request to the merge queue May 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 15, 2024
@BacLuc BacLuc added this pull request to the merge queue May 16, 2024
Merged via the queue into ecamp:devel with commit 7d6c390 May 16, 2024
32 checks passed
@BacLuc BacLuc deleted the ops-add-oauth-proxy branch May 26, 2024 11:45
@BacLuc BacLuc mentioned this pull request Jul 10, 2024
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.

Install Kubernetes Dashboard in Clusters
3 participants