Skip to content

Commit

Permalink
add comment for hashed password
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarroll1 committed Jan 6, 2025
1 parent c003315 commit 2ab7234
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/e2e/test_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,9 @@ func generateBaseSolrCloud(replicas int) *solrv1beta1.SolrCloud {
}
}

// Uses default password from docs : SolrRocks
// The hash is generated as: base64(sha256(sha256(salt+password))) base64(salt))
// See https://solr.apache.org/guide/solr/latest/deployment-guide/basic-authentication-plugin.html
func generateSolrSecuritySecret(ctx context.Context, solrCloud *solrv1beta1.SolrCloud) {
securityJsonSecret := &corev1.Secret{
ObjectMeta: metav1.ObjectMeta{
Expand Down

0 comments on commit 2ab7234

Please sign in to comment.