Skip to content

Commit

Permalink
Merge pull request #74 from projectsyn/remove-secret-exist-msg
Browse files Browse the repository at this point in the history
Remove message Argo CD secret already exists
  • Loading branch information
Simon Rüegg authored Mar 10, 2021
2 parents b76c0c7 + 7ca0b2f commit 03bf2d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/argocd/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ func CreateArgoSecret(config *rest.Config, namespace, password string) error {
currentPwHash := secret.Data["admin.password"]
err = bcrypt.CompareHashAndPassword(currentPwHash, []byte(password))
if err == nil {
klog.Info("Argo CD secret already exists, no update needed")
return nil
}
if secret.StringData == nil {
Expand Down

0 comments on commit 03bf2d0

Please sign in to comment.