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

Technical User Management #15

Closed
10 tasks
gardener-robot-ci-1 opened this issue Jan 27, 2018 · 0 comments
Closed
10 tasks

Technical User Management #15

gardener-robot-ci-1 opened this issue Jan 27, 2018 · 0 comments
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension

Comments

@gardener-robot-ci-1
Copy link
Contributor

gardener-robot-ci-1 commented Jan 27, 2018

Story

  • As programmatic Gardener consumer I want a technical user, so that I can manage my cluster without the use of the dashboard (create or delete them).

Motivation

Our current IdP SAML-based authentication solution works only from the dashboard. There are limitations to expand that to technical users and programmatic access.

Acceptance Criteria

  • In the members area of the Gardener dashboard we should offer the possibility to create a technical user (API user). This could be done as an additional tab in the "assign user to project" popup.
  • After adding the technical user as a member, a download icon should appear (next to the delete icon), which allows him to download a kubeconfig file. This kubeconfig file includes a valid token and allows the user to create shoot clusters via kubectl.
  • After the enduser added the technical user the following things happen in the background
    • A ServiceAccount with the same name as the technical user is created.
    • The Service Account is added to the rolebinding 'garden-project-members' to have the same restricted permissions as all other members.
    • A kubeconfig file is created with a valid token. The token can be retrieved from a secret, which is automatically created when you create a ServiceAccount.

Note: Scripting solution is already available internally at https://github.wdf.sap.corp/kubernetes/garden-setup/tree/master/utils (by @RaphaelVogel).

Definition of Done

  • Knowledge is distributed: Have you spread your knowledge in pair programming/code review?
  • Unit Tests are provided: Have you written automated unit tests or added manual NGPTT tickets?
  • Integration Tests are provided: Have you written automated integration tests?
  • Minimum API exposure: If you have added public API, was it really necessary/is it minimal?
@gardener-robot-ci-1 gardener-robot-ci-1 added the kind/enhancement Enhancement, improvement, extension label Jan 27, 2018
@gardener gardener deleted a comment from gardener-robot-ci-1 Feb 11, 2018
@gardener gardener deleted a comment from gardener-robot-ci-1 Feb 11, 2018
@gardener gardener deleted a comment from gardener-robot-ci-1 Feb 11, 2018
@vlerenc vlerenc changed the title Add possibility to create technical users in UI Technical User Management Feb 11, 2018
@vlerenc vlerenc added the component/dashboard Gardener Dashboard label Jun 27, 2018
@vlerenc vlerenc added the status/accepted Issue was accepted as something we need to work on label Aug 5, 2018
@vlerenc vlerenc closed this as completed Sep 26, 2018
@gardener-robot-ci-1 gardener-robot-ci-1 removed the status/accepted Issue was accepted as something we need to work on label Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension
Projects
None yet
Development

No branches or pull requests

2 participants