Enable updates for Ingress resources
Ingress resources can be updated as well Change-Id: Ibf281e9ac52708dba2cb9479e787b9f616db7629
This commit is contained in:
parent
b9ca170d44
commit
0e8610510b
|
@ -10,7 +10,7 @@ CONF = config.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
UPDATABLE_OBJECTS = ('ConfigMap', 'Deployment', 'Service')
|
UPDATABLE_OBJECTS = ('ConfigMap', 'Deployment', 'Service', 'Ingress')
|
||||||
|
|
||||||
|
|
||||||
def get_client(kube_apiserver=None, key_file=None, cert_file=None,
|
def get_client(kube_apiserver=None, key_file=None, cert_file=None,
|
||||||
|
|
|
@ -62,7 +62,8 @@ class TestKubernetesObjects(testscenarios.WithScenarios, base.TestCase):
|
||||||
('DaemonSet', {'kind': 'DaemonSet', 'update': False}),
|
('DaemonSet', {'kind': 'DaemonSet', 'update': False}),
|
||||||
('Job', {'kind': 'Job', 'update': False}),
|
('Job', {'kind': 'Job', 'update': False}),
|
||||||
('Namespace', {'kind': 'Namespace', 'update': False}),
|
('Namespace', {'kind': 'Namespace', 'update': False}),
|
||||||
('Service', {'kind': 'Service', 'update': True, 'reload': True})
|
('Service', {'kind': 'Service', 'update': True, 'reload': True}),
|
||||||
|
('Ingress', {'kind': 'Ingress', 'update': True})
|
||||||
)
|
)
|
||||||
reload = False
|
reload = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue