Skip to content

Commit

Permalink
Merge pull request #1452 from FabianKramm/main
Browse files Browse the repository at this point in the history
refactor: use external package to manage values & fix imports
  • Loading branch information
FabianKramm authored Jan 12, 2024
2 parents dafd708 + d9726d6 commit 2aeacaf
Show file tree
Hide file tree
Showing 185 changed files with 5,255 additions and 17,857 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.21 as builder
FROM golang:1.21.5 as builder

WORKDIR /vcluster-dev
ARG TARGETOS
Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/app/create/pro.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ import (
"github.com/loft-sh/loftctl/v3/pkg/config"
"github.com/loft-sh/loftctl/v3/pkg/vcluster"
"github.com/loft-sh/log"
"github.com/loft-sh/vcluster-values/values"
"github.com/loft-sh/vcluster/pkg/pro"
"github.com/loft-sh/vcluster/pkg/strvals"
"github.com/loft-sh/vcluster/pkg/telemetry"
"github.com/loft-sh/vcluster/pkg/upgrade"
"github.com/loft-sh/vcluster/pkg/util"
"github.com/loft-sh/vcluster/pkg/util/cliconfig"
"github.com/loft-sh/vcluster/pkg/values"
"golang.org/x/mod/semver"
kerrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
"k8s.io/apimachinery/pkg/util/wait"

loftctlUtil "github.com/loft-sh/loftctl/v3/pkg/util"
"github.com/loft-sh/vcluster-values/values"
"github.com/loft-sh/vcluster/cmd/vclusterctl/cmd/app/create"
"github.com/loft-sh/vcluster/pkg/upgrade"
"github.com/loft-sh/vcluster/pkg/util"
"github.com/loft-sh/vcluster/pkg/util/servicecidr"
"github.com/loft-sh/vcluster/pkg/values"
"golang.org/x/mod/semver"

"github.com/loft-sh/log"
Expand Down
36 changes: 17 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ require (
github.com/blang/semver/v4 v4.0.0
github.com/denisbrodbeck/machineid v1.0.1
github.com/ghodss/yaml v1.0.0
github.com/go-logr/logr v1.3.0
github.com/go-logr/logr v1.4.1
github.com/go-openapi/loads v0.21.2
github.com/google/go-github/v53 v53.2.1-0.20230815134205-bb00f570d301
github.com/gorilla/websocket v1.5.1
github.com/hashicorp/golang-lru/v2 v2.0.2
github.com/kubernetes-csi/external-snapshotter/client/v4 v4.2.0
github.com/loft-sh/agentapi/v3 v3.4.0-beta.5
github.com/loft-sh/agentapi/v3 v3.4.0-beta.11
github.com/loft-sh/analytics-client v0.0.0-20231127192707-f76e263f6c83
github.com/loft-sh/api/v3 v3.0.0-20231211114614-0ed78b022fde
github.com/loft-sh/loftctl/v3 v3.0.0-20231214140848-05fde273d935
github.com/loft-sh/api/v3 v3.4.0-beta.11
github.com/loft-sh/loftctl/v3 v3.4.0-beta.11
github.com/loft-sh/utils v0.0.29
github.com/loft-sh/vcluster-values v0.0.0-20240111090139-51fcf51d7ba9
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
github.com/mitchellh/go-homedir v1.1.0
github.com/moby/term v0.5.0
Expand Down Expand Up @@ -75,12 +76,12 @@ require (
github.com/evanphx/json-patch/v5 v5.7.0 // indirect
github.com/fatih/camelcase v1.0.0 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/cel-go v0.18.1 // indirect
github.com/google/cel-go v0.16.1 // indirect
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 // indirect
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213 // indirect
github.com/loft-sh/admin-apis v0.0.0-20231102064836-7a6574be5f16 // indirect
github.com/loft-sh/apiserver v0.0.0-20231018103030-cf3977856bec // indirect
github.com/loft-sh/apiserver v0.0.0-20240110162222-7923cde3a92d // indirect
github.com/loft-sh/jspolicy v0.2.2 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
Expand All @@ -91,8 +92,9 @@ require (
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.12.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.12.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.12.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231127180814-3a041ad873d4 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect
k8s.io/kms v0.28.4 // indirect
Expand Down Expand Up @@ -168,12 +170,12 @@ require (
go.etcd.io/etcd/client/pkg/v3 v3.5.10 // indirect
go.etcd.io/etcd/client/v3 v3.5.10
go.mongodb.org/mongo-driver v1.10.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
go.opentelemetry.io/otel v1.21.0 // indirect
go.opentelemetry.io/otel/metric v1.21.0 // indirect
go.opentelemetry.io/otel/sdk v1.21.0 // indirect
go.opentelemetry.io/otel/trace v1.21.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.38.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.38.0 // indirect
go.opentelemetry.io/otel v1.12.0 // indirect
go.opentelemetry.io/otel/metric v0.35.0 // indirect
go.opentelemetry.io/otel/sdk v1.12.0 // indirect
go.opentelemetry.io/otel/trace v1.12.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand All @@ -194,14 +196,10 @@ require (
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/component-base v0.28.4 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.2 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
)

replace github.com/google/cel-go => github.com/google/cel-go v0.16.1

replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9
Loading

0 comments on commit 2aeacaf

Please sign in to comment.