eager-magazine-61814
06/02/2025, 2:12 PMcreamy-pencil-82913
06/02/2025, 4:10 PMeager-magazine-61814
06/02/2025, 5:00 PMstocky-account-63046
06/03/2025, 7:59 AMcloudcredential
resource is a v3 / norman api resource. i think under the hood, as mentioned by Brandon, it translates to a secret. however the ui will only deal with the cloudcredential resourceseager-magazine-61814
06/05/2025, 7:59 AMstocky-account-63046
06/05/2025, 8:58 AMspec.addCloudCredential
, however it looks like custom node drivers cannot set this correctly (i'll look into getting an issue created.
However the ui extensions have a way of working around this, see https://extensions.rancher.io/extensions/next/api/components/node-drivers cloud-credential
(https://extensions.rancher.io/extensions/next/usecases/node-driver/cloud-credential). Setting to true would use the native method of creating a cloud cred (i think this looks at specific machine config properties), but it's probably best to write a vue component to ensure the correct info is requested and validatedeager-magazine-61814
06/05/2025, 11:35 AMstocky-account-63046
06/05/2025, 12:15 PMid
field, which is missing in this case.
Can you just double check, the browser should be making a POST request to /v3/cloudcredentials
, and the response should contain an id
field?stocky-account-63046
06/05/2025, 12:28 PMdata
(which should contain the id).
would it be possible to share your extension code, or confirm that no manual creation of the cloudcredential
is taking place?eager-magazine-61814
06/05/2025, 1:25 PMstocky-account-63046
06/05/2025, 1:55 PMlist
action.
you should be able to replace https://gist.github.com/Therideru/da0c2fe82c580bfdcff899e5bb7d1949#file-hetzner-vue-L23-L36 with this.driver = this.value
stocky-account-63046
06/05/2025, 1:58 PM