Skip to content

Commit 5e1d5ac

Browse files
committed
f
1 parent 79b93ea commit 5e1d5ac

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

api/internal/clients/kube.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ import (
2222
var localSchemeBuilder = runtime.NewSchemeBuilder(
2323
apiextensionsv1.AddToScheme,
2424
embeddedclusterv1beta1.AddToScheme,
25-
// we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2625
autopilotv1beta2.Install,
2726
k0sv1beta1.Install,
28-
// we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2927
k0shelmv1beta1.Install,
3028
velerov1.AddToScheme,
3129
)

operator/pkg/cli/migratev2/k0s_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,8 @@ func TestNeedsK0sChartCleanup(t *testing.T) {
8888
for _, tt := range tests {
8989
t.Run(tt.name, func(t *testing.T) {
9090
scheme := runtime.NewScheme()
91-
// we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
9291
err := k0sv1beta1.Install(scheme)
9392
require.NoError(t, err)
94-
// we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
9593
err = k0shelmv1beta1.Install(scheme)
9694
require.NoError(t, err)
9795

pkg/kubeutils/client.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ var (
2424

2525
func init() {
2626
utilruntime.Must(embeddedclusterv1beta1.AddToScheme(Scheme))
27-
// we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2827
utilruntime.Must(autopilotv1beta2.Install(Scheme))
29-
// we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
3028
utilruntime.Must(k0sv1beta1.Install(Scheme))
31-
// we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
3229
utilruntime.Must(k0shelmv1beta1.Install(Scheme))
3330
utilruntime.Must(velerov1.AddToScheme(Scheme))
3431
}

0 commit comments

Comments
 (0)