Ricardo Maraschini
c2ca6fff66
chore: fix misguiding error message
...
the env variable name was wrong and we were showing the full env
variable and not the cipher where the validation fails.
this also replaces string.Split with strings.SplitSeq.
2026-01-15 17:51:29 +01:00
Ricardo Maraschini
94bbf2c668
IR-350: fix cipher suite configuration conflict with docker distribution
...
docker distribution expects REGISTRY_HTTP_TLS_CIPHERSUITES as a json
array (e.g., '["a", "b"]'), while openshift image registry expects
comma-separated values (e.g., 'a,b'). setting this variable in the
openshift format causes the registry to crash during config parsing.
this change replaces REGISTRY_HTTP_TLS_CIPHERSUITES with
OPENSHIFT_REGISTRY_HTTP_TLS_CIPHERSUITES to use the comma-separated
format. Since the registry cannot start with the old variable set
incorrectly, there is no backward compatibility concern.
2026-01-14 18:21:33 +01:00
Flavian Missi
bfd00a9570
use logrus-logstash default formatter
...
it uses time.RFC3339Nano by default
2023-06-26 14:01:44 +02:00
Flavian Missi
e836be907c
pkg/cmd/dockerregistry: format file
2023-06-26 14:01:44 +02:00
Flavian Missi
f9d93c44be
pkg,test: import distribution/distribution/v3
...
instead of the deprecated docker/distribution
2023-06-19 12:06:47 +02:00
Forrest Babcock
81fae2eb92
Revert "Merge pull request #370 from flavianmissi/bump-docker-distribution"
...
This reverts commit b095928ea9 , reversing
changes made to 92c7270360 .
2023-06-16 10:37:39 -04:00
Flavian Missi
876b636540
use logrus-logstash default formatter
...
it uses time.RFC3339Nano by default
2023-06-13 12:03:24 +02:00
Flavian Missi
5a99a1cf2f
pkg/cmd/dockerregistry: format file
2023-06-13 12:03:24 +02:00
Flavian Missi
342cc1a242
pkg,test: import distribution/distribution/v3
...
instead of the deprecated docker/distribution
2023-06-13 12:03:23 +02:00
Ricardo Maraschini
032010089b
Implementing signaling for graceful shutdown.
...
Running webserver in a separated go routing and awaiting for SIGTERM.
2019-08-23 09:39:25 +02:00
Oleg Bulatov
c5c35c3e3b
Use standard context package
2018-08-27 17:09:06 +02:00
Oleg Bulatov
81b22b2b23
github.com/Sirupsen/logrus -> github.com/sirupsen/logrus
2018-08-27 17:09:03 +02:00
Oleg Bulatov
359005cdf8
github.com/docker/distribution/digest -> github.com/opencontainers/go-digest
2018-08-27 17:09:02 +02:00
Gladkov Alexey
b0ab7a9baf
Use logrus for access logs
...
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2018-07-06 13:46:55 +02:00
Gladkov Alexey
f5ecaf4b8f
Take into account config.Log.AccessLog.Disabled option
...
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2018-07-06 13:44:56 +02:00
Ben Parees
51a2338667
switch to library-go deps
2018-07-02 14:43:26 -04:00
Gladkov Alexey
5380d3a082
Improve error handling
...
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2018-03-07 16:25:41 +01:00
Gladkov Alexey
bc4ed26c45
Add options to verify and restore metadata by storage state
...
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2018-02-05 15:14:12 +01:00
Gladkov Alexey
9c8accf226
Add options to list registry storage
...
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2018-01-31 09:17:50 +01:00
Ben Parees
0b9d53b29b
remove kubernetes and origin deps
2018-01-23 13:21:19 -05:00
Oleg Bulatov
e9ead318c9
Add pkg/version
2017-12-14 16:01:28 +01:00
Oleg Bulatov
75a2c098e0
Add integration test for cross-mounting blobs
2017-12-08 18:31:45 +01:00
OpenShift Merge Robot
72f7c3a848
Merge pull request #15 from dmage/lint
...
Use gometalinter in make verify
2017-11-25 10:02:07 -08:00
Gladkov Alexey
922c1c45c1
Migrate middleware configuration to openshift section
...
See for more info: https://github.com/openshift/origin/issues/13568
Signed-off-by: Gladkov Alexey <agladkov@redhat.com >
2017-11-24 15:53:42 +01:00
Oleg Bulatov
7888015c19
Make linter happy
2017-11-24 15:21:35 +01:00
Oleg Bulatov
a5b4ea8369
Add code from the origin repository
2017-11-21 15:21:44 +01:00
Oleg Bulatov
856bf845d0
Add integration test TestImageLayers
2017-11-21 15:21:44 +01:00
David Eads
7fdede23a8
add forgotten files
2017-10-31 12:59:27 -04:00