Skip to content

Commit

Permalink
Fix wrong key as account should be accounts
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Nov 12, 2024
1 parent 0c62564 commit 1e1b980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/localbuild/argo.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ func (r *LocalbuildReconciler) ReconcileArgo(ctx context.Context, req ctrl.Reque
// Prepare the patch for the Secret's `stringData` field
patchData := map[string]interface{}{
"stringData": map[string]string{
"account.developer.password": string(hashedPassword),
"account.developer.passwordMtime": time.Now().Format(time.RFC3339),
"accounts.developer.password": string(hashedPassword),
"accounts.developer.passwordMtime": time.Now().Format(time.RFC3339),
},
}
// Convert patch data to JSON
Expand Down

0 comments on commit 1e1b980

Please sign in to comment.