mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-22 09:39:54 +02:00
Rename api roles configuration parameter.
Change api_roles_configuration to team_api_role_configuration
This commit is contained in:
@@ -39,4 +39,4 @@ data:
|
|||||||
pod_terminate_grace_period: 5m
|
pod_terminate_grace_period: 5m
|
||||||
pdb_name_format: "postgres-{cluster}-pdb"
|
pdb_name_format: "postgres-{cluster}-pdb"
|
||||||
eol_node_label: "eol:true"
|
eol_node_label: "eol:true"
|
||||||
api_roles_configuration: "log_statement:all"
|
team_api_role_configuration: "log_statement:all"
|
||||||
|
|||||||
@@ -649,7 +649,7 @@ func (c *Cluster) initHumanUsers() error {
|
|||||||
Name: username,
|
Name: username,
|
||||||
Flags: flags,
|
Flags: flags,
|
||||||
MemberOf: memberOf,
|
MemberOf: memberOf,
|
||||||
Parameters: c.OpConfig.APIRolesParameters,
|
Parameters: c.OpConfig.TeamAPIRoleConfiguration,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,8 +71,7 @@ type Config struct {
|
|||||||
APIPort int `name:"api_port" default:"8080"`
|
APIPort int `name:"api_port" default:"8080"`
|
||||||
RingLogLines int `name:"ring_log_lines" default:"100"`
|
RingLogLines int `name:"ring_log_lines" default:"100"`
|
||||||
ClusterHistoryEntries int `name:"cluster_history_entries" default:"1000"`
|
ClusterHistoryEntries int `name:"cluster_history_entries" default:"1000"`
|
||||||
APIRolesParameters map[string]string `name:"api_roles_configuration" default:"log_statement:'all'"`
|
TeamAPIRoleConfiguration map[string]string `name:"team_api_role_configuration" default:"log_statement:'all'"`
|
||||||
|
|
||||||
PodTerminateGracePeriod time.Duration `name:"pod_terminate_grace_period" default:"5m"`
|
PodTerminateGracePeriod time.Duration `name:"pod_terminate_grace_period" default:"5m"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user