Skip to content

Simplify OpenShift/Kubernetes admin configuration#10529

Merged
amisevsk merged 1 commit intoeclipse-che:masterfrom
amisevsk:limit-deployment-use-cases
Aug 7, 2018
Merged

Simplify OpenShift/Kubernetes admin configuration#10529
amisevsk merged 1 commit intoeclipse-che:masterfrom
amisevsk:limit-deployment-use-cases

Conversation

@amisevsk
Copy link
Copy Markdown
Contributor

What does this PR do?

Remove the properties

  • che.infra.kubernetes.username
  • che.infra.kubernetes.password
  • che.infra.kubernetes.oauth_token

according to discussion in issue #9961 (comment)

As a result of this PR, the single-project use case of Che is simplified to just relying on the Che service account. This means that if workspaces are to be created in a different namespace, the service account will require cluster admin rights as noted in the updated docs PR.

What issues does this PR fix or reference?

#9961

Docs PR

eclipse-che/che-docs#439

Removes properties

- che.infra.kubernetes.username : can change, requiring reconfiguration
- che.infra.kubernetes.password : can change, requiring reconfiguration
- che.infra.kubernetes.oauth_token : expires

as they complicate setup and all represent suboptimal running scenarios.
Use che serviceaccount instead.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@amisevsk amisevsk added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 24, 2018
@amisevsk amisevsk requested review from a user, l0rd and sleshchenko July 24, 2018 23:15
@riuvshin
Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

@benoitf benoitf added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 24, 2018
@garagatyi
Copy link
Copy Markdown

@eivantsov It is not clear to me whether you are approving docs or general approach or both or code. Could you elaborate on what your approval means?

Copy link
Copy Markdown

@garagatyi garagatyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! And the documentation PR is nice too!

@skabashnyuk
Copy link
Copy Markdown
Contributor

ci-test

@ghost
Copy link
Copy Markdown

ghost commented Jul 25, 2018

This PR simplifies the way Che communicates with OpenShift/K8S API, so it's easy to explain how to configure Che for the 2 major scenarios: che SA and OpenShift v3 identity provider. So, +1.

@riuvshin
Copy link
Copy Markdown
Contributor

ci-test build report:
Build details
Test report
selenium tests report data
docker image: eclipseche/che-server:10529
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@skabashnyuk
Copy link
Copy Markdown
Contributor

@eclipse/eclipse-che-qa can you take a look on test results?

@vkuznyetsov vkuznyetsov mentioned this pull request Jul 26, 2018
39 tasks
@Ohrimenko1988
Copy link
Copy Markdown
Contributor

Tests didn't show any regression.

Copy link
Copy Markdown
Contributor

@l0rd l0rd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this kind of PR image

Copy link
Copy Markdown
Member

@sleshchenko sleshchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@amisevsk amisevsk merged commit 44588aa into eclipse-che:master Aug 7, 2018
@amisevsk amisevsk deleted the limit-deployment-use-cases branch August 7, 2018 14:11
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Aug 9, 2018
@benoitf benoitf added this to the 6.10.0 milestone Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Outline of a bug - must adhere to the bug report template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants