mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-21 12:25:48 +02:00
allow using both infrastructure_roles_options (#1090)
* allow using both infrastructure_roles_options * new default values for user and role definition * use robot_zmon as parent role * add operator log to debug * right name for old secret * only extract if rolesDefs is empty * set password1 in old infrastructure role * fix new infra rile secret * choose different role key for new secret * set memberof everywhere * reenable all tests * reflect feedback * remove condition for rolesDefs
This commit is contained in:
@@ -3,8 +3,6 @@ data:
|
||||
# infrastructure role definition in the new format
|
||||
# robot_zmon_acid_monitoring_new
|
||||
user: cm9ib3Rfem1vbl9hY2lkX21vbml0b3JpbmdfbmV3
|
||||
# robot_zmon_new
|
||||
role: cm9ib3Rfem1vbl9uZXc=
|
||||
# foobar_new
|
||||
password: Zm9vYmFyX25ldw==
|
||||
kind: Secret
|
||||
|
||||
@@ -7,12 +7,14 @@ data:
|
||||
# provide other options in the configmap.
|
||||
# robot_zmon_acid_monitoring
|
||||
user1: cm9ib3Rfem1vbl9hY2lkX21vbml0b3Jpbmc=
|
||||
# foobar
|
||||
password1: Zm9vYmFy
|
||||
# robot_zmon
|
||||
inrole1: cm9ib3Rfem1vbg==
|
||||
# testuser
|
||||
user2: dGVzdHVzZXI=
|
||||
# foobar
|
||||
password2: Zm9vYmFy
|
||||
# testpassword
|
||||
password2: dGVzdHBhc3N3b3Jk
|
||||
# user batman with the password justice
|
||||
# look for other fields in the infrastructure roles configmap
|
||||
batman: anVzdGljZQ==
|
||||
|
||||
@@ -145,6 +145,10 @@ spec:
|
||||
type: string
|
||||
rolekey:
|
||||
type: string
|
||||
defaultuservalue:
|
||||
type: string
|
||||
defaultrolevalue:
|
||||
type: string
|
||||
details:
|
||||
type: string
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user