Closed dulek closed 6 months ago
Name | Link |
---|---|
Latest commit | dc3959e0dd803c30361cbf6697293db6090dad66 |
Latest deploy log | https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/65f2de403df8320009748c6e |
Deploy Preview | https://deploy-preview-1939--kubernetes-sigs-cluster-api-openstack.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dulek, mdbooth
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@mdbooth: I fixed a comment, but I'm still unsure about ImageFilter
being optional. Digging into that now.
/test pull-cluster-api-provider-openstack-e2e-full-test /lgtm
I think all comments were addressed (nice work!) but I'll let Matt hold cancel.
So we still wanted to add validation that when ID is not set, the filter has at least one other option set. Now I started working on Bastion to fix this, because this means we're unable to create an empty machine, but maybe it's an overkill. Technically an empty filter is still valid if you have just one image.
I added the explicit +required
on the ImageFilter
. I guess this is good to go, I can expand the filter in the Bastion patch.
/retest
/test pull-cluster-api-provider-openstack-e2e-full-test /lgtm
/hold cancel
What this PR does / why we need it: This commit changes
ID
andName
ofImageFilter
to pointers which should only affect go marshalling.Other than that it adds CEL validation of the ImageFilter, so that Name or Tags can only be set when ID is unset. Conversions are updated accordingly to make sure we only set Name when ID is unset.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged): Fixes #Special notes for your reviewer:
TODOs:
/hold