Skip to content

Commit

Permalink
Charles | missing api updates
Browse files Browse the repository at this point in the history
  • Loading branch information
casibbald committed Nov 21, 2024
1 parent eac4e54 commit cdfc0e4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/server/inventory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"testing"

helmv2 "github.com/fluxcd/helm-controller/api/v2beta2"
helmv2 "github.com/fluxcd/helm-controller/api/v2"
kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1"
"github.com/fluxcd/pkg/apis/meta"
sourcev1 "github.com/fluxcd/source-controller/api/v1"
Expand Down
4 changes: 2 additions & 2 deletions core/server/suspend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"testing"

helmv2 "github.com/fluxcd/helm-controller/api/v2beta2"
imgautomationv1 "github.com/fluxcd/image-automation-controller/api/v1beta1"
helmv2 "github.com/fluxcd/helm-controller/api/v2"
imgautomationv1 "github.com/fluxcd/image-automation-controller/api/v1beta2"
reflectorv1 "github.com/fluxcd/image-reflector-controller/api/v1beta2"
kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1"
sourcev1 "github.com/fluxcd/source-controller/api/v1"
Expand Down
4 changes: 2 additions & 2 deletions core/server/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

helmv2 "github.com/fluxcd/helm-controller/api/v2"
imgautomationv1 "github.com/fluxcd/image-automation-controller/api/v1beta1"
imgautomationv1 "github.com/fluxcd/image-automation-controller/api/v1beta2"
reflectorv1 "github.com/fluxcd/image-reflector-controller/api/v1beta2"
kustomizev1 "github.com/fluxcd/kustomize-controller/api/v1"
"github.com/fluxcd/pkg/apis/meta"
Expand Down Expand Up @@ -417,7 +417,7 @@ func makeHelmRelease(name string, ns corev1.Namespace, repo *sourcev1b2.HelmRepo
Namespace: ns.Name,
},
Spec: helmv2.HelmReleaseSpec{
Chart: helmv2.HelmChartTemplate{
Chart: &helmv2.HelmChartTemplate{
Spec: helmv2.HelmChartTemplateSpec{
Chart: chart.Spec.Chart,
Version: chart.Spec.Version,
Expand Down
2 changes: 1 addition & 1 deletion pkg/run/install/install_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ func makeHelmRelease(log logger.Logger, name, namespace, username, passwordHash,
Interval: metav1.Duration{
Duration: 60 * time.Minute,
},
Chart: helmv2.HelmChartTemplate{
Chart: &helmv2.HelmChartTemplate{
Spec: helmv2.HelmChartTemplateSpec{
Chart: ossDashboardHelmChartName,
SourceRef: helmv2.CrossNamespaceObjectReference{
Expand Down
4 changes: 2 additions & 2 deletions pkg/run/install/install_dashboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var helmReleaseFixtures = []runtime.Object{
Name: "dashboard-2",
},
Spec: helmv2.HelmReleaseSpec{
Chart: helmv2.HelmChartTemplate{
Chart: &helmv2.HelmChartTemplate{
Spec: helmv2.HelmChartTemplateSpec{
Chart: ossDashboardHelmChartName,
},
Expand All @@ -79,7 +79,7 @@ var helmReleaseFixtures = []runtime.Object{
Name: "dashboard-3",
},
Spec: helmv2.HelmReleaseSpec{
Chart: helmv2.HelmChartTemplate{
Chart: &helmv2.HelmChartTemplate{
Spec: helmv2.HelmChartTemplateSpec{
Chart: enterpriseDashboardHelmChartName,
SourceRef: helmv2.CrossNamespaceObjectReference{
Expand Down

0 comments on commit cdfc0e4

Please sign in to comment.