File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
examples/capi-quick-start Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ package v1alpha1
5
5
6
6
import (
7
7
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
8
-
9
- "github.com/d2iq-labs/capi-runtime-extensions/common/pkg/capi/clustertopology/variables"
10
8
)
11
9
12
10
type AWSSpec struct {
@@ -22,7 +20,6 @@ func (AWSSpec) VariableSchema() clusterv1.VariableSchema {
22
20
Properties : map [string ]clusterv1.JSONSchemaProps {
23
21
"region" : Region ("" ).VariableSchema ().OpenAPIV3Schema ,
24
22
},
25
- Required : []string {"region" },
26
23
},
27
24
}
28
25
}
@@ -33,7 +30,6 @@ func (Region) VariableSchema() clusterv1.VariableSchema {
33
30
return clusterv1.VariableSchema {
34
31
OpenAPIV3Schema : clusterv1.JSONSchemaProps {
35
32
Type : "string" ,
36
- Default : variables .MustMarshal ("us-west-2" ),
37
33
Description : "AWS region to create cluster in" ,
38
34
},
39
35
}
Original file line number Diff line number Diff line change 27
27
providers :
28
28
- name : aws-ebs
29
29
nfd : {}
30
- aws : {}
30
+ aws :
31
+ region : us-west-2
31
32
version : v1.27.5
32
33
workers :
33
34
machineDeployments :
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ patches:
31
31
value:
32
32
- name: "clusterConfig"
33
33
value:
34
- aws: {}
34
+ aws:
35
+ region: us-west-2
35
36
- op: "add"
36
37
path: "/spec/topology/variables/0/value/addons"
37
38
value:
You can’t perform that action at this time.
0 commit comments