rancher / kubewarden-ui

Kubewarden's User Interface
Apache License 2.0
11 stars 13 forks source link

Verify Image Signatures: invalid type: map, expected a sequence #239

Closed kravciak closed 1 year ago

kravciak commented 1 year ago

Is there an existing issue for this?

Current Behavior

Invalid yaml produced by UI

  settings:
    description: null
    rule: PublicKey
    modifyImagesWithDigest: true
    signatures:
      image: theimage
      keyless:
        issuer: ''
        subject: ''

Expected Behavior

Valid yaml example from policy readme

signatures:
- image: "ghcr.io/kubewarden/*"
  githubActions:
    owner: "kubewarden"

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

kravciak commented 1 year ago

Works on 1.0.3-rc1