forked from openstack/glance
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove all example configs for deprecated registry"
This reverts commit 2a28696. Devstack still references a number of these files; revert until devstack incorporates removal. Change-Id: I1e90ceee1f87291668e447f180f37bb809763836
- Loading branch information
Showing
10 changed files
with
2,039 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
=============== | ||
glance-registry | ||
=============== | ||
|
||
-------------------------------------- | ||
Server for the Glance Registry Service | ||
-------------------------------------- | ||
|
||
.. include:: header.txt | ||
|
||
.. include:: ../deprecate-registry.inc | ||
|
||
|
||
SYNOPSIS | ||
======== | ||
|
||
:: | ||
|
||
glance-registry [options] | ||
|
||
DESCRIPTION | ||
=========== | ||
|
||
glance-registry is a server daemon that serves image metadata through a | ||
REST-like API. | ||
|
||
OPTIONS | ||
======= | ||
|
||
**General options** | ||
|
||
.. include:: general_options.txt | ||
|
||
FILES | ||
===== | ||
|
||
**/etc/glance/glance-registry.conf** | ||
Default configuration file for Glance Registry | ||
|
||
.. include:: footer.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. _glance-registry.conf: | ||
|
||
-------------------- | ||
glance-registry.conf | ||
-------------------- | ||
|
||
.. include:: ../deprecate-registry.inc | ||
|
||
This configuration file controls how the register server operates. More | ||
information can be found in :ref:`configuring-the-glance-registry`. | ||
|
||
.. show-options:: | ||
:config-file: etc/oslo-config-generator/glance-registry.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Use this pipeline for no auth - DEFAULT | ||
[pipeline:glance-registry] | ||
pipeline = healthcheck osprofiler unauthenticated-context registryapp | ||
|
||
# Use this pipeline for keystone auth | ||
[pipeline:glance-registry-keystone] | ||
pipeline = healthcheck osprofiler authtoken context registryapp | ||
|
||
# Use this pipeline for authZ only. This means that the registry will treat a | ||
# user as authenticated without making requests to keystone to reauthenticate | ||
# the user. | ||
[pipeline:glance-registry-trusted-auth] | ||
pipeline = healthcheck osprofiler context registryapp | ||
|
||
[app:registryapp] | ||
paste.app_factory = glance.registry.api:API.factory | ||
|
||
[filter:healthcheck] | ||
paste.filter_factory = oslo_middleware:Healthcheck.factory | ||
backends = disable_by_file | ||
disable_by_file_path = /etc/glance/healthcheck_disable | ||
|
||
[filter:context] | ||
paste.filter_factory = glance.api.middleware.context:ContextMiddleware.factory | ||
|
||
[filter:unauthenticated-context] | ||
paste.filter_factory = glance.api.middleware.context:UnauthenticatedContextMiddleware.factory | ||
|
||
[filter:authtoken] | ||
paste.filter_factory = keystonemiddleware.auth_token:filter_factory | ||
|
||
[filter:osprofiler] | ||
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory | ||
hmac_keys = SECRET_KEY #DEPRECATED | ||
enabled = yes #DEPRECATED |
Oops, something went wrong.