Skip to content
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

tinkerbell/charts: introduce showcase chart #89

Open
wants to merge 60 commits into
base: main
Choose a base branch
from

Commits on Jun 8, 2024

  1. stack: introduce hook.downloadEnabled boolean to include/exclude hook…

    … download job
    
    - sometimes we don't want to download the default hook binaries
    - this is separate from stack.hook.enabled, which controls the hostPath etc
    
    Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    81a1f38 View commit details
    Browse the repository at this point in the history
  2. tinkerbell/charts: introduce showcase chart

    - `showcase` is a chart that, based on values.yaml dictionaries:
        - generates Tinkerbell CRs (Hardware/Template/Workflow) for both standard (UEFI) & exotic (supported by Armbian) devices
        - generates download/process jobs for multiple Hook flavors (see tinkerbell/hook#205)
        - generates download/process jobs for a few OS images (Ubuntu Cloud Images, Armbian, etc)
        - should be independent of how one deployed Tinkerbell itself (stack chart, individual components, etc)
    - A few features:
        - validates values.yaml for common mistakes; arch must match, etc.
        - validates & handles rootDisk differences (re-invents "formatPartition()" a bit)
        - avoids re-downloading Hooks and Images that are already on disk, even if Job re-runs
        - allows easy way to use
            - custom Hooks
            - custom Kernel cmdline parameters at both the Hook & device level
                - for example `acpi=off` at Hook level and `console=ttyS0` at board level
            - custom OS images for deployment
            - reboot or kexec to finish deployment
            - different partition numbers for OS image's rootfs (some images have ESP, some have a separate `/boot`, etc)
            - control if growpart and/or ssh/user setup is done during provisioning or not
            - conversion of OS images (`qemu-to-raw-gzip` and `xz-to-gz`)
        - has a "merge" mechanism with a common way to set parameters like net gateway, UEFI, etc (also easy to override per-device)
        - default values have everything `enabled: false` thus showcase should produce nothing by default.
            - Hooks & Images can be forced `enabled: true` in values.yaml, or
                - `enabled: true` Devices automatically enable their Hook & Image
    - Probably missing:
        - More validations
        - Currently pointing to my Tinkerbell Actions, which I haven't PR'ed yet
    - How to use:
        - Clone it, edit the values.yaml to your liking, and deploy.
    
    Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    75ea24c View commit details
    Browse the repository at this point in the history
  3. showcase: add README

    Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    97aa178 View commit details
    Browse the repository at this point in the history
  4. showcase: 0.0.2: disable kexec on arm64, it doesn't really work (yet)

    Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    5e4fba0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    06f9e04 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b66ed28 View commit details
    Browse the repository at this point in the history
  7. showcase: VM examples

    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    f223138 View commit details
    Browse the repository at this point in the history
  8. showcase: bump hook to rpardini's 20240404-2216; add `armbian-rk3588-…

    …edge` hook definition (but no board example yet)
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    e571625 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5fb3b1c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a1378dc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    86cc121 View commit details
    Browse the repository at this point in the history
  12. showcase: install pkgs with DEBIAN_FRONTEND=noniteractive, no suggest…

    …s, no recommends; 180s timeout
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    beaa1bb View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b211b36 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    b3acba5 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    deecf4d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d9f4d7e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3d6904f View commit details
    Browse the repository at this point in the history
  18. showcase: HACK: change default Hook amd64 bootMode to reboot (this ne…

    …eds override per-device)
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    f8b5621 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4c56722 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    db59b3d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0610810 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b3b98eb View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6143325 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    49fb1d1 View commit details
    Browse the repository at this point in the history
  25. showcase: bump fatso images

    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    a4a64fe View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e7f2f20 View commit details
    Browse the repository at this point in the history
  27. showcase: add image's 'doInjectHegelCloudInit'; set device's `userDat…

    …a` on the Hardware
    
    - add configuration hegelURL
    - some examples
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    59e5231 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    0450340 View commit details
    Browse the repository at this point in the history
  29. showcase: add ntp stuff

    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    7948551 View commit details
    Browse the repository at this point in the history
  30. showcase: bump images

    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    2047515 View commit details
    Browse the repository at this point in the history
  31. showcase: bump fatso

    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    7701e91 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    a8d6a01 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0918819 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    8f35c41 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    244a56a View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    7484af4 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    5bb46da View commit details
    Browse the repository at this point in the history
  38. showcase: bump all armsurvivors Armbian images to 24.05.20-armsurvivo…

    …rs-184; add t95z-cloud-edge image; use qcow2-to-img conversion where relevant
    rpardini committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    740f784 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    fa5b565 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    2bc2a93 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    d50e310 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    d746479 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    17424c2 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. Configuration menu
    Copy the full SHA
    fa111e5 View commit details
    Browse the repository at this point in the history
  2. showcase: introduce image.doAddEFIBootEntry for efibootmgr juggling a…

    …nd enable it for fatso images
    rpardini committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    b9705d2 View commit details
    Browse the repository at this point in the history
  3. showcase: introduce image.doRestoreGRUBNormalcy for GRUB+EFI entry ju…

    …ggling and enable it for fatso images
    rpardini committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    2ccea7b View commit details
    Browse the repository at this point in the history
  4. --> introduce 'suite' chart

    rpardini committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    13fb7c7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2bfe7fe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8231198 View commit details
    Browse the repository at this point in the history
  7. suite: deploy Smee using "Recreate" strategy, lest it conflicts with …

    …its previous self when redeploying
    rpardini committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    000fbc2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c5bb19f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8ef8f33 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    33b2826 View commit details
    Browse the repository at this point in the history
  11. suite: experiments

    rpardini committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    23f9f6f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    02c63b6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    339a0b3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    40b958d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6868a32 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    12afb6d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b7d362c View commit details
    Browse the repository at this point in the history