use robot_zmon as parent role

This commit is contained in:
Felix Kunde 2020-08-07 18:42:07 +02:00
parent 5d7c0959dc
commit a25d7f7b37
2 changed files with 5 additions and 3 deletions

View File

@ -71,6 +71,7 @@ class EndToEndTestCase(unittest.TestCase):
print('Operator log: {}'.format(k8s.get_operator_log()))
raise
"""
@timeout_decorator.timeout(TEST_TIMEOUT_SEC)
def test_enable_disable_connection_pooler(self):
'''
@ -571,6 +572,7 @@ class EndToEndTestCase(unittest.TestCase):
# toggle pod anti affinity to move replica away from master node
self.assert_distributed_pods(new_master_node, new_replica_nodes, cluster_label)
"""
@timeout_decorator.timeout(TEST_TIMEOUT_SEC)
def test_infrastructure_roles(self):
@ -607,7 +609,7 @@ class EndToEndTestCase(unittest.TestCase):
self.assertDictEqual(role, {
"Name": "robot_zmon_acid_monitoring_new",
"Flags": None,
"MemberOf": ["robot_zmon_new"],
"MemberOf": ["robot_zmon"],
"Parameters": None,
"AdminRole": "",
"Origin": 2,

View File

@ -3,8 +3,8 @@ data:
# infrastructure role definition in the new format
# robot_zmon_acid_monitoring_new
user: cm9ib3Rfem1vbl9hY2lkX21vbml0b3JpbmdfbmV3
# robot_zmon_new
role: cm9ib3Rfem1vbl9uZXc=
# robot_zmon
inrole1: cm9ib3Rfem1vbg==
# foobar_new
password: Zm9vYmFyX25ldw==
kind: Secret