Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use latest repository credentials #846

Merged
merged 1 commit into from
Apr 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions helm/resource_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,6 @@ func resourceReleaseRead(ctx context.Context, d *schema.ResourceData, meta inter
if err != nil {
return diag.FromErr(err)
}
err = OCIRegistryLogin(c, d)
if err != nil {
return diag.FromErr(err)
}

name := d.Get("name").(string)
r, err := getRelease(m, c, name)
Expand Down Expand Up @@ -684,10 +680,6 @@ func resourceReleaseDelete(ctx context.Context, d *schema.ResourceData, meta int
if err != nil {
return diag.FromErr(err)
}
err = OCIRegistryLogin(actionConfig, d)
if err != nil {
return diag.FromErr(err)
}

name := d.Get("name").(string)

Expand Down Expand Up @@ -927,10 +919,6 @@ func resourceReleaseExists(d *schema.ResourceData, meta interface{}) (bool, erro
if err != nil {
return false, err
}
err = OCIRegistryLogin(c, d)
if err != nil {
return false, err
}

name := d.Get("name").(string)
_, err = getRelease(m, c, name)
Expand Down