Skip to content

Commit

Permalink
Modify cassandra AuthSecret Name
Browse files Browse the repository at this point in the history
Signed-off-by: Sabbir <sabbir@appscode.com>
  • Loading branch information
sabbir-hossain70 committed Oct 29, 2024
1 parent 465d598 commit 0c31f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/kubedb/v1alpha2/cassandra_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func (r *Cassandra) SetDefaults() {
if r.Spec.AuthSecret == nil {
r.Spec.AuthSecret = &SecretReference{
LocalObjectReference: core.LocalObjectReference{
Name: r.DefaultUserCredSecretName(kubedb.CassandraUserAdmin),
Name: meta_util.NameWithSuffix(r.OffshootName(), "auth"),
},
ExternallyManaged: false,
}
Expand Down

0 comments on commit 0c31f9b

Please sign in to comment.