mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 19:02:20 +02:00
Add team name to tpr object metadata name
This commit is contained in:
@@ -54,10 +54,6 @@ func PodSpiloRole(pod *v1.Pod) string {
|
||||
return pod.Labels["spilo-role"]
|
||||
}
|
||||
|
||||
func ClusterDNSName(clusterName, teamName, hostedZone string) string {
|
||||
return fmt.Sprintf("%s.%s.%s", clusterName, teamName, hostedZone)
|
||||
}
|
||||
|
||||
func PGUserPassword(user spec.PgUser) string {
|
||||
s := md5.Sum([]byte(user.Password + user.Name))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user