Skip to content

Commit ca8965b

Browse files
authored
Merge pull request ecamp#5203 from BacLuc/expose-logging-via-reverse-proxy
Expose kibana via oauth2 proxy
2 parents c3a9b83 + 6a74780 commit ca8965b

File tree

5 files changed

+33
-3
lines changed

5 files changed

+33
-3
lines changed

.ops/ops-dashboard/Chart.lock

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ dependencies:
88
- name: oauth2-proxy
99
repository: https://oauth2-proxy.github.io/manifests
1010
version: 7.7.1
11-
digest: sha256:6aa46fcbee157662cd3c66b6528a6df3df2457ba3ceeacb39108f0d6ee808b89
12-
generated: "2024-05-31T19:18:54.433436914Z"
11+
- name: oauth2-proxy
12+
repository: https://oauth2-proxy.github.io/manifests
13+
version: 7.7.1
14+
digest: sha256:1347cf4d5d91368a57a24cbe2fe2f57a58e626bd95bc3320afbb5e90ba0121ab
15+
generated: "2024-06-03T22:10:50.048317587+02:00"

.ops/ops-dashboard/Chart.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ dependencies:
3535
alias: kubernetes-dashboard-proxy
3636
version: 7.7.1
3737
repository: https://oauth2-proxy.github.io/manifests
38+
- name: oauth2-proxy
39+
alias: logging-proxy
40+
version: 7.7.1
41+
repository: https://oauth2-proxy.github.io/manifests

.ops/ops-dashboard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ helm repo update
2525
First, make sure you don't overwrite the configuration currently applied:
2626

2727
```shell
28-
helm get values ops-dashboard
28+
helm -n ops-dashboard get values ops-dashboard
2929
```
3030

3131
Fill in the values for values.access.yaml according to demo.values.access.yaml

.ops/ops-dashboard/demo.values.access.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,18 @@ kubernetes-dashboard-proxy:
2929
clientSecret: ""
3030
# use the same cookieSecret as above
3131
cookieSecret: ""
32+
logging-proxy:
33+
config:
34+
# OAuth client ID
35+
clientID:
36+
# OAuth client secret
37+
clientSecret:
38+
# use the same cookieSecret as above
39+
cookieSecret:
40+
extraArgs:
41+
# dev, stage or prod kubernetes-dashboard url
42+
whitelist-domain: dev-logging.ecamp3.ch
43+
ingress:
44+
hosts:
45+
# dev, stage or prod kubernetes-dashboard url
46+
- dev-logging.ecamp3.ch

.ops/ops-dashboard/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ kubernetes-dashboard-proxy:
1515
github-org: ecamp
1616
upstream: https://ops-dashboard-kong-proxy.ops-dashboard.svc.cluster.local
1717
ssl-upstream-insecure-skip-verify: true
18+
logging-proxy:
19+
ingress:
20+
enabled: true
21+
className: nginx
22+
extraArgs:
23+
provider: github
24+
github-org: ecamp
25+
upstream: http://kibana.ecamp3-logging.svc.cluster.local:5601

0 commit comments

Comments
 (0)