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(operator): fix deploying on K8s with operator and TLS #241

Merged
merged 1 commit into from
Aug 23, 2019

Conversation

sleshchenko
Copy link
Contributor

@sleshchenko sleshchenko commented Aug 2, 2019

What does this PR do?

fix(operator): fix deploying on K8s with operator and TLS

What issues does this PR fix or reference?

eclipse-che/che#14102

src/platforms/minishift.ts Outdated Show resolved Hide resolved
src/api/kube.ts Outdated
@@ -759,6 +759,9 @@ export class KubeHelper {
yamlCr.spec.server.cheImageTag = imageAndTag.length === 2 ? imageAndTag[1] : 'latest'
yamlCr.spec.auth.openShiftoAuth = flags['os-oauth']
yamlCr.spec.server.tlsSupport = flags.tls
if (flags.tls) {
yamlCr.spec.k8s.tlsSecretName = `che-tls`
Copy link
Contributor

Choose a reason for hiding this comment

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

Where this che-tls value comes from?
What happens, if I put my own value in CheCluster YAML provided by parameter --che-operator-cr-yaml. To me it seems, that it will be overriden.

Copy link
Contributor

Choose a reason for hiding this comment

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

@rhopp

Then nothing will be overriden and additional chectl parameters will be ignored

That's the reason of line 752

@benoitf
Copy link
Collaborator

benoitf commented Aug 7, 2019

@sleshchenko FYI it doesn't work on CI (format style error)

@sleshchenko
Copy link
Contributor Author

@benoitf Thanks! Fixed.

@sleshchenko sleshchenko changed the title fix(operator): fix deploying on K8s with operator and TLS WIP fix(operator): fix deploying on K8s with operator and TLS Aug 8, 2019
@sleshchenko sleshchenko changed the title WIP fix(operator): fix deploying on K8s with operator and TLS fix(operator): fix deploying on K8s with operator and TLS Aug 23, 2019
Signed-off-by: Sergii Leshchenko <sleshche@redhat.com>
@sleshchenko sleshchenko merged commit bebff04 into che-incubator:master Aug 23, 2019
@sleshchenko sleshchenko deleted the k8sTLS branch August 23, 2019 13:02
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.

5 participants