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

Expose kibana via oauth2 proxy #5203

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .ops/ops-dashboard/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ dependencies:
- name: oauth2-proxy
repository: https://oauth2-proxy.github.io/manifests
version: 7.7.1
digest: sha256:6aa46fcbee157662cd3c66b6528a6df3df2457ba3ceeacb39108f0d6ee808b89
generated: "2024-05-31T19:18:54.433436914Z"
- name: oauth2-proxy
repository: https://oauth2-proxy.github.io/manifests
version: 7.7.1
digest: sha256:1347cf4d5d91368a57a24cbe2fe2f57a58e626bd95bc3320afbb5e90ba0121ab
generated: "2024-06-03T22:10:50.048317587+02:00"
4 changes: 4 additions & 0 deletions .ops/ops-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ dependencies:
alias: kubernetes-dashboard-proxy
version: 7.7.1
repository: https://oauth2-proxy.github.io/manifests
- name: oauth2-proxy
alias: logging-proxy
version: 7.7.1
repository: https://oauth2-proxy.github.io/manifests
2 changes: 1 addition & 1 deletion .ops/ops-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ helm repo update
First, make sure you don't overwrite the configuration currently applied:

```shell
helm get values ops-dashboard
helm -n ops-dashboard get values ops-dashboard
```

Fill in the values for values.access.yaml according to demo.values.access.yaml
Expand Down
15 changes: 15 additions & 0 deletions .ops/ops-dashboard/demo.values.access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,18 @@ kubernetes-dashboard-proxy:
clientSecret: ""
# use the same cookieSecret as above
cookieSecret: ""
logging-proxy:
config:
# OAuth client ID
clientID:
# OAuth client secret
clientSecret:
# use the same cookieSecret as above
cookieSecret:
extraArgs:
# dev, stage or prod kubernetes-dashboard url
whitelist-domain: dev-logging.ecamp3.ch
ingress:
hosts:
# dev, stage or prod kubernetes-dashboard url
- dev-logging.ecamp3.ch
8 changes: 8 additions & 0 deletions .ops/ops-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ kubernetes-dashboard-proxy:
github-org: ecamp
upstream: https://ops-dashboard-kong-proxy.ops-dashboard.svc.cluster.local
ssl-upstream-insecure-skip-verify: true
logging-proxy:
ingress:
enabled: true
className: nginx
extraArgs:
provider: github
github-org: ecamp
upstream: http://kibana.ecamp3-logging.svc.cluster.local:5601
Loading