21ae28cc1a
Add support for file injection on creating the container. API users need to pass the file contents by using the 'mounts' attribute. The content will persist into a temp file in the compute host and bind-mount into the container. To achieve this, we introduce the volume driver called 'Local'. This driver will implement the volume driver interface and handle file injection related operations. In data model, we adds a new field 'contents' into the volume_mapping table. We also change 'volume_id' to be nullable because file injection doesn't need a cinder volume. A future work is to add the ability to limit the size and number of injected files. The limits should be configurable either via admin APIs or config options. Implements: blueprint inject-files-to-container Change-Id: I4ab6f50684f77bd7762e872d884ce11a7b0807ba
83 lines
2.1 KiB
INI
83 lines
2.1 KiB
INI
[metadata]
|
|
name = zun
|
|
summary = OpenStack Containers service
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = https://docs.openstack.org/zun/latest/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.5
|
|
|
|
[files]
|
|
data_files =
|
|
etc/zun =
|
|
etc/zun/api-paste.ini
|
|
packages =
|
|
zun
|
|
|
|
[compile_catalog]
|
|
directory = zun/locale
|
|
domain = zun
|
|
|
|
[update_catalog]
|
|
domain = zun
|
|
output_dir = zun/locale
|
|
input_file = zun/locale/zun.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = zun/locale/zun.pot
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
zun-api = zun.cmd.api:main
|
|
zun-compute = zun.cmd.compute:main
|
|
zun-db-manage = zun.cmd.db_manage:main
|
|
zun-wsproxy = zun.cmd.wsproxy:main
|
|
zun-rootwrap = oslo_rootwrap.cmd:main
|
|
wsgi_scripts =
|
|
zun-api-wsgi = zun.api.wsgi:init_application
|
|
|
|
oslo.config.opts =
|
|
zun.conf = zun.conf.opts:list_opts
|
|
|
|
oslo.config.opts.defaults =
|
|
zun = zun.common.config:set_cors_middleware_defaults
|
|
|
|
oslo.policy.policies =
|
|
zun = zun.common.policies:list_rules
|
|
|
|
zun.database.migration_backend =
|
|
sqlalchemy = zun.db.sqlalchemy.migration
|
|
|
|
zun.scheduler.driver =
|
|
chance_scheduler = zun.scheduler.chance_scheduler:ChanceScheduler
|
|
fake_scheduler = zun.tests.unit.scheduler.fakes:FakeScheduler
|
|
filter_scheduler = zun.scheduler.filter_scheduler:FilterScheduler
|
|
|
|
zun.image.driver =
|
|
glance = zun.image.glance.driver:GlanceDriver
|
|
docker = zun.image.docker.driver:DockerDriver
|
|
|
|
zun.network.driver =
|
|
kuryr = zun.network.kuryr_network:KuryrNetwork
|
|
|
|
zun.volume.driver =
|
|
cinder = zun.volume.driver:Cinder
|
|
local = zun.volume.driver:Local
|
|
|
|
[extras]
|
|
osprofiler =
|
|
osprofiler>=1.4.0 # Apache-2.0
|