PGBackRestSecret returns the ObjectMeta for a pgBackRest Secret
(cluster *v1beta1.PostgresCluster)
| 504 | |
| 505 | // PGBackRestSecret returns the ObjectMeta for a pgBackRest Secret |
| 506 | func PGBackRestSecret(cluster *v1beta1.PostgresCluster) metav1.ObjectMeta { |
| 507 | return metav1.ObjectMeta{ |
| 508 | Name: cluster.GetName() + "-pgbackrest", |
| 509 | Namespace: cluster.GetNamespace(), |
| 510 | } |
| 511 | } |
| 512 | |
| 513 | // DeprecatedPostgresUserSecret returns the ObjectMeta necessary to lookup the |
| 514 | // old Secret containing the default Postgres user and connection information. |
no outgoing calls
no test coverage detected