File tree 1 file changed +11
-5
lines changed
2019/05-kubernetes-dashboard-gitlab
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- # kubernetes-dashboard
2
- Используемый oauth провайдер - gitlab
1
+ Листинги для интеграции Kubernetes Dashboard и пользователей GitLab из [ нашей статьи на хабре] ( https://habr.com/ru/company/flant/blog/452988/ ) .
3
2
4
- Регистрируем в гитлаб новое приложение. Для этого идем Admin area -> Applications -> New application
3
+ # Инструкции
5
4
6
- Redirect URI(Callback url) устанавливаем вида https://dashboard.example.com/oauth2/callback
5
+ Используемый OAuth-провайдер — GitLab.
7
6
7
+ Регистрируем в GitLab новое приложение: Admin area → Applications → New application.
8
+
9
+ Устанавливаем Redirect URI (callback url) вида ``` https://dashboard.example.com/oauth2/callback ```
10
+
11
+ Далее пользуемся Bash-скриптом:
8
12
```
9
13
Usage: ctl.sh [OPTION]... --gitlab-url GITLAB_URL --oauth2-id ID --oauth2-secret SECRET --dashboard-url DASHBOARD_URL
10
14
Install kubernetes-dashboard to Kubernetes cluster.
@@ -19,8 +23,10 @@ Mandatory arguments:
19
23
Optional arguments:
20
24
-h, --help output this message
21
25
```
22
- ссылки на документацию:
26
+
27
+ Ссылки на дополнительную документацию:
23
28
24
29
* https://github.com/colemickens/oauth2_proxy/blob/master/README.md#gitlab-auth-provider
25
30
* https://docs.gitlab.com/ce/integration/oauth_provider.html
26
31
* https://github.com/kubernetes/ingress/tree/master/examples/external-auth/nginx
32
+
You can’t perform that action at this time.
0 commit comments