-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 control over TLS version and ciphers for docker-registry #13258
Conversation
[test] |
Evaluated for origin test up to d2ab74c |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/873/) (Base Commit: b4652ac) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -36,6 +36,8 @@ import ( | |||
_ "github.com/docker/distribution/registry/storage/driver/s3-aws" | |||
_ "github.com/docker/distribution/registry/storage/driver/swift" | |||
|
|||
"strings" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go way up.
[merge] @miminar agreed the strings import is ok to fix later. |
Evaluated for origin merge up to d2ab74c |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_future/873/) (Base Commit: 11034b2) (Image: devenv-rhel7_6047) |
Allows envvar-based control over tls version and ciphers for docker registry via envvars
Valid tls versions are "VersionTLS10", "VersionTLS11", "VersionTLS12"
Valid cipher suites are https://golang.org/pkg/crypto/tls/#pkg-constants for the golang version used to build origin, taken from descriptions of http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-4
I'm not sure whether we want to try to add config file options for these... the stanza for TLS options is part of docker standard config
follow up to #13167 for the docker registry