Uploaded image for project: 'CoreOS OCP'
  1. CoreOS OCP
  2. COS-3259

[coreos/butane] Configs with a `boot_device.luks.device` set but no method (tpm2, tang, etc.) set should fail validation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Upstream
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • CoreOS East - 270

      [2680098797] Upstream Reporter: Timothée Ravier
      Upstream issue status: Closed
      Upstream description:

      This config currently passes validation but should fail:

      ```
      $ cat config.by
      variant: fcos
      version: 1.6.0-experimental
      boot_device:
      luks:
      device: /dev/sda
      ```

      ```
      $ butane --strict --pretty < config.bu
      {
      "ignition":

      Unknown macro: { "version"}

      }
      ```

      Related to: https://github.com/coreos/butane/pull/536

              rh-ee-rchandar Roshan Chandar
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: