update internal flags

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
pull/3758/head
Somtochi Onyekwere 2 years ago committed by Stefan Prodan
parent e44ab85880
commit 2e71c718ce
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -20,12 +20,13 @@ import (
"fmt"
"strings"
sourcev1 "github.com/fluxcd/source-controller/api/v1beta2"
sourcev1 "github.com/fluxcd/source-controller/api/v1"
sourcev1b2 "github.com/fluxcd/source-controller/api/v1beta2"
"github.com/fluxcd/flux2/internal/utils"
)
var supportedHelmChartSourceKinds = []string{sourcev1.HelmRepositoryKind, sourcev1.GitRepositoryKind, sourcev1.BucketKind}
var supportedHelmChartSourceKinds = []string{sourcev1b2.HelmRepositoryKind, sourcev1.GitRepositoryKind, sourcev1b2.BucketKind}
type HelmChartSource struct {
Kind string

@ -20,12 +20,13 @@ import (
"fmt"
"strings"
sourcev1 "github.com/fluxcd/source-controller/api/v1beta2"
sourcev1 "github.com/fluxcd/source-controller/api/v1"
sourcev1b2 "github.com/fluxcd/source-controller/api/v1beta2"
"github.com/fluxcd/flux2/internal/utils"
)
var supportedKustomizationSourceKinds = []string{sourcev1.OCIRepositoryKind, sourcev1.GitRepositoryKind, sourcev1.BucketKind}
var supportedKustomizationSourceKinds = []string{sourcev1b2.OCIRepositoryKind, sourcev1.GitRepositoryKind, sourcev1b2.BucketKind}
type KustomizationSource struct {
Kind string

@ -23,7 +23,7 @@ import (
"fmt"
"testing"
sourcev1 "github.com/fluxcd/source-controller/api/v1beta2"
sourcev1 "github.com/fluxcd/source-controller/api/v1"
)
func TestKustomizationSource_Set(t *testing.T) {

Loading…
Cancel
Save