Skip to content

Commit

Permalink
Generate
Browse files Browse the repository at this point in the history
  • Loading branch information
robertgraeff committed Sep 19, 2024
1 parent 4177381 commit b13fe32
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 14 deletions.
6 changes: 4 additions & 2 deletions apis/core/v1alpha1/targettypes/kubernetes_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apis/crds/manifests/landscaper.gardener.cloud_targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/deployer/lib/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,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{
Expand Down

0 comments on commit b13fe32

Please sign in to comment.