Skip to content

Commit

Permalink
Merge pull request #39 from kubewarden/update-policy-questions
Browse files Browse the repository at this point in the history
Fix default questions value for map types
  • Loading branch information
flavio authored Mar 21, 2023
2 parents b5d198f + c5ecf0d commit ab68a91
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "trusted-repos-policy"
version = "0.1.8"
version = "0.1.9"
authors = ["Rafael Fernández López <[email protected]>"]
edition = "2018"

Expand Down
14 changes: 7 additions & 7 deletions artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
version: 0.1.8
version: 0.1.9
name: trusted-repos
displayName: Trusted Repos
createdAt: '2023-01-19T14:46:21+02:00'
createdAt: '2023-03-20T20:23:44+00:00'
description: Restrict what registries, tags and images can be used
license: Apache-2.0
homeURL: https://github.com/kubewarden/trusted-repos-policy
containersImages:
- name: policy
image: ghcr.io/kubewarden/policies/trusted-repos:v0.1.8
image: ghcr.io/kubewarden/policies/trusted-repos:v0.1.9
keywords:
- image
- registry
- tag
links:
- name: policy
url: https://github.com/kubewarden/trusted-repos-policy/releases/download/v0.1.8/policy.wasm
url: https://github.com/kubewarden/trusted-repos-policy/releases/download/v0.1.9/policy.wasm
- name: source
url: https://github.com/kubewarden/trusted-repos-policy
provider:
Expand Down Expand Up @@ -47,7 +47,7 @@ annotations:
hide_input: true
type: string
variable: description
- default: []
- default: {}
description: Allow or reject images coming from a specified registry.
group: Settings
label: Registries
Expand All @@ -65,7 +65,7 @@ annotations:
label: Reject
type: array[
variable: registries.reject
- default: []
- default: {}
description: Reject a specified tag for all images
group: Settings
label: Tags
Expand All @@ -78,7 +78,7 @@ annotations:
label: Reject
type: array[
variable: tags.reject
- default: []
- default: {}
description: Accept or reject a specified image
group: Settings
label: Images
Expand Down
6 changes: 3 additions & 3 deletions questions-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ questions:
hide_input: true
type: string
variable: description
- default: []
- default: {}
description: Allow or reject images coming from a specified registry.
group: Settings
label: Registries
Expand All @@ -30,7 +30,7 @@ questions:
label: Reject
type: array[
variable: registries.reject
- default: []
- default: {}
description: Reject a specified tag for all images
group: Settings
label: Tags
Expand All @@ -43,7 +43,7 @@ questions:
label: Reject
type: array[
variable: tags.reject
- default: []
- default: {}
description: Accept or reject a specified image
group: Settings
label: Images
Expand Down

0 comments on commit ab68a91

Please sign in to comment.