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

Make Workspace Controller generate TLS certs for webhook server #24

Closed

Conversation

sleshchenko
Copy link
Member

@sleshchenko sleshchenko commented Mar 3, 2020

What does this PR do?

This PR makes Workspace Controller generate TLS certs for webhook server

It's not working yet:

Error from server (InternalError): error when creating "./samples/cloud-shell.yaml": Internal error occurred: failed calling admission webhook "mutate-workspaces.che-workspace-controller.svc": Post https://workspace-controller.che-workspace-controller.svc:443/mutate-workspaces?timeout=30s: x509: certificate is valid for ..svc.cluster.local, not workspace-controller.che-workspace-controller.svc

TODO read secret/configmap on start and write content into file to avoid pod restarting when cert is generated.

What issues does this PR fix or reference?

eclipse-che/che#16251

Is it tested? How?

It's not working yet

Error from server (InternalError): error when creating "./samples/cloud-shell.yaml": Internal error occurred: failed calling admission webhook "mutate-workspaces.che-workspace-controller.svc": Post https://workspace-controller.che-workspace-controller.svc:443/mutate-workspaces?timeout=30s: x509: certificate is valid for ..svc.cluster.local, not workspace-controller.che-workspace-controller.svc

Signed-off-by: Sergii Leshchenko <[email protected]>
@sleshchenko
Copy link
Member Author

is not going to be finalized since it uses non-supported functionality from operator-sdk. See operator-framework/operator-sdk#419 (comment)

@sleshchenko sleshchenko deleted the generateWebhookServerTLS branch April 16, 2020 12:44
JPinkney pushed a commit to JPinkney/che-workspace-operator that referenced this pull request May 13, 2021
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.

1 participant