7 Commits

Author SHA1 Message Date
yangjianfeng
90088f3b0d Support specify project id by annotation
The implementation have some difference with the description of
blueprint. For more strict isolation, we only get project id from
namespace annotaion or configure option. The other resources's
project id inherit it's project or get from configiure option.

Implements: blueprint specify-project-by-annotation
Change-Id: Ia82cce6b211226599b4e1ca0d10416ed5e519ea2
2022-04-29 15:22:50 +08:00
Luis Tomas Bolivar
9d0918128c Ensure project id is returned for DefaultNamespaceProjectDriver
It also adds the missing unittest to ensure it does not happen again

Closes-Bug: 1785046
Change-Id: I67b284c08d11be7ec7c51214405fd03678fae3b5
2018-08-02 13:29:31 +02:00
Daniel Mellado
5421ce1ba5 Add Network Policies Driver
This patch adds the driver skel for Network Policy Support and hooks the
previously merged handler to use it. Follow up patches will provide translation
between NP and Neutron security groups and driver implementation.

Partially Implements: blueprint k8s-network-policies
Co-Authored-By: Eyal Leshem <eyal.leshem@toganetworks.com>
Change-Id: Ie8cca7b717677347f6a100e8d3b3912bdc20a148
2018-07-17 13:00:56 +02:00
Luis Tomas Bolivar
3da0a027d1 Add default namespace project driver
This patch adds a new default driver to get the project ID
associated to a namespace. Same as the pod and service project
drivers

Partially Implements: blueprint network-namespace

Change-Id: Ib4306ba2c3d07ddfa311e2970b67d8b617c951e7
2018-07-11 10:48:32 +00:00
Ilya Chukhnakov
a715f9edb9 K8s Services support: LBaaSSpecHandler
This patch introduces LBaaSSpecHandler that handles K8s Service
events and updates related Endpoints with LBaaSServiceSpec when
necessary.

Change-Id: I09a0235842edd06827437f37aeac7ca5daeb1774
Partially-Implements: blueprint kuryr-k8s-integration
2017-02-03 15:05:45 +03:00
Irena Berezovsky
db5ea40874 Fix group parameter for cfg.RequiredOptError in default drivers
Change-Id: I2b8224c17719964777875708b32db44d33d286bf
Closes-Bug: #1652756
2016-12-28 00:41:51 +02:00
Ilya Chukhnakov
363575fe4c Controller driver base and pod project driver
This patch adds stevedore-based driver support to the controller and
implements a driver to determine OpenStack project ID used to create
pod ports.

Change-Id: I0002ce1c1f7985955b7f66902dcf5386db212a1a
Partially-Implements: blueprint kuryr-k8s-integration
2016-11-18 17:46:55 +03:00