From ec7f9f62ba1fcc9dc18997ac0c3bd2c15b65629e Mon Sep 17 00:00:00 2001 From: Robert Graeff Date: Wed, 18 Sep 2024 07:41:31 +0200 Subject: [PATCH] Generate --- apis/core/v1alpha1/targettypes/kubernetes_cluster_test.go | 6 ++++-- ...andscaper.gardener.cloud_componentversionoverwrites.yaml | 2 +- apis/crds/manifests/landscaper.gardener.cloud_contexts.yaml | 2 +- .../landscaper.gardener.cloud_criticalproblems.yaml | 2 +- .../manifests/landscaper.gardener.cloud_dataobjects.yaml | 2 +- .../manifests/landscaper.gardener.cloud_deployitems.yaml | 2 +- .../manifests/landscaper.gardener.cloud_executions.yaml | 2 +- .../manifests/landscaper.gardener.cloud_installations.yaml | 2 +- .../manifests/landscaper.gardener.cloud_lshealthchecks.yaml | 2 +- .../manifests/landscaper.gardener.cloud_syncobjects.yaml | 2 +- apis/crds/manifests/landscaper.gardener.cloud_targets.yaml | 2 +- .../manifests/landscaper.gardener.cloud_targetsyncs.yaml | 2 +- pkg/deployer/lib/utils.go | 2 +- 13 files changed, 16 insertions(+), 14 deletions(-) diff --git a/apis/core/v1alpha1/targettypes/kubernetes_cluster_test.go b/apis/core/v1alpha1/targettypes/kubernetes_cluster_test.go index 7b214327d..686adf7a7 100644 --- a/apis/core/v1alpha1/targettypes/kubernetes_cluster_test.go +++ b/apis/core/v1alpha1/targettypes/kubernetes_cluster_test.go @@ -2,10 +2,12 @@ package targettypes_test import ( "encoding/json" + "testing" + + "k8s.io/utils/ptr" + "github.com/gardener/landscaper/apis/core/v1alpha1" "github.com/gardener/landscaper/apis/core/v1alpha1/targettypes" - "k8s.io/utils/ptr" - "testing" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/apis/crds/manifests/landscaper.gardener.cloud_componentversionoverwrites.yaml b/apis/crds/manifests/landscaper.gardener.cloud_componentversionoverwrites.yaml index e134c77a0..68354f562 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_componentversionoverwrites.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_componentversionoverwrites.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: componentversionoverwrites.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_contexts.yaml b/apis/crds/manifests/landscaper.gardener.cloud_contexts.yaml index be12f4a7d..b7c946147 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_contexts.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_contexts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: contexts.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_criticalproblems.yaml b/apis/crds/manifests/landscaper.gardener.cloud_criticalproblems.yaml index bc9e3d9c1..31ba26b96 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_criticalproblems.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_criticalproblems.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: criticalproblems.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_dataobjects.yaml b/apis/crds/manifests/landscaper.gardener.cloud_dataobjects.yaml index 7ec39b7f9..3bca82788 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_dataobjects.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_dataobjects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: dataobjects.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_deployitems.yaml b/apis/crds/manifests/landscaper.gardener.cloud_deployitems.yaml index 2709a4bd3..9e72eb2ec 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_deployitems.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_deployitems.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: deployitems.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_executions.yaml b/apis/crds/manifests/landscaper.gardener.cloud_executions.yaml index 819ef1813..e7807fe62 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_executions.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_executions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: executions.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_installations.yaml b/apis/crds/manifests/landscaper.gardener.cloud_installations.yaml index 36276dd8f..e33516c6a 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_installations.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_installations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: installations.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_lshealthchecks.yaml b/apis/crds/manifests/landscaper.gardener.cloud_lshealthchecks.yaml index 3f62b3722..6e468e392 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_lshealthchecks.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_lshealthchecks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: lshealthchecks.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_syncobjects.yaml b/apis/crds/manifests/landscaper.gardener.cloud_syncobjects.yaml index 813dff03a..58812b37e 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_syncobjects.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_syncobjects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: syncobjects.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_targets.yaml b/apis/crds/manifests/landscaper.gardener.cloud_targets.yaml index d454595d7..0344884c2 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_targets.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_targets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: targets.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/apis/crds/manifests/landscaper.gardener.cloud_targetsyncs.yaml b/apis/crds/manifests/landscaper.gardener.cloud_targetsyncs.yaml index f59d02c8b..b3afd5d67 100644 --- a/apis/crds/manifests/landscaper.gardener.cloud_targetsyncs.yaml +++ b/apis/crds/manifests/landscaper.gardener.cloud_targetsyncs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.16.1 + controller-gen.kubebuilder.io/version: v0.16.3 name: targetsyncs.landscaper.gardener.cloud spec: group: landscaper.gardener.cloud diff --git a/pkg/deployer/lib/utils.go b/pkg/deployer/lib/utils.go index c98d2217d..f58ebf29a 100644 --- a/pkg/deployer/lib/utils.go +++ b/pkg/deployer/lib/utils.go @@ -72,7 +72,7 @@ func GetRestConfigAndClientAndClientSet(ctx context.Context, resolvedTarget *lsv serviceAccount := &corev1.ServiceAccount{ ObjectMeta: metav1.ObjectMeta{ Namespace: resolvedTarget.Namespace, - Name: targetConfig.OIDCConfig.ServiceAccount, + Name: targetConfig.OIDCConfig.ServiceAccount, }, } tokenRequest := &authenticationv1.TokenRequest{