In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to use Github in Rancher2. It is very detailed and has a certain reference value. Friends who are interested must finish it!
Version support: Rancher v2.0.0+
In an environment that uses GitHub, you can configure Rancher to allow login using GitHub credentials.
Log in to Rancher using a local user with the administrator role.
In the global view, select Security > Authentication from the main menu.
Select GitHub.
At 1. Click here to set up the Github application.
Then pop up the login page of Github and enter your account number and password to log in.
If you are using a locally deployed Enterprise Github server, open a new window through your browser to access https:///settings/developers.
After logging in to Github, click new OAuth app and fill in the relevant parameters.
Homepage URL: home page URL, view the Rancher Github configuration page
Application description: optional
Application description: authorization callback URL. View the Rancher Github configuration page.
Finally, click Register application.
What is the authorized callback URL?
When you use external authentication, authentication does not actually occur in your application. Instead, authentication takes place externally (in this case, GitHub). After the external authentication completes successfully, the user will re-enter the application through the authorization callback URL.
After clicking Register application, the application is created automatically. Copy Client ID and Client Secret
On the Rancher Github configuration page, enter the copied Client ID and Client Secret
If it is a private Github Enterprise Edition server deployed locally, you need to check whether to use private GitHub Enterprise Edition deployment and whether to use secure connection according to the actual situation.
Click enable GitHub for authentication.
When you click to enable GitHub, a new window image authentication authorization will pop up. If the window does not pop up, please insist on whether the browser security settings prevent the pop-up window.
After the authorization is passed, it will automatically return to the Rancher Github configuration page and configure the scope of user authorization in the site access options.
Allow all valid users
All GitHub users, as well as local users, as well as other third-party certified users can access Rancher. We usually discourage the use of this setting!
Allow clusters, projects, and authorized users and group members
All GitHub users or groups configured as members of a cluster or project, as well as local users, can log in to Rancher. In addition, any GitHub user or group that you add to the list of authorized users and organizations can log in to Rancher.
Access to authorized users and organizations only
Only GitHub users or groups added to authorized users and organizations can log in to Rancher. Relative security is higher, but flexibility is lower.
Click Save.
The above is all the contents of the article "how to use Github in Rancher2". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.