You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
Licensed under the Apache License, Version 2.0 (the "License");
5
5
you may not use this file except in compliance with the License.
@@ -18,69 +18,24 @@ package v1alpha1
18
18
19
19
import (
20
20
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
21
-
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
22
21
)
23
22
24
23
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
25
24
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
26
25
27
26
// HuaweiCloudMachineSpec defines the desired state of HuaweiCloudMachine.
28
-
// Most attributes are referred to https://github.com/huaweicloud/huaweicloud-sdk-go-v3/blob/master/services/ecs/v2/model/model_nova_create_servers_option.go
29
27
typeHuaweiCloudMachineSpecstruct {
30
28
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
31
29
// Important: Run "make" to regenerate code after modifying this file
32
30
33
-
// 弹性云服务器uuid。
34
-
// ProviderID is the unique identifier as specified by the cloud provider.
35
-
ProviderID*string`json:"providerID,omitempty"`
36
-
37
-
// InstanceID is the ECS instance ID for this machine.
38
-
InstanceID*string`json:"instanceID,omitempty"`
39
-
40
-
// 镜像ID或者镜像资源的URL
41
-
// ImageRef is the reference from which to create the machine instance.
42
-
ImageRef*string`json:"imageRef,omitempty"`
43
-
44
-
// FlavorRef is similar to instanceType.
45
-
// FlavorRef is the type of instance to create. Example: s2.small.1
46
-
// +kubebuilder:validation:Required
47
-
// +kubebuilder:validation:MinLength:=2
48
-
FlavorRefstring`json:"flavorRef"`
49
-
50
-
// TODO, need to define the type of Volume struct in the future
51
-
// RootVolume encapsulates the configuration options for the root volume
0 commit comments