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

Allow copying also the content of the config map #18264

Conversation

davidfestal
Copy link
Contributor

@davidfestal davidfestal commented Nov 2, 2020

Signed-off-by: David Festal dfestal@redhat.com

What does this PR do?

This PR allows correctly propagating up to the workspace, the content of the trusted CA bundle configured

What issues does this PR fix or reference?

#18245

How to test this PR?

  • Install Che
  • Create a my-ca-certs config map with 1 key name my.crt and an untrusted certificate as value
  • Set the spec.server.ServerTrustStoreConfigMapName of the CheCluster custom resource to the name of the my-ca-certs config map
  • Wait for the Che server restart
  • Start a workspace
  • Check that the namespace of the workspace contains a ca-certs config map that contains a ca-bundle.crt key (with OpenShift-injected certificates) and the my.crt key with your untrusted certificate as a value.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Signed-off-by: David Festal <dfestal@redhat.com>
@che-bot che-bot added target/branch Indicates that a PR will be merged into a branch other than master. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. kind/bug Outline of a bug - must adhere to the bug report template. labels Nov 2, 2020
Signed-off-by: David Festal <dfestal@redhat.com>
as requested by @mshaposhnik

Signed-off-by: David Festal <dfestal@redhat.com>
Signed-off-by: David Festal <dfestal@redhat.com>
@davidfestal davidfestal merged commit ebc7764 into eclipse-che:7.20.x Nov 3, 2020
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Nov 3, 2020
@davidfestal
Copy link
Contributor Author

@mshaposhnik @skabashnyuk This PR should probably be cherry-picked to the main branch.

Is this something platform team plan to integrate into next Sprint ?

cc @l0rd

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. target/branch Indicates that a PR will be merged into a branch other than master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants