File tree Expand file tree Collapse file tree 10 files changed +33
-28
lines changed
internal/services/microvm Expand file tree Collapse file tree 10 files changed +33
-28
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,6 @@ type Volume struct {
7979 // +kubebuilder:default:=false
8080 // +optional
8181 ReadOnly bool `json:"readOnly,omitempty"`
82- // MountPoint is the mount point of the volume in the machine.
83- // +kubebuilder:validation:Required
84- MountPoint string `json:"mountPoint,omitempty"`
8582}
8683
8784// IfaceType is a type representing the network interface types.
Original file line number Diff line number Diff line change @@ -121,10 +121,6 @@ spec:
121121 image :
122122 description : Image is the container image to use for the volume.
123123 type : string
124- mountPoint :
125- description : MountPoint is the mount point of the volume in the
126- machine.
127- type : string
128124 readOnly :
129125 default : false
130126 description : ReadOnly specifies that the volume is to be mounted
@@ -169,10 +165,6 @@ spec:
169165 image :
170166 description : Image is the container image to use for the volume.
171167 type : string
172- mountPoint :
173- description : MountPoint is the mount point of the volume in
174- the machine.
175- type : string
176168 readOnly :
177169 default : false
178170 description : ReadOnly specifies that the volume is to be mounted
Original file line number Diff line number Diff line change @@ -158,10 +158,6 @@ spec:
158158 description : Image is the container image to use for the
159159 volume.
160160 type : string
161- mountPoint :
162- description : MountPoint is the mount point of the volume
163- in the machine.
164- type : string
165161 readOnly :
166162 default : false
167163 description : ReadOnly specifies that the volume is to
@@ -210,10 +206,6 @@ spec:
210206 description : Image is the container image to use for
211207 the volume.
212208 type : string
213- mountPoint :
214- description : MountPoint is the mount point of the volume
215- in the machine.
216- type : string
217209 readOnly :
218210 default : false
219211 description : ReadOnly specifies that the volume is to
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ This table shows the compatibility between CAPMVM and Flintlock versions.
44
55| CAPMVM | Flintlock |
66| ----------- | ---------------------- |
7- | ` v0.5.0 ` | ` v0.1.0-alpha.9 ` |
7+ | ` v0.6.0 ` | ` v0.1.0 ` |
8+ | ` v0.5.x ` | ` v0.1.0-alpha.9 ` |
89| ` v0.4.0 ` | ` v0.1.0-alpha.8 ` |
910| ` v0.3.0 ` | ` v0.1.0-alpha.6 ` |
1011| ` v0.2.2 ` | ` v0.1.0-alpha.5 ` |
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ git pull --tags
1717git describe --tags --abbrev=0
1818```
1919
20+ ## Update ` metadata.yaml `
21+
22+ If you are increasing by a major or minor version, edit ` metadata.yaml ` to contain
23+ the new contract.
24+
25+ Open a PR and merge to main BEFORE you continue with the release.
26+
2027## Create tag
2128
2229* Checkout upstream main
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ require (
66 github.com/go-logr/logr v1.2.3
77 github.com/onsi/gomega v1.19.0
88 github.com/spf13/pflag v1.0.5
9- github.com/weaveworks-liquidmetal/flintlock/api v0.0.0-20220510103109-fab05d0b1346
10- github.com/weaveworks-liquidmetal/flintlock/client v0.0.0-20220510103109-fab05d0b1346
9+ github.com/weaveworks-liquidmetal/flintlock/api v0.0.0-20220628141946-264f4544f49f
10+ github.com/weaveworks-liquidmetal/flintlock/client v0.0.0-20220628141946-264f4544f49f
1111 github.com/yitsushi/macpot v1.0.2
1212 google.golang.org/grpc v1.47.0
1313 google.golang.org/protobuf v1.28.0
Original file line number Diff line number Diff line change @@ -631,10 +631,10 @@ github.com/valyala/fastjson v1.6.3/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLr
631631github.com/vincent-petithory/dataurl v1.0.0 /go.mod h1:FHafX5vmDzyP+1CQATJn7WFKc9CvnvxyvZy6I1MrG/U =
632632github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728 /go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk =
633633github.com/vmware/vmw-ovflib v0.0.0-20170608004843-1f217b9dc714 /go.mod h1:jiPk45kn7klhByRvUq5i2vo1RtHKBHj+iWGFpxbXuuI =
634- github.com/weaveworks-liquidmetal/flintlock/api v0.0.0-20220510103109-fab05d0b1346 h1:w/Ld8EgtzXjFQK0fB6pEfptON2DP2LxWB69sGiimkMw =
635- github.com/weaveworks-liquidmetal/flintlock/api v0.0.0-20220510103109-fab05d0b1346 /go.mod h1:JPML9O56MoPKGX97jfj++BtuFFS84jm4T+jWQBjO5Uc =
636- github.com/weaveworks-liquidmetal/flintlock/client v0.0.0-20220510103109-fab05d0b1346 h1:5CxmOoxgQBfsHE6TXB0DphgYFHosWdqaap3F7sJ2kPQ =
637- github.com/weaveworks-liquidmetal/flintlock/client v0.0.0-20220510103109-fab05d0b1346 /go.mod h1:d65mpsT+pbMnMJZhUqeNtt7lcQnsX8cowl9dTRkniSI =
634+ github.com/weaveworks-liquidmetal/flintlock/api v0.0.0-20220628141946-264f4544f49f h1:I+BieoFUnOC9Y7m9NwGfK6wtEwzSkPeBLPEQf3+8r+Y =
635+ github.com/weaveworks-liquidmetal/flintlock/api v0.0.0-20220628141946-264f4544f49f /go.mod h1:JPML9O56MoPKGX97jfj++BtuFFS84jm4T+jWQBjO5Uc =
636+ github.com/weaveworks-liquidmetal/flintlock/client v0.0.0-20220628141946-264f4544f49f h1:zrUZz+usVtrvojEcbfG6Le+gv4467gXrlwRQGniRTaA =
637+ github.com/weaveworks-liquidmetal/flintlock/client v0.0.0-20220628141946-264f4544f49f /go.mod h1:d65mpsT+pbMnMJZhUqeNtt7lcQnsX8cowl9dTRkniSI =
638638github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 /go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU =
639639github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca /go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg =
640640github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 /go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q =
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ func convertToFlintlockAPI(machineScope *scope.MachineScope) *flintlocktypes.Mic
3232 RootVolume : & flintlocktypes.Volume {
3333 Id : "root" ,
3434 IsReadOnly : mvmSpec .RootVolume .ReadOnly ,
35- MountPoint : mvmSpec .RootVolume .MountPoint ,
3635 Source : & flintlocktypes.VolumeSource {
3736 ContainerSource : & mvmSpec .RootVolume .Image ,
3837 },
@@ -55,7 +54,6 @@ func convertToFlintlockAPI(machineScope *scope.MachineScope) *flintlocktypes.Mic
5554 apiVM .AdditionalVolumes = append (apiVM .AdditionalVolumes , & flintlocktypes.Volume {
5655 Id : volume .ID ,
5756 IsReadOnly : volume .ReadOnly ,
58- MountPoint : volume .MountPoint ,
5957 Source : & flintlocktypes.VolumeSource {
6058 ContainerSource : & volume .Image ,
6159 },
Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ releaseSeries:
2020 - major : 0
2121 minor : 5
2222 contract : v1beta1
23+ - major : 0
24+ minor : 6
25+ contract : v1beta1
You can’t perform that action at this time.
0 commit comments