Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Remove CSIMigration flag (#3561)
Browse files Browse the repository at this point in the history
* remove csimigration flag

* nancy

* update k8scloudconfig to v17
  • Loading branch information
njuettner authored Jun 9, 2023
1 parent d9e9b18 commit 01ea2cf
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 12 deletions.
1 change: 1 addition & 0 deletions .nancy-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ CVE-2020-8561
CVE-2023-25809
CVE-2023-28642
CVE-2023-26125
CVE-2023-29401
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Removed

- Remove CSIMigration feature flag (enabled by default with k8s 1.23).

## [14.17.1] - 2023-05-11

### Added
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,7 @@ require (
github.com/giantswarm/certs/v4 v4.0.0
github.com/giantswarm/ipam v0.3.0
github.com/giantswarm/k8sclient/v7 v7.0.1
github.com/giantswarm/k8scloudconfig/v16 v16.2.0
github.com/giantswarm/k8scloudconfig/v17 v17.1.0
github.com/giantswarm/k8smetadata v0.20.0
github.com/giantswarm/kubelock/v4 v4.0.0
github.com/giantswarm/microendpoint v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ github.com/giantswarm/ipam v0.3.0 h1:QNb4k5Zu6nGsqJkAM7dLM1J6TiUP+LGjo9CPR+ewZBk
github.com/giantswarm/ipam v0.3.0/go.mod h1:xG4cMEKwHlbE0aZ7x2H5j7o81U13LIStA73XCECdk+I=
github.com/giantswarm/k8sclient/v7 v7.0.1 h1:UmRwgsw5Uda27tpIblPo7nWjp/nq5qwqxEPHWcvzsHk=
github.com/giantswarm/k8sclient/v7 v7.0.1/go.mod h1:zJTXammjLHSiukMIO4+a6eUDgzj/lJxEXFZ22mC0WXc=
github.com/giantswarm/k8scloudconfig/v16 v16.2.0 h1:10CurD+EPF7ALoqyZCvqKG1jZ6hLWlH/B8XFugmSRdo=
github.com/giantswarm/k8scloudconfig/v16 v16.2.0/go.mod h1:9QNKXwjyBCWup2ek+kRZ356zw38QhQ2QgwuHuK9zzQo=
github.com/giantswarm/k8scloudconfig/v17 v17.1.0 h1:QggvIFWT7pvJzPcFBEr7wHG3peZldPOJhzgLu2Yfogo=
github.com/giantswarm/k8scloudconfig/v17 v17.1.0/go.mod h1:peChY0p9SloYvoQfx5zCXIU6T//QdkG4y8LgFEWyuE4=
github.com/giantswarm/k8smetadata v0.20.0 h1:wvKD2SkFsNxQkbnvRbq/e2DHVqoQVeNxehGOmcIdTL8=
github.com/giantswarm/k8smetadata v0.20.0/go.mod h1:QiQAyaZnwco1U0lENLF0Kp4bSN4dIPwIlHWEvUo3ES8=
github.com/giantswarm/kubelock/v4 v4.0.0 h1:qvFGOIlDthAD8r32WcorT8R4gp3c1dpnDbHuLsDU2ZA=
Expand Down
3 changes: 1 addition & 2 deletions service/internal/cloudconfig/tccpn.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/blang/semver"
infrastructurev1alpha3 "github.com/giantswarm/apiextensions/v6/pkg/apis/infrastructure/v1alpha3"
"github.com/giantswarm/certs/v4/pkg/certs"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v16/pkg/template"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v17/pkg/template"
"github.com/giantswarm/k8smetadata/pkg/annotation"
"github.com/giantswarm/microerror"
"github.com/giantswarm/randomkeys/v3"
Expand Down Expand Up @@ -499,7 +499,6 @@ func (t *TCCPN) newTemplate(ctx context.Context, obj interface{}, mapping hamast
// It gets created by the Ingress Controller app if it is installed in the tenant cluster.
params.DisableIngressControllerService = true
params.DockerhubToken = t.config.DockerhubToken
params.EnableCSIMigrationAWS = true
params.Etcd = k8scloudconfig.Etcd{
ClientPort: key.EtcdPort,
InitialClusterState: etcdInitialClusterState,
Expand Down
2 changes: 1 addition & 1 deletion service/internal/cloudconfig/tccpn_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/blang/semver"
infrastructurev1alpha3 "github.com/giantswarm/apiextensions/v6/pkg/apis/infrastructure/v1alpha3"
"github.com/giantswarm/certs/v4/pkg/certs"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v16/pkg/template"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v17/pkg/template"
"github.com/giantswarm/k8smetadata/pkg/annotation"
"github.com/giantswarm/microerror"

Expand Down
3 changes: 1 addition & 2 deletions service/internal/cloudconfig/tcnp.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

infrastructurev1alpha3 "github.com/giantswarm/apiextensions/v6/pkg/apis/infrastructure/v1alpha3"
"github.com/giantswarm/certs/v4/pkg/certs"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v16/pkg/template"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v17/pkg/template"
"github.com/giantswarm/k8smetadata/pkg/annotation"
"github.com/giantswarm/microerror"
"github.com/giantswarm/randomkeys/v3"
Expand Down Expand Up @@ -228,7 +228,6 @@ func (t *TCNP) NewTemplates(ctx context.Context, obj interface{}) ([]string, err

params.Cluster = g8sConfig.Cluster
params.DockerhubToken = t.config.DockerhubToken
params.EnableCSIMigrationAWS = true
params.Extension = &TCNPExtension{
awsConfigSpec: cmaClusterToG8sConfig(t.config, cl, key.KubeletLabelsTCNP(&cr)),
cc: cc,
Expand Down
2 changes: 1 addition & 1 deletion service/internal/cloudconfig/tcnp_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
infrastructurev1alpha3 "github.com/giantswarm/apiextensions/v6/pkg/apis/infrastructure/v1alpha3"
g8sv1alpha1 "github.com/giantswarm/apiextensions/v6/pkg/apis/provider/v1alpha1"
"github.com/giantswarm/certs/v4/pkg/certs"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v16/pkg/template"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v17/pkg/template"
"github.com/giantswarm/microerror"

"github.com/giantswarm/aws-operator/v14/service/controller/controllercontext"
Expand Down
2 changes: 1 addition & 1 deletion service/internal/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

infrastructurev1alpha3 "github.com/giantswarm/apiextensions/v6/pkg/apis/infrastructure/v1alpha3"
"github.com/giantswarm/k8sclient/v7/pkg/k8sclient"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v16/pkg/template"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v17/pkg/template"
"github.com/giantswarm/microerror"
releasev1alpha1 "github.com/giantswarm/release-operator/v4/api/v1alpha1"
"k8s.io/apimachinery/pkg/api/meta"
Expand Down
2 changes: 1 addition & 1 deletion service/internal/images/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package images
import (
"context"

k8scloudconfig "github.com/giantswarm/k8scloudconfig/v16/pkg/template"
k8scloudconfig "github.com/giantswarm/k8scloudconfig/v17/pkg/template"
)

type Interface interface {
Expand Down
2 changes: 1 addition & 1 deletion service/internal/unittest/default_images.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package unittest

import k8scloudconfig "github.com/giantswarm/k8scloudconfig/v16/pkg/template"
import k8scloudconfig "github.com/giantswarm/k8scloudconfig/v17/pkg/template"

func DefaultImages() k8scloudconfig.Images {
return k8scloudconfig.Images{
Expand Down

0 comments on commit 01ea2cf

Please sign in to comment.