From fdede3a1b9f8b6d630d338a3089ee1354172be12 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 17:47:18 +0000 Subject: [PATCH 1/2] :seedling: Bump github.com/operator-framework/helm-operator-plugins Bumps [github.com/operator-framework/helm-operator-plugins](https://github.com/operator-framework/helm-operator-plugins) from 0.8.0 to 0.9.0. - [Release notes](https://github.com/operator-framework/helm-operator-plugins/releases) - [Commits](https://github.com/operator-framework/helm-operator-plugins/compare/v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: github.com/operator-framework/helm-operator-plugins dependency-version: 0.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 8170fc945..11a07144d 100644 --- a/go.mod +++ b/go.mod @@ -22,7 +22,7 @@ require ( github.com/opencontainers/go-digest v1.0.0 github.com/opencontainers/image-spec v1.1.1 github.com/operator-framework/api v0.42.0 - github.com/operator-framework/helm-operator-plugins v0.8.0 + github.com/operator-framework/helm-operator-plugins v0.9.0 github.com/operator-framework/operator-registry v1.68.0 github.com/prometheus/client_golang v1.23.2 github.com/prometheus/common v0.67.5 diff --git a/go.sum b/go.sum index e44962e93..3f111ef27 100644 --- a/go.sum +++ b/go.sum @@ -419,8 +419,8 @@ github.com/opencontainers/runtime-spec v1.3.0 h1:YZupQUdctfhpZy3TM39nN9Ika5CBWT5 github.com/opencontainers/runtime-spec v1.3.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/operator-framework/api v0.42.0 h1:rkc5V3zW8RxZMjePAe12jdL7Co/hwsYo1pLnkkhuR7s= github.com/operator-framework/api v0.42.0/go.mod h1:bMEj+wl/8tGqcGNtxt38cLUYagu9chNsbYzb/5HQaUQ= -github.com/operator-framework/helm-operator-plugins v0.8.0 h1:0f6HOQC5likkf0b/OvGvw7nhDb6h8Cj5twdCNjwNzMc= -github.com/operator-framework/helm-operator-plugins v0.8.0/go.mod h1:Sc+8bE38xTCgCChBUvtq/PxatEg9fAypr7S5iAw8nlA= +github.com/operator-framework/helm-operator-plugins v0.9.0 h1:eWscxLdNxB9rcECw+YWd8GqVegM9EZiRxoCJYtVbUlc= +github.com/operator-framework/helm-operator-plugins v0.9.0/go.mod h1:vKg3/yJAadHAXwRkU//uUruvdJaQm9XAIJq0+D5ABTw= github.com/operator-framework/operator-lib v0.19.0 h1:az6ogYj21rtU0SF9uYctRLyKp2dtlqTsmpfehFy6Ce8= github.com/operator-framework/operator-lib v0.19.0/go.mod h1:KxycAjFnHt0DBtHmH3Jm7yHcY5sdrshPKTqM/HKAQ08= github.com/operator-framework/operator-registry v1.68.0 h1:hsWR4o2a508xrc3DAalY4D/JGg7wnv6wjX+BTqXxSLI= From be00a0896faf6b4c7551187b21fadb27730e3170 Mon Sep 17 00:00:00 2001 From: Todd Short Date: Mon, 1 Jun 2026 13:43:06 -0400 Subject: [PATCH 2/2] fix: add Config() method to ActionInterface mocks for helm-operator-plugins v0.9.0 helm-operator-plugins v0.9.0 added Config() *action.Configuration to ActionInterface. Update test mocks to implement the new method. Co-Authored-By: Claude Sonnet 4.6 (1M context) Signed-off-by: Todd Short --- internal/operator-controller/action/helm_test.go | 5 +++++ internal/operator-controller/applier/helm_test.go | 4 ++++ .../controllers/clusterextension_controller_test.go | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/internal/operator-controller/action/helm_test.go b/internal/operator-controller/action/helm_test.go index 3f1f02f9d..25f7f7195 100644 --- a/internal/operator-controller/action/helm_test.go +++ b/internal/operator-controller/action/helm_test.go @@ -9,6 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" + "helm.sh/helm/v3/pkg/action" "helm.sh/helm/v3/pkg/chart" "helm.sh/helm/v3/pkg/release" "sigs.k8s.io/controller-runtime/pkg/client" @@ -70,6 +71,10 @@ func (m *mockActionClient) Reconcile(rel *release.Release) error { return args.Error(0) } +func (m *mockActionClient) Config() *action.Configuration { + return nil +} + var _ actionclient.ActionClientGetter = &mockActionClientGetter{} type mockActionClientGetter struct { diff --git a/internal/operator-controller/applier/helm_test.go b/internal/operator-controller/applier/helm_test.go index 25fad4d66..3e3ef7479 100644 --- a/internal/operator-controller/applier/helm_test.go +++ b/internal/operator-controller/applier/helm_test.go @@ -155,6 +155,10 @@ func (mag *mockActionGetter) Reconcile(rel *release.Release) error { return mag.reconcileErr } +func (mag *mockActionGetter) Config() *action.Configuration { + return nil +} + var ( // required for unmockable call to convert.RegistryV1ToHelmChart validFS = fstest.MapFS{ diff --git a/internal/operator-controller/controllers/clusterextension_controller_test.go b/internal/operator-controller/controllers/clusterextension_controller_test.go index 2726fe7c8..4f524dd9a 100644 --- a/internal/operator-controller/controllers/clusterextension_controller_test.go +++ b/internal/operator-controller/controllers/clusterextension_controller_test.go @@ -12,6 +12,7 @@ import ( "github.com/google/go-cmp/cmp/cmpopts" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "helm.sh/helm/v3/pkg/action" "helm.sh/helm/v3/pkg/chart" "helm.sh/helm/v3/pkg/release" "helm.sh/helm/v3/pkg/storage/driver" @@ -2560,6 +2561,10 @@ func (mag *MockActionGetter) Reconcile(rel *release.Release) error { return nil } +func (mag *MockActionGetter) Config() *action.Configuration { + return nil +} + func TestGetInstalledBundleHistory(t *testing.T) { getter := controllers.HelmRevisionStatesGetter{}