mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 21:13:31 +02:00
Add team name to tpr object metadata name
This commit is contained in:
@@ -209,6 +209,14 @@ func (c *Cluster) labelsSet() labels.Set {
|
||||
}
|
||||
}
|
||||
|
||||
func (c *Cluster) dnsName() string {
|
||||
return strings.ToLower(fmt.Sprintf(
|
||||
c.OpConfig.DNSFormat,
|
||||
c.Spec.ClusterName,
|
||||
c.TeamName(),
|
||||
c.OpConfig.DbHostedZone))
|
||||
}
|
||||
|
||||
func (c *Cluster) credentialSecretName(username string) string {
|
||||
return fmt.Sprintf(constants.UserSecretTemplate,
|
||||
username,
|
||||
|
||||
Reference in New Issue
Block a user