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

fix(helm): Keep helm labels sync with che-operator so chectl is able to deploy multiuser without errors #13812

Merged
merged 1 commit into from
Jul 15, 2019

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Jul 10, 2019

What does this PR do?

It adds extra labels to helm templates

It is related to documentation for Remote Che as part of EndGame 7.0.0
Else I'm not able to deploy it using chectl (and then write documentation)

$ chectl server:start --platform=k8s --installer=helm --domain=my-server.aws.my-ide.cloud --tls --multiuser
  ✔ ✈️  Kubernetes preflight checklist
    ✔ Verify if kubectl is installed
    ✔ Verify remote kubernetes status...done.
    ✔ Verify domain is set...set to my-serve.my-ide.cloud.
  ✔ 🏃‍  Running Helm to install Che
    ✔ Verify if helm is installed
    ✔ Create Tiller Role Binding...it already exist.
    ✔ Create Tiller Service Account...it already exist.
    ✔ Create Tiller RBAC
    ✔ Create Tiller Service...it already exist.
    ✔ Preparing Che Helm Chart...done.
    ✔ Updating Helm Chart dependencies...done.
    ✔ Deploying Che Helm Chart...done.
  ✔ ✅  Post installation checklist
    ✔ PostgreSQL pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✔ starting...done.
    ✔ Keycloak pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✔ starting...done.
    ✔ Che pod bootstrap
      ✔ scheduling...done.
      ✔ downloading images...done.
      ✔ starting...done.
    ✔ Retrieving Che Server URL...https://my-server.my-ide.cloud
    ✔ Che status check
Command server:start has completed successfully.

What issues does this PR fix or reference?

#13637

Change-Id: I9456187a5fb04574c1a9e40e004156a4c45810a9
Signed-off-by: Florent Benoit [email protected]

@benoitf benoitf changed the title Keep sync labels with che-operator so chectl is able to deploy multiuser without errors Keep helm labels sync with che-operator so chectl is able to deploy multiuser without errors Jul 10, 2019
Copy link
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 am +1 to include this to 7.0.0 because it is required to address #13801. This issue could be addressed as a chectl fix as well but:

  • it's cleaner to make helm and che-operator consistent
  • the fix looks pretty safe

@nickboldt
Copy link
Contributor

Will these new labels make it easier or harder to reskin Che 7 as CRW 2 ?

@benoitf
Copy link
Contributor Author

benoitf commented Jul 10, 2019

@NickBolt AFAIK helm is not used for CRW

@nickboldt
Copy link
Contributor

nickboldt commented Jul 10, 2019

Right, then approved for Che 7 because CRW won't support helm/pure k8s, only openshift.

My thought was that if this makes chectl LESS likely to work for CRW in future, it's a bad thing.

@benoitf
Copy link
Contributor Author

benoitf commented Jul 10, 2019

it's better for chectl (and users) as labels will be the same for operator and helm

@benoitf benoitf changed the title Keep helm labels sync with che-operator so chectl is able to deploy multiuser without errors fix(helm): Keep helm labels sync with che-operator so chectl is able to deploy multiuser without errors Jul 12, 2019
… deploy multi user without errors

It is related to documentation for Remote Che as part of EndGame 7.0.0
Else I'm not able to deploy it using chectl

Change-Id: I9456187a5fb04574c1a9e40e004156a4c45810a9
Signed-off-by: Florent Benoit <[email protected]>
benoitf added a commit to che-incubator/chectl that referenced this pull request Jul 15, 2019
eclipse-che/che#13812

Change-Id: I6d0e1b5b25d4ca551eecea290bc7ee291d189a75
Signed-off-by: Florent Benoit <[email protected]>
benoitf added a commit to che-incubator/chectl that referenced this pull request Jul 15, 2019
eclipse-che/che#13812

Change-Id: I6d0e1b5b25d4ca551eecea290bc7ee291d189a75
Signed-off-by: Florent Benoit <[email protected]>
@benoitf benoitf self-assigned this Jul 15, 2019
@benoitf benoitf merged commit 2efdcc6 into master Jul 15, 2019
@benoitf benoitf deleted the helm-template branch July 15, 2019 14:10
benoitf added a commit to che-incubator/chectl that referenced this pull request Jul 15, 2019
eclipse-che/che#13812

Change-Id: I6d0e1b5b25d4ca551eecea290bc7ee291d189a75
Signed-off-by: Florent Benoit <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants