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

Fix default questions value for map types #39

Merged
merged 1 commit into from
Mar 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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