@@ -166,20 +166,6 @@ const (
166
166
// configmap will be named 'mycluster-pgbackrest-config'
167
167
cmNameSuffix = "%s-pgbackrest-config"
168
168
169
- // suffix used with postgrescluster name for associated configmap.
170
- // for instance, if the cluster is named 'mycluster', the
171
- // configmap will be named 'mycluster-ssh-config'
172
- // Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization.
173
- // TODO(tjmoore4): Once we no longer need this for cleanup purposes, this should be removed.
174
- sshCMNameSuffix = "%s-ssh-config"
175
-
176
- // suffix used with postgrescluster name for associated secret.
177
- // for instance, if the cluster is named 'mycluster', the
178
- // secret will be named 'mycluster-ssh'
179
- // Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization.
180
- // TODO(tjmoore4): Once we no longer need this for cleanup purposes, this should be removed.
181
- sshSecretNameSuffix = "%s-ssh"
182
-
183
169
// RestoreConfigCopySuffix is the suffix used for ConfigMap or Secret configuration
184
170
// resources needed when restoring from a PostgresCluster data source. If, for
185
171
// example, a Secret is named 'mysecret' and is the first item in the configuration
@@ -516,26 +502,6 @@ func PGBackRestRepoVolume(cluster *v1beta1.PostgresCluster,
516
502
}
517
503
}
518
504
519
- // PGBackRestSSHConfig returns the ObjectMeta for a pgBackRest SSHD ConfigMap
520
- // Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization.
521
- // TODO(tjmoore4): Once we no longer need this for cleanup purposes, this should be removed.
522
- func PGBackRestSSHConfig (cluster * v1beta1.PostgresCluster ) metav1.ObjectMeta {
523
- return metav1.ObjectMeta {
524
- Name : fmt .Sprintf (sshCMNameSuffix , cluster .GetName ()),
525
- Namespace : cluster .GetNamespace (),
526
- }
527
- }
528
-
529
- // PGBackRestSSHSecret returns the ObjectMeta for a pgBackRest SSHD Secret
530
- // Deprecated: Repository hosts use mTLS for encryption, authentication, and authorization.
531
- // TODO(tjmoore4): Once we no longer need this for cleanup purposes, this should be removed.
532
- func PGBackRestSSHSecret (cluster * v1beta1.PostgresCluster ) metav1.ObjectMeta {
533
- return metav1.ObjectMeta {
534
- Name : fmt .Sprintf (sshSecretNameSuffix , cluster .GetName ()),
535
- Namespace : cluster .GetNamespace (),
536
- }
537
- }
538
-
539
505
// PGBackRestSecret returns the ObjectMeta for a pgBackRest Secret
540
506
func PGBackRestSecret (cluster * v1beta1.PostgresCluster ) metav1.ObjectMeta {
541
507
return metav1.ObjectMeta {
0 commit comments