Skip to content

Commit

Permalink
Persist zookeeper digest credentials.
Browse files Browse the repository at this point in the history
Signed-off-by: pritamdas99 <[email protected]>
  • Loading branch information
pritamdas99 committed Feb 29, 2024
1 parent f45cf6e commit 49b673e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apis/kubedb/v1alpha2/solr_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,14 @@ func (s *Solr) GetPersistentSecrets() []string {
secrets = append(secrets, s.Spec.AuthConfigSecret.Name)
}

if s.Spec.ZookeeperDigestSecret != nil {
secrets = append(secrets, s.Spec.ZookeeperDigestSecret.Name)
}

if s.Spec.ZookeeperDigestReadonlySecret != nil {
secrets = append(secrets, s.Spec.ZookeeperDigestReadonlySecret.Name)
}

return secrets
}

Expand Down

0 comments on commit 49b673e

Please sign in to comment.