Skip to content

Commit

Permalink
Ensure the cluster name/namespace labels are applied correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles-Garnsey committed Apr 8, 2024
1 parent c90651e commit 62157fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/k8ssandra/medusa_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ func (r *K8ssandraClusterReconciler) reconcileRemoteBucketSecretsDeprecated(
medusaapi.MedusaStorageSecretIdentifierLabel,
},
AddLabels: map[string]string{
k8ssandraapi.K8ssandraClusterNameLabel: kc.GetLabels()[k8ssandraapi.K8ssandraClusterNameLabel],
k8ssandraapi.K8ssandraClusterNamespaceLabel: kc.GetLabels()[k8ssandraapi.K8ssandraClusterNamespaceLabel],
k8ssandraapi.K8ssandraClusterNameLabel: kc.Name,
k8ssandraapi.K8ssandraClusterNamespaceLabel: kc.Namespace,
k8ssandraapi.ReplicatedByLabel: k8ssandraapi.ReplicatedByLabelValue,
},
},
Expand Down

0 comments on commit 62157fd

Please sign in to comment.