Skip to content

Commit 48c5905

Browse files
authored
Feature/v1beta1 (#20)
* Bumped underlying CAPI tool versions per CAPI book upgrade instructions. * Removed zap logger. Bumped CAPI to 1.0. Things are _very_ broken atm. * Followed instructions to unify manager role between webhooks and controllers. * Changes to enable individual service accounts for controllers. * Renamed api dir to v1beta1 * Bumped all refs from v1alpha3 to v1beta1. * Build, but probably doesn't actually work yet. * Remove additional steps needed for older CAPC. * Remove zap logger. * Generated via newer controller-gen binary. * Updated to use new style watch functions. * Fixup some defaults for args. * Point to local image. * Bumped version. * Some final cleanup. * Bump v1beta1 in yaml. * Removed insecure package workaround as I believe it is no longer needed. * Trying to pass prow. * Revert to use secure jwt lib. * Remove unsupported versions.
1 parent e1b3a6c commit 48c5905

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+968
-491
lines changed

Makefile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ undeploy: bin/kustomize ## Undeploy controller from the K8s cluster specified in
134134
.PHONY: binaries
135135
binaries: bin/controller-gen bin/kustomize bin/ginkgo bin/golangci-lint bin/mockgen bin/kubectl ## Locally install all needed bins.
136136
bin/controller-gen: ## Install controller-gen to bin.
137-
GOBIN=$(PROJECT_DIR)/bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.9
137+
GOBIN=$(PROJECT_DIR)/bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1
138138
bin/golangci-lint: ## Install golangci-lint to bin.
139139
GOBIN=$(PROJECT_DIR)/bin go install github.com/golangci/golangci-lint/cmd/[email protected]
140140
bin/ginkgo: ## Install ginkgo to bin.
@@ -181,19 +181,12 @@ tilt-up: cluster-api kind-cluster cluster-api/tilt-settings.json manifests cloud
181181
export CLOUDSTACK_B64ENCODED_SECRET=$$(base64 -i cloud-config) && cd cluster-api && tilt up
182182

183183
.PHONY: kind-cluster
184-
kind-cluster: cluster-api cluster-api/hack/kind-install-for-capd.sh # Create a kind cluster with a local Docker repository.
184+
kind-cluster: cluster-api # Create a kind cluster with a local Docker repository.
185185
-./cluster-api/hack/kind-install-for-capd.sh
186186

187187
cluster-api: # Clone cluster-api repository for tilt use.
188-
git clone --branch v0.3.24 https://github.com/kubernetes-sigs/cluster-api.git
188+
git clone --branch v1.0.0 https://github.com/kubernetes-sigs/cluster-api.git
189189

190-
# Need script from CAPI v1.0+
191-
# Can delete this target after upgrading to newer CAPI.
192-
cluster-api/hack/kind-install-for-capd.sh: cluster-api
193-
cd cluster-api && git checkout v1.0.0 -- hack/kind-install-for-capd.sh
194-
195-
# Need script from CAPI v1.0+
196-
# Can delete this target after upgrading to newer CAPI.
197190
cluster-api/tilt-settings.json: hack/tilt-settings.json cluster-api
198191
cp ./hack/tilt-settings.json cluster-api
199192

api/v1alpha3/cloudstackcluster_types.go renamed to api/v1beta1/cloudstackcluster_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21-
clusterv1 "sigs.k8s.io/cluster-api/api/v1alpha3"
21+
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
2222
)
2323

2424
const (

api/v1alpha3/cloudstackcluster_webhook.go renamed to api/v1beta1/cloudstackcluster_webhook.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
"fmt"
@@ -37,7 +37,7 @@ func (r *CloudStackCluster) SetupWebhookWithManager(mgr ctrl.Manager) error {
3737
Complete()
3838
}
3939

40-
//+kubebuilder:webhook:path=/mutate-infrastructure-cluster-x-k8s-io-v1alpha3-cloudstackcluster,mutating=true,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackclusters,verbs=create;update,versions=v1alpha3,name=mcloudstackcluster.kb.io
40+
//+kubebuilder:webhook:path=/mutate-infrastructure-cluster-x-k8s-io-v1beta1-cloudstackcluster,mutating=true,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackclusters,verbs=create;update,versions=v1beta1,name=mcloudstackcluster.kb.io,admissionReviewVersions=v1beta1
4141

4242
var _ webhook.Defaulter = &CloudStackCluster{}
4343

@@ -47,7 +47,7 @@ func (r *CloudStackCluster) Default() {
4747
// No defaulted values supported yet.
4848
}
4949

50-
//+kubebuilder:webhook:path=/validate-infrastructure-cluster-x-k8s-io-v1alpha3-cloudstackcluster,mutating=false,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackclusters,verbs=create;update,versions=v1alpha3,name=vcloudstackcluster.kb.io
50+
//+kubebuilder:webhook:path=/validate-infrastructure-cluster-x-k8s-io-v1beta1-cloudstackcluster,mutating=false,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackclusters,verbs=create;update,versions=v1beta1,name=vcloudstackcluster.kb.io,admissionReviewVersions=v1beta1
5151

5252
var _ webhook.Validator = &CloudStackCluster{}
5353

api/v1alpha3/cloudstackcluster_webhook_test.go renamed to api/v1beta1/cloudstackcluster_webhook_test.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
"context"
21+
2122
. "github.com/onsi/ginkgo"
2223
. "github.com/onsi/gomega"
2324
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -29,7 +30,7 @@ var _ = Describe("CloudStackCluster webhooks", func() {
2930
ctx := context.Background()
3031
cloudStackCluster := &CloudStackCluster{
3132
TypeMeta: metav1.TypeMeta{
32-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
33+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
3334
Kind: "CloudStackCluster",
3435
},
3536
ObjectMeta: metav1.ObjectMeta{
@@ -54,7 +55,7 @@ var _ = Describe("CloudStackCluster webhooks", func() {
5455
ctx := context.Background()
5556
cloudStackCluster := &CloudStackCluster{
5657
TypeMeta: metav1.TypeMeta{
57-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
58+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
5859
Kind: "CloudStackCluster",
5960
},
6061
ObjectMeta: metav1.ObjectMeta{
@@ -78,7 +79,7 @@ var _ = Describe("CloudStackCluster webhooks", func() {
7879
ctx := context.Background()
7980
cloudStackCluster := &CloudStackCluster{
8081
TypeMeta: metav1.TypeMeta{
81-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
82+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
8283
Kind: "CloudStackCluster",
8384
},
8485
ObjectMeta: metav1.ObjectMeta{
@@ -102,7 +103,7 @@ var _ = Describe("CloudStackCluster webhooks", func() {
102103
ctx := context.Background()
103104
cloudStackCluster := &CloudStackCluster{
104105
TypeMeta: metav1.TypeMeta{
105-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
106+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
106107
Kind: "CloudStackCluster",
107108
},
108109
ObjectMeta: metav1.ObjectMeta{
@@ -126,7 +127,7 @@ var _ = Describe("CloudStackCluster webhooks", func() {
126127
ctx := context.Background()
127128
cloudStackCluster := &CloudStackCluster{
128129
TypeMeta: metav1.TypeMeta{
129-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
130+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
130131
Kind: "CloudStackCluster",
131132
},
132133
ObjectMeta: metav1.ObjectMeta{

api/v1alpha3/cloudstackmachine_types.go renamed to api/v1beta1/cloudstackmachine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
corev1 "k8s.io/api/core/v1"

api/v1alpha3/cloudstackmachine_webhook.go renamed to api/v1beta1/cloudstackmachine_webhook.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
"fmt"
21+
2122
"github.com/aws/cluster-api-provider-cloudstack/pkg/webhook_utilities"
2223
"k8s.io/apimachinery/pkg/api/errors"
2324
"k8s.io/apimachinery/pkg/runtime"
@@ -36,7 +37,7 @@ func (r *CloudStackMachine) SetupWebhookWithManager(mgr ctrl.Manager) error {
3637
Complete()
3738
}
3839

39-
//+kubebuilder:webhook:path=/mutate-infrastructure-cluster-x-k8s-io-v1alpha3-cloudstackmachine,mutating=true,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachines,verbs=create;update,versions=v1alpha3,name=mcloudstackmachine.kb.io
40+
//+kubebuilder:webhook:path=/mutate-infrastructure-cluster-x-k8s-io-v1beta1-cloudstackmachine,mutating=true,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachines,verbs=create;update,versions=v1beta1,name=mcloudstackmachine.kb.io,admissionReviewVersions=v1beta1
4041

4142
var _ webhook.Defaulter = &CloudStackMachine{}
4243

@@ -46,7 +47,7 @@ func (r *CloudStackMachine) Default() {
4647
// No defaulted values supported yet.
4748
}
4849

49-
//+kubebuilder:webhook:path=/validate-infrastructure-cluster-x-k8s-io-v1alpha3-cloudstackmachine,mutating=false,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachines,verbs=create;update,versions=v1alpha3,name=vcloudstackmachine.kb.io
50+
//+kubebuilder:webhook:path=/validate-infrastructure-cluster-x-k8s-io-v1beta1-cloudstackmachine,mutating=false,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachines,verbs=create;update,versions=v1beta1,name=vcloudstackmachine.kb.io,admissionReviewVersions=v1beta1
5051

5152
var _ webhook.Validator = &CloudStackMachine{}
5253

api/v1alpha3/cloudstackmachine_webhook_test.go renamed to api/v1beta1/cloudstackmachine_webhook_test.go

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
"context"
21+
2122
. "github.com/onsi/ginkgo"
2223
. "github.com/onsi/gomega"
2324
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -29,7 +30,7 @@ var _ = Describe("CloudStackMachine webhook", func() {
2930
ctx := context.Background()
3031
cloudStackMachine := &CloudStackMachine{
3132
TypeMeta: metav1.TypeMeta{
32-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
33+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
3334
Kind: "CloudStackMachine",
3435
},
3536
ObjectMeta: metav1.ObjectMeta{
@@ -54,7 +55,7 @@ var _ = Describe("CloudStackMachine webhook", func() {
5455
ctx := context.Background()
5556
cloudStackMachine := &CloudStackMachine{
5657
TypeMeta: metav1.TypeMeta{
57-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
58+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
5859
Kind: "CloudStackMachine",
5960
},
6061
ObjectMeta: metav1.ObjectMeta{
@@ -82,7 +83,7 @@ var _ = Describe("CloudStackMachine webhook", func() {
8283
ctx := context.Background()
8384
cloudStackMachine := &CloudStackMachine{
8485
TypeMeta: metav1.TypeMeta{
85-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
86+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
8687
Kind: "CloudStackMachine",
8788
},
8889
ObjectMeta: metav1.ObjectMeta{
@@ -108,7 +109,7 @@ var _ = Describe("CloudStackMachine webhook", func() {
108109
ctx := context.Background()
109110
cloudStackMachine := &CloudStackMachine{
110111
TypeMeta: metav1.TypeMeta{
111-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
112+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
112113
Kind: "CloudStackMachine",
113114
},
114115
ObjectMeta: metav1.ObjectMeta{
@@ -132,7 +133,7 @@ var _ = Describe("CloudStackMachine webhook", func() {
132133
ctx := context.Background()
133134
cloudStackMachine := &CloudStackMachine{
134135
TypeMeta: metav1.TypeMeta{
135-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
136+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
136137
Kind: "CloudStackMachine",
137138
},
138139
ObjectMeta: metav1.ObjectMeta{
@@ -156,7 +157,7 @@ var _ = Describe("CloudStackMachine webhook", func() {
156157
ctx := context.Background()
157158
cloudStackMachine := &CloudStackMachine{
158159
TypeMeta: metav1.TypeMeta{
159-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
160+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
160161
Kind: "CloudStackMachine",
161162
},
162163
ObjectMeta: metav1.ObjectMeta{
@@ -181,7 +182,7 @@ var _ = Describe("CloudStackMachine webhook", func() {
181182
ctx := context.Background()
182183
cloudStackMachine := &CloudStackMachine{
183184
TypeMeta: metav1.TypeMeta{
184-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
185+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
185186
Kind: "CloudStackMachine",
186187
},
187188
ObjectMeta: metav1.ObjectMeta{

api/v1alpha3/cloudstackmachinetemplate_types.go renamed to api/v1beta1/cloudstackmachinetemplate_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

api/v1alpha3/cloudstackmachinetemplate_webhook.go renamed to api/v1beta1/cloudstackmachinetemplate_webhook.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
"fmt"
21+
2122
"github.com/aws/cluster-api-provider-cloudstack/pkg/webhook_utilities"
2223
"k8s.io/apimachinery/pkg/api/errors"
2324
"k8s.io/apimachinery/pkg/runtime"
@@ -36,8 +37,7 @@ func (r *CloudStackMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) er
3637
Complete()
3738
}
3839

39-
//+kubebuilder:webhook:path=/mutate-infrastructure-cluster-x-k8s-io-v1alpha3-cloudstackmachinetemplate,mutating=true,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachinetemplates,verbs=create;update,versions=v1alpha3,name=mcloudstackmachinetemplate.kb.io
40-
40+
//+kubebuilder:webhook:path=/mutate-infrastructure-cluster-x-k8s-io-v1beta1-cloudstackmachinetemplate,mutating=true,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachinetemplates,verbs=create;update,versions=v1beta1,name=mcloudstackmachinetemplate.kb.io,admissionReviewVersions=v1beta1
4141
var _ webhook.Defaulter = &CloudStackMachineTemplate{}
4242

4343
// Default implements webhook.Defaulter so a webhook will be registered for the type
@@ -46,7 +46,7 @@ func (r *CloudStackMachineTemplate) Default() {
4646
// No defaulted values supported yet.
4747
}
4848

49-
//+kubebuilder:webhook:path=/validate-infrastructure-cluster-x-k8s-io-v1alpha3-cloudstackmachinetemplate,mutating=false,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachinetemplates,verbs=create;update,versions=v1alpha3,name=vcloudstackmachinetemplate.kb.io
49+
//+kubebuilder:webhook:path=/validate-infrastructure-cluster-x-k8s-io-v1beta1-cloudstackmachinetemplate,mutating=false,failurePolicy=fail,sideEffects=None,groups=infrastructure.cluster.x-k8s.io,resources=cloudstackmachinetemplates,verbs=create;update,versions=v1beta1,name=vcloudstackmachinetemplate.kb.io,admissionReviewVersions=v1beta1
5050

5151
var _ webhook.Validator = &CloudStackMachineTemplate{}
5252

api/v1alpha3/cloudstackmachinetemplate_webhook_test.go renamed to api/v1beta1/cloudstackmachinetemplate_webhook_test.go

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha3
17+
package v1beta1
1818

1919
import (
2020
"context"
21+
2122
. "github.com/onsi/ginkgo"
2223
. "github.com/onsi/gomega"
2324
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -29,7 +30,7 @@ var _ = Describe("CloudStackMachineTemplate webhook", func() {
2930
ctx := context.Background()
3031
cloudStackMachineTemplate := &CloudStackMachineTemplate{
3132
TypeMeta: metav1.TypeMeta{
32-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
33+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
3334
Kind: "CloudStackMachineTemplate",
3435
},
3536
ObjectMeta: metav1.ObjectMeta{
@@ -62,7 +63,7 @@ var _ = Describe("CloudStackMachineTemplate webhook", func() {
6263
ctx := context.Background()
6364
cloudStackMachineTemplate := &CloudStackMachineTemplate{
6465
TypeMeta: metav1.TypeMeta{
65-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
66+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
6667
Kind: "CloudStackMachineTemplate",
6768
},
6869
ObjectMeta: metav1.ObjectMeta{
@@ -98,7 +99,7 @@ var _ = Describe("CloudStackMachineTemplate webhook", func() {
9899
ctx := context.Background()
99100
cloudStackMachineTemplate := &CloudStackMachineTemplate{
100101
TypeMeta: metav1.TypeMeta{
101-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
102+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
102103
Kind: "CloudStackMachineTemplate",
103104
},
104105
ObjectMeta: metav1.ObjectMeta{
@@ -132,7 +133,7 @@ var _ = Describe("CloudStackMachineTemplate webhook", func() {
132133
ctx := context.Background()
133134
cloudStackMachineTemplate := &CloudStackMachineTemplate{
134135
TypeMeta: metav1.TypeMeta{
135-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
136+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
136137
Kind: "CloudStackMachineTemplate",
137138
},
138139
ObjectMeta: metav1.ObjectMeta{
@@ -164,7 +165,7 @@ var _ = Describe("CloudStackMachineTemplate webhook", func() {
164165
ctx := context.Background()
165166
cloudStackMachineTemplate := &CloudStackMachineTemplate{
166167
TypeMeta: metav1.TypeMeta{
167-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
168+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
168169
Kind: "CloudStackMachineTemplate",
169170
},
170171
ObjectMeta: metav1.ObjectMeta{
@@ -196,7 +197,7 @@ var _ = Describe("CloudStackMachineTemplate webhook", func() {
196197
ctx := context.Background()
197198
cloudStackMachineTemplate := &CloudStackMachineTemplate{
198199
TypeMeta: metav1.TypeMeta{
199-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
200+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
200201
Kind: "CloudStackMachineTemplate",
201202
},
202203
ObjectMeta: metav1.ObjectMeta{
@@ -229,7 +230,7 @@ var _ = Describe("CloudStackMachineTemplate webhook", func() {
229230
ctx := context.Background()
230231
cloudStackMachineTemplate := &CloudStackMachineTemplate{
231232
TypeMeta: metav1.TypeMeta{
232-
APIVersion: "infrastructure.cluster.x-k8s.io/v1alpha3",
233+
APIVersion: "infrastructure.cluster.x-k8s.io/v1beta1",
233234
Kind: "CloudStackMachineTemplate",
234235
},
235236
ObjectMeta: metav1.ObjectMeta{

0 commit comments

Comments
 (0)