We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2506062 commit a0a1e31Copy full SHA for a0a1e31
1 file changed
cmd/helmpush/main.go
@@ -272,6 +272,11 @@ func (p *pushCmd) push() error {
272
password = p.password
273
}
274
275
+ // unset accessToken if repo credentials are provided
276
+ if username != "" && password != "" {
277
+ p.accessToken = ""
278
+ }
279
+
280
// in case the repo is stored with cm:// protocol, remove it
281
var url string
282
if p.useHTTP {
0 commit comments