Open mddamato opened 3 months ago
file blob refs have the same naming restrictions as any other oci image. the tilde is a disallowed character as per spec, iirc. see:
that said, this failure mode is cryptic at best
@dweomer Understood. Shame that the official RKE2 rpms upstream have a tilde in it then.
@dweomer Understood. Shame that the official RKE2 rpms upstream have a tilde in it then.
I think we can get around this with some annotation hackery.
Example RKE2 Manifest: https://github.com/zackbradys/rancher-airgap/blob/main/hauler/rke2/rancher-airgap-rke2.yaml
Script to generate the above RKE2 Manifest: https://github.com/zackbradys/rancher-airgap/blob/main/hauler/scripts/rke2/hauler-rke2.sh
Hey @mddamato, were you able to take a look at this again and the referenced examples?
Hey @mddamato, checking back on this!
Removing the tilde works, of course. My problem stems from my effort to maintain the naming convention from upstream.
Example: Sometimes doing a reposync to maintain the metadata/repo database makes sense. If the names of the files are changed then I have to rebuild the indexes.
Environmental Info:
Linux 6aa12afc0914 5.15.49-linuxkit-pr #1 SMP Thu May 25 07:17:40 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Hauler Version:
1.0.4
Describe the Bug:
local files that contain a tilde "~" are not accepted.
Steps to Reproduce:
Expected Behavior:
file downloaded, stored
Actual Behavior:
error message