Skip to content

Commit

Permalink
Update "core.gardener.cloud" version to "v1beta1"
Browse files Browse the repository at this point in the history
  • Loading branch information
NotTheEvilOne committed Oct 5, 2021
1 parent 4d441b3 commit 2368fd6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions example/30-controlplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ metadata:
name: shoot--foobar--hcloud
spec:
cloudProfile:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: CloudProfile
spec:
regions:
Expand All @@ -33,7 +33,7 @@ spec:
apiVersion: hcloud.provider.extensions.gardener.cloud/v1alpha1
kind: CloudProfileConfig
seed:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: Seed
spec:
settings:
Expand All @@ -42,7 +42,7 @@ spec:
load-balancer.hetzner.cloud/name: shoot--foobar--hcloud
load-balancer.hetzner.cloud/location: hel1
shoot:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: Shoot
spec:
cloud:
Expand Down
6 changes: 3 additions & 3 deletions example/30-infrastructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metadata:
name: shoot--foobar--hcloud
spec:
cloudProfile:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: CloudProfile
spec:
regions:
Expand All @@ -39,10 +39,10 @@ spec:
machineTypes:
- name: cx11
seed:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: Seed
shoot:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: Shoot
spec:
kubernetes:
Expand Down
6 changes: 3 additions & 3 deletions example/30-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
name: shoot--foobar--hcloud
spec:
cloudProfile:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: CloudProfile
spec:
regions:
Expand All @@ -35,10 +35,10 @@ spec:
- name: cx11

seed:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: Seed
shoot:
apiVersion: core.gardener.cloud/v1alpha1
apiVersion: core.gardener.cloud/v1beta1
kind: Shoot
spec:
kubernetes:
Expand Down
6 changes: 3 additions & 3 deletions pkg/hcloud/apis/mock/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

const (
TestClusterCloudProfile = `{
"apiVersion": "core.gardener.cloud/v1alpha1",
"apiVersion": "core.gardener.cloud/v1beta1",
"kind": "CloudProfile",
"spec": {
"regions": [{"name": "hel1", "zones": [{"name": "hel1-dc2"}]}],
Expand All @@ -44,11 +44,11 @@ const (
}`
TestClusterName = "xyz"
TestClusterSeed = `{
"apiVersion": "core.gardener.cloud/v1alpha1",
"apiVersion": "core.gardener.cloud/v1beta1",
"kind": "Seed"
}`
TestClusterShoot = `{
"apiVersion": "core.gardener.cloud/v1alpha1",
"apiVersion": "core.gardener.cloud/v1beta1",
"kind": "Shoot",
"spec": {
"kubernetes": {"version": "1.13.4"},
Expand Down

0 comments on commit 2368fd6

Please sign in to comment.