* Introduce RED metrics for ws-proxy
Originally from https://github.com/gitpod-io/gitpod/pull/17294
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
* Remove unused var
* [ws-proxy] fix crash loop backoff (WIP)
I think for this value to be populated, we'll need to "bubble up" httpVersion (like what was done with many methods and resource) 🤔 Think of a better way.
* Add namespace and subsystem to metrics
* Set a value for http_version label
* Persist http_version for server metrics
* Code review feedback
---------
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
* [ws-proxy] only get username if workspace not managed by mk2
* remove ssh key from infoprovider
* improve logs
* Update components/ws-proxy/pkg/sshproxy/server.go
* [sshgateway] use ssh CA to auth
* change name
* add error log
* fix
* mark volume optional
* [installer] validate ssh-ca secret
* Revert "[installer] validate ssh-ca secret"
This reverts commit ca6ede78a7b5a720fd315eca32eb277cb5063069.
We must support the scenario where the installer has the secret, but, it is not in the cluster yet.
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>