Containers Service for OpenStack
Go to file
Hongbin Lu ccfc7c2418 Use policy for control the 'host' field
In before, we manually remove the 'host' field from container
if the request was not made by admin users. This patch allows
operators to define a policy to decide whether to expose
this field. This is more flexible.

In addition, the field removal logic is moved to 'format_container'
to ensure that the field was removed (by policy) in all HTTP
methods (instead of 'GET' method only).

The policy is of the form "container:get_one:<field_name>".
For example, if the field is 'host', the corresponding policy
would be "container:get_one:host". If there is no policy defined
for a field, this field is allowed. Otherwise, the visibility
of this field is decided by the defined policy. The policy
enforcement logic is extended to allow a field 'might_not_exist'.

Change-Id: I40a0bfb4c26b8b46218f36ae0da9043b0f40b10b
2018-05-13 15:54:40 +00:00
api-ref/source api-ref: fix the wrong required/optional marker 2018-05-03 02:47:14 +00:00
contrib Add Dockerfile 2018-05-10 01:49:57 -07:00
devstack Configure kuryr not creating SGs 2018-04-22 20:01:13 +00:00
doc Merge "Fix multinode-devstack document service list output error" 2018-05-10 14:31:44 +00:00
etc Introduce rootwrap and filter 2018-03-14 04:36:33 +00:00
playbooks Configure kuryr not creating SGs 2018-04-22 20:01:13 +00:00
releasenotes Update reno for stable/queens 2018-02-05 22:44:39 +00:00
specs Follow the new PTI for document build 2018-05-07 03:59:05 +00:00
template/capsule Make capsule support availability zone 2018-03-31 20:44:01 +00:00
tools Migrate to stestr 2018-03-28 15:29:40 +07:00
zun Use policy for control the 'host' field 2018-05-13 15:54:40 +00:00
.coveragerc Add coverage configuration 2016-11-02 05:15:29 +00:00
.gitignore Migrate to stestr 2018-03-28 15:29:40 +07:00
.gitreview Update after project rename 2016-09-03 16:03:04 -05:00
.stestr.conf Migrate to stestr 2018-03-28 15:29:40 +07:00
.zuul.yaml add lower-constraints job 2018-03-22 19:18:01 -04:00
babel.cfg Initial commit 2016-05-12 14:59:56 -04:00
CONTRIBUTING.rst Optimize the link address 2017-04-07 10:50:23 +08:00
HACKING.rst Fix docs & specs erros. 2017-07-15 16:10:06 +07:00
LICENSE Initial commit 2016-05-12 14:59:56 -04:00
lower-constraints.txt Merge "Remove unused nova related code" 2018-04-24 07:07:21 +00:00
README.rst Update our project definition 2018-02-04 17:56:32 +00:00
requirements.txt Follow the new PTI for document build 2018-05-07 03:59:05 +00:00
setup.cfg Follow the new PTI for document build 2018-05-07 03:59:05 +00:00
setup.py Updated from global requirements 2017-06-10 13:40:18 +00:00
test-requirements.txt Follow the new PTI for document build 2018-05-07 03:59:05 +00:00
tox.ini Follow the new PTI for document build 2018-05-07 03:59:05 +00:00

Team and repository tags

image

image

Zun

OpenStack Containers service

Zun (ex. Higgins) is the OpenStack Containers service. It aims to provide an API service for running application containers without the need to manage servers or clusters.

Features

  • TODO