-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS-image list paging #124
Comments
Hi @smirnov-mi The driver does not list images or keep a list of hardcoded images somewhere. It actually resolves the image as given by the
|
So the problem is: I can not see ubuntu 24.04 while selecting the Image in the Node Template. I guess this list is being generated by the UI-driver: https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js |
Ah, I see. Please note, while the the Rancher driver uses this repository as an implementation detail (IIRC rancher supports the The rancher plugin's developer has made many contributions here, but still they are different projects. The problem is, to this day I have never used rancher. While I would like to help out, the last time I checked getting rancher up and and building the plugin seemed like quite a bit of a hassle. |
Oh I see. Do you have contacts of the guys supporting the UI driver? |
I found someone who looks like the maintainer of that UI driver: https://github.com/mxschmitt/ui-driver-hetzner/blob/master/component/component.js |
Hi @JonasProgrammer
I wasn’t able to set the OS to ubuntu-24.04 in the node driver, and did a little research. It looks like the driver listening of the images should be updated as following:
Our API implements pagination as mentioned in our docs at: https://docs.hetzner.cloud/#pagination
You can see the full list of images by specifying either the page or the number of results.
For example:
curl -H "Authorization: Bearer $HCLOUD_TOKEN" "https://api.hetzner.cloud/v1/images?per_page=50"
that’s what hetzner support replied to my question.
The text was updated successfully, but these errors were encountered: