Commit 4ed4c55
committed
fix(crd/ec2/instance): Remove unnecessary required fields to enable use of launchTemplate
The imageID field of the instance resource ignores the ImageID of the launchTemplate, and only one of the launchTemplate Name and ID can be used, so required must be changed to optional
Signed-off-by: rayshoo <fire@dragonz.dev>1 parent 3ef4534 commit 4ed4c55
File tree
3 files changed
+6
-7
lines changed- apis/ec2/manualv1alpha1
- package/crds
3 files changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
| 644 | + | |
644 | 645 | | |
645 | 646 | | |
646 | | - | |
| 647 | + | |
| 648 | + | |
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | 607 | | |
611 | 608 | | |
612 | 609 | | |
| |||
1221 | 1218 | | |
1222 | 1219 | | |
1223 | 1220 | | |
1224 | | - | |
1225 | 1221 | | |
1226 | 1222 | | |
1227 | 1223 | | |
| |||
0 commit comments