1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Update Helm Source APIs to v1 (GA)

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2024-05-06 12:28:34 +03:00
parent 89038b7300
commit 1aaa48fa09
18 changed files with 41 additions and 40 deletions

View File

@@ -19,11 +19,11 @@ package main
import (
"fmt"
sourcev1 "github.com/fluxcd/source-controller/api/v1"
"github.com/spf13/cobra"
"k8s.io/apimachinery/pkg/types"
helmv2 "github.com/fluxcd/helm-controller/api/v2beta2"
sourcev1b2 "github.com/fluxcd/source-controller/api/v1beta2"
)
var reconcileHrCmd = &cobra.Command{
@@ -70,7 +70,7 @@ func (obj helmReleaseAdapter) reconcileSource() bool {
func (obj helmReleaseAdapter) getSource() (reconcileSource, types.NamespacedName) {
cmd := reconcileWithSourceCommand{
apiType: helmChartType,
object: helmChartAdapter{&sourcev1b2.HelmChart{}},
object: helmChartAdapter{&sourcev1.HelmChart{}},
force: true,
}