1
0
mirror of https://github.com/openshift/image-registry.git synced 2026-02-05 09:45:55 +01:00

30 Commits

Author SHA1 Message Date
sandeepknd
6bf382ff1c updated the Dependency
fix the go-verify tests
2025-11-26 00:12:50 +05:30
sandeepknd
f5dec99c6b added OTE infrastructure code changes only 2025-11-25 23:04:52 +05:30
Richard Su
5ffb8b076b Add config.yaml and distribution binary for generic registry
This adds configuration and binary support for the generic registry. The container
image now supports two registry modes:

1. **dockerregistry** (default): OpenShift-integrated registry with authentication,
   quotas, mirroring, and cluster integration. Uses /config.yml configuration.

2. **distribution**: Generic distribution/distribution registry for standalone use cases
   without OpenShift-specific features. Uses /etc/registry/config.yaml configuration.

The generic registry configuration is sourced from:
https://github.com/openshift/appliance/blob/master/registry/config.yml

This provides flexibility to run the same container image either as an
OpenShift-integrated registry or as a standalone generic registry depending
on which binary and configuration are used.

To use the generic registry:
  podman run -e REGISTRY_CONFIGURATION_PATH=/etc/registry/config.yaml <image> /usr/bin/distribution

Assisted-by: Claude <noreply@anthropic.com>
2025-11-04 16:38:30 -06:00
Zane Bitter
e721820aa0 Add generic registry binary to container 2025-11-03 14:26:47 -06:00
Ricardo Maraschini
d552b78c74 Using klog v2
Migrated from k8s.io/klog v1 to k8s.io/klog v2.
2020-10-13 10:35:37 +02:00
Gladkov Alexey
ba61373057 Set logrus log level based on command line option
Signed-off-by: Gladkov Alexey <agladkov@redhat.com>
2019-04-29 18:27:09 +02:00
Gladkov Alexey
f131a4ce66 Sync the glog and klog flags
Signed-off-by: Gladkov Alexey <agladkov@redhat.com>
2019-04-29 18:27:09 +02:00
Maciej Szulik
a9c11cbdaa Clean owners 2019-02-08 11:44:12 +01:00
Oleg Bulatov
81b22b2b23 github.com/Sirupsen/logrus -> github.com/sirupsen/logrus 2018-08-27 17:09:03 +02:00
Ben Parees
38ff919d71 post-rebase tweaks 2018-07-02 14:53:48 -04:00
Ben Parees
51a2338667 switch to library-go deps 2018-07-02 14:43:26 -04:00
Ben Parees
0b9d53b29b remove kubernetes and origin deps 2018-01-23 13:21:19 -05: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
David Eads
7fdede23a8 add forgotten files 2017-10-31 12:59:27 -04:00
David Eads
535d362183 stop installing 2017-10-31 10:54:19 -04:00
Michal Minář
ac57469034 Registry owners extended
Signed-off-by: Michal Minář <miminar@redhat.com>
2017-10-31 10:54:19 -04:00
Monis Khan
afd97ed211 Remove ncdc from OWNERS
As a courtesy since Andy does not work at Red Hat anymore.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2017-10-31 10:54:19 -04:00
deads2k
97ef32911c remove deads2k from some of the more specific packages 2017-10-31 10:54:19 -04:00
Steve Kuznetsov
bf24d91e7d Bootstrap OWNERS files for the repository
In order to satisfy the blunderbuss and approvers plugins for the k8s CI
systems we are about to adopt, we need to add OWNERS files to
directories in Origin. The files contain reviewers and approvers for the
directory. Reviewers are members that blunderbuss will assign pull
requests to; approvers are members from whom an LGTM is necessary to
merge a pull request that touches files in the directory.

The inital values in these OWNERS files are generated by looking at the
most active contributors to any directory. The top ten most active
contributors to a directory are listed as reviewers; the top five most
active contributors that have merge rights with the current system are
listed as approvers.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2017-10-31 10:54:19 -04:00
Jordan Liggitt
e3ec76afce Seed math/rand on start 2017-10-31 10:54:19 -04:00
pweil-
6ee8028c12 add option to set host for profile endpoint 2017-10-31 10:54:19 -04:00
Clayton Coleman
78d0b2277e Register Kubernetes log package early 2017-10-31 10:54:19 -04:00
Dan Mace
323a629d0a Use conventional profiler setup code 2017-10-31 10:54:19 -04:00
Dan Mace
2661632416 Support HTTP pprof server in registry
Support enabling an HTTP pprof server in the registry command. When
the OPENSHIFT_PROFILE environment variable is present, a pprof
server will be started bound to the specified address. The server can
be exposed through a service.
2017-10-31 10:54:19 -04:00
deads2k
264b89f35d api type installation 2017-10-31 10:54:19 -04:00
Michal Minar
e56b283ec6 Registry refactor: handle REGISTRY_CONFIGURATION_PATH
Use this environment variable as a fallback for missing config argument.

Unset it to avoid a warning during config file parsing.

Signed-off-by: Michal Minar <miminar@redhat.com>
2017-10-31 10:54:19 -04:00
Paul Weil
77f1582257 use env var for config arg value 2017-10-31 10:54:19 -04:00
Clayton Coleman
01630a2b68 Set GOMAXPROCS by default 2017-10-31 10:54:19 -04:00
Andy Goldstein
aea2afb210 Add v2 registry 2015-03-19 17:02:57 -04:00