Skip to content

Commit

Permalink
Fix druid auth name (#1337)
Browse files Browse the repository at this point in the history
Signed-off-by: Tapajit Chandra Paul <tapajit@appscode.com>
  • Loading branch information
tapojit047 authored Oct 31, 2024
1 parent 3b38a01 commit a7bc124
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions apis/kubedb/v1alpha2/druid_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,14 +434,6 @@ func (d *Druid) SetDefaults() {
d.Spec.DeletionPolicy = TerminationPolicyDelete
}

if !d.Spec.DisableSecurity {
if d.Spec.AuthSecret == nil {
d.Spec.AuthSecret = &v1.LocalObjectReference{
Name: d.DefaultUserCredSecretName(kubedb.DruidUserAdmin),
}
}
}

if d.Spec.EnableSSL {
if d.Spec.KeystoreCredSecret == nil {
d.Spec.KeystoreCredSecret = &SecretReference{
Expand Down

0 comments on commit a7bc124

Please sign in to comment.