Skip to content

Commit

Permalink
Merge pull request #1243 from FabianKramm/main
Browse files Browse the repository at this point in the history
chore: update loft api dependencies
  • Loading branch information
FabianKramm authored Sep 26, 2023
2 parents 628cb9e + db8397f commit 999e07a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions cmd/vclusterctl/cmd/app/create/pro.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ func createWithoutTemplate(ctx context.Context, proClient proclient.Client, opti
Values: helmValues,
},
ForwardToken: true,
// TODO: enable
// Pro: true
Pro: agentstoragev1.VirtualClusterProSpec{
Enabled: true,
},
},
},
ClusterRef: storagev1.VirtualClusterClusterRef{
Expand Down Expand Up @@ -347,7 +348,7 @@ func createWithTemplate(ctx context.Context, proClient proclient.Client, options
return nil, err
}

// create virtualclusterinstance
// create virtual cluster instance
log.Infof("Creating virtual cluster %s in project %s with template %s...", virtualClusterName, options.Project, virtualClusterTemplate.Name)
virtualClusterInstance, err = managementClient.Loft().ManagementV1().VirtualClusterInstances(virtualClusterInstance.Namespace).Create(ctx, virtualClusterInstance, metav1.CreateOptions{})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ require (
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.3.0-ci.1.0.20230925121720-6c3f4d5f792e
github.com/loft-sh/api/v3 v3.0.0-20230925132152-fb279316cadb
github.com/loft-sh/loftctl/v3 v3.0.0-20230925152156-6330c0e3000c
github.com/loft-sh/utils v0.0.28
github.com/mitchellh/go-homedir v1.1.0
Expand Down Expand Up @@ -76,6 +75,7 @@ require (
github.com/google/gnostic-models v0.6.8 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213 // indirect
github.com/loft-sh/api/v3 v3.0.0-20230925132152-fb279316cadb // indirect
github.com/loft-sh/apiserver v0.0.0-20230628051307-f26967fbb40f // indirect
github.com/loft-sh/external-types v0.0.2-0.20230301201552-ec939da949b4 // indirect
github.com/loft-sh/jspolicy v0.1.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,8 @@ github.com/kubernetes-csi/external-snapshotter/client/v4 v4.2.0 h1:nHHjmvjitIiyP
github.com/kubernetes-csi/external-snapshotter/client/v4 v4.2.0/go.mod h1:YBCo4DoEeDndqvAn6eeu0vWM7QdXmHEeI9cFWplmBys=
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0=
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE=
github.com/loft-sh/agentapi/v3 v3.3.0-alpha.26 h1:EFzeSuuIWtZJPEZP8A7xI6z3Yq/AxigkugLoeCtYjjQ=
github.com/loft-sh/agentapi/v3 v3.3.0-alpha.26/go.mod h1:8jmVWFBcLjwh6Tv2KPVxkIjUJpVxUMROcbYYVYxR1pI=
github.com/loft-sh/agentapi/v3 v3.3.0-ci.1.0.20230925121720-6c3f4d5f792e h1:msR5AtLG2hQ70l+1ztZxCDN4KB9t0xOClC/Jg7zupcQ=
github.com/loft-sh/agentapi/v3 v3.3.0-ci.1.0.20230925121720-6c3f4d5f792e/go.mod h1:8jmVWFBcLjwh6Tv2KPVxkIjUJpVxUMROcbYYVYxR1pI=
github.com/loft-sh/api/v3 v3.0.0-20230925132152-fb279316cadb h1:FgEPNNPOEQhpnwkNRf2TGT5gEqcFFKb2k/WtwqEL6fQ=
Expand Down

0 comments on commit 999e07a

Please sign in to comment.