make suffix configurable and add deprecated field to pgUser struct

This commit is contained in:
Felix Kunde
2021-04-23 09:57:34 +02:00
parent eb20c5829b
commit 1e2dbe4712
18 changed files with 89 additions and 30 deletions
@@ -465,6 +465,9 @@ spec:
type: string
default:
- admin
role_deprecation_suffix:
type: string
default: "_delete_me"
team_admin_role:
type: string
default: "admin"
+4
View File
@@ -312,6 +312,10 @@ configTeamsApi:
# List of roles that cannot be overwritten by an application, team or infrastructure role
protected_role_names:
- admin
# Suffix to add if members are removed from TeamsAPI or PostgresTeam CRD
# role_deprecation_suffix: "_delete_me"
# role name to grant to team members created from the Teams API
team_admin_role: admin
# postgres config parameters to apply to each team member role
+3
View File
@@ -304,6 +304,9 @@ configTeamsApi:
# List of roles that cannot be overwritten by an application, team or infrastructure role
# protected_role_names: "admin"
# Suffix to add if members are removed from TeamsAPI or PostgresTeam CRD
# role_deprecation_suffix: "_delete_me"
# role name to grant to team members created from the Teams API
# team_admin_role: "admin"