Skip to content

Commit

Permalink
Helm Release: fix username fetch option (#1824)
Browse files Browse the repository at this point in the history
The username was incorrectly being set to the password value,
which caused authentication to fail for private Helm repos.
  • Loading branch information
lblackstone committed Dec 8, 2021
1 parent 3d0c3ad commit 4cca1bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## HEAD (Unreleased)

- Helm Release: fix username fetch option (https://github.com/pulumi/pulumi-kubernetes/pull/1824)

## 3.12.0 (December 7, 2021)

- Add support for k8s v1.23.0. (https://github.com/pulumi/pulumi-kubernetes/pull/1681)
Expand Down
2 changes: 1 addition & 1 deletion provider/pkg/provider/helm_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ func computeResourceNames(r *Release) (map[string][]string, error) {
Keyring: r.Keyring,
Password: r.RepositoryOpts.Password,
Repo: r.RepositoryOpts.Repo,
Username: r.RepositoryOpts.Password,
Username: r.RepositoryOpts.Username,
Version: r.Version,
}
} else {
Expand Down

0 comments on commit 4cca1bf

Please sign in to comment.