Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: operator-framework/rukpak
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9d243917f25ae66a9aa22310be530621716451e4
Choose a base ref
..
head repository: operator-framework/rukpak
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 709635206ba710a0500119e9de99e3fd201b9139
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 pkg/provisioner/plain/plain.go
6 changes: 3 additions & 3 deletions pkg/provisioner/plain/plain.go
Original file line number Diff line number Diff line change
@@ -24,12 +24,12 @@ const (
manifestsDir = "manifests"
)

func HandleBundleDeployment(_ context.Context, fsys fs.FS, bd *rukpakv1alpha2.BundleDeployment) (*chart.Chart, chartutil.Values, error) {
func HandleBundleDeployment(_ context.Context, fsys fs.FS, _ *rukpakv1alpha2.BundleDeployment) (*chart.Chart, chartutil.Values, error) {
if err := ValidateBundle(fsys); err != nil {
return nil, nil, err
}

chrt, err := chartFromBundle(fsys, bd)
chrt, err := chartFromBundle(fsys)
if err != nil {
return nil, nil, err
}
@@ -78,7 +78,7 @@ func getObjects(bundle fs.FS, manifest fs.DirEntry) ([]client.Object, error) {
return util.ManifestObjects(manifestReader, manifestPath)
}

func chartFromBundle(fsys fs.FS, bd *rukpakv1alpha2.BundleDeployment) (*chart.Chart, error) {
func chartFromBundle(fsys fs.FS) (*chart.Chart, error) {
objects, err := getBundleObjects(fsys)
if err != nil {
return nil, fmt.Errorf("read bundle objects from bundle: %v", err)