choose different role key for new secret

This commit is contained in:
Felix Kunde 2020-08-08 00:26:39 +02:00
parent 34da7b921d
commit 1cc16a4d9e
2 changed files with 2 additions and 2 deletions

View File

@ -583,7 +583,7 @@ class EndToEndTestCase(unittest.TestCase):
k8s = self.k8s k8s = self.k8s
# update infrastructure roles description # update infrastructure roles description
secret_name = "postgresql-infrastructure-roles" secret_name = "postgresql-infrastructure-roles"
roles = "secretname: postgresql-infrastructure-roles-new, userkey: user, rolekey: role, passwordkey: password" roles = "secretname: postgresql-infrastructure-roles-new, userkey: user, rolekey: memberof, passwordkey: password"
patch_infrastructure_roles = { patch_infrastructure_roles = {
"data": { "data": {
"infrastructure_roles_secret_name": secret_name, "infrastructure_roles_secret_name": secret_name,

View File

@ -4,7 +4,7 @@ data:
# robot_zmon_acid_monitoring_new # robot_zmon_acid_monitoring_new
user: cm9ib3Rfem1vbl9hY2lkX21vbml0b3JpbmdfbmV3 user: cm9ib3Rfem1vbl9hY2lkX21vbml0b3JpbmdfbmV3
# robot_zmon # robot_zmon
inrole: cm9ib3Rfem1vbg== role: cm9ib3Rfem1vbg==
# foobar_new # foobar_new
password: Zm9vYmFyX25ldw== password: Zm9vYmFyX25ldw==
kind: Secret kind: Secret