Skip to content

Commit ead0e71

Browse files
authored
Merge pull request #12 from kubewarden/update-questions
Tag 0.1.4
2 parents 2fd7d7b + cfd523f commit ead0e71

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "environment-variable-policy"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
authors = ["José Guilherme Vanz <[email protected]>"]
55
edition = "2018"
66

artifacthub-pkg.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
version: 0.1.3
2+
version: 0.1.4
33
name: environment-variable-policy
44
displayName: Environment Variable Policy
5-
createdAt: '2023-02-06T14:46:21+02:00'
5+
createdAt: '2023-02-13T15:57:33+00:00'
66
description: A Kubewarden Policy that controls the usage of environment variables
77
license: Apache-2.0
88
homeURL: https://github.com/kubewarden/environment-variable-policy
99
containersImages:
1010
- name: policy
11-
image: "ghcr.io/kubewarden/policies/environment-variable-policy:v0.1.3"
11+
image: "ghcr.io/kubewarden/policies/environment-variable-policy:v0.1.4"
1212
keywords:
1313
- deployment
1414
- replicaset
@@ -22,7 +22,7 @@ keywords:
2222
- environment-variables
2323
links:
2424
- name: policy
25-
url: https://github.com/kubewarden/environment-variable-policy/releases/download/v0.1.3/policy.wasm
25+
url: https://github.com/kubewarden/environment-variable-policy/releases/download/v0.1.4/policy.wasm
2626
- name: source
2727
url: https://github.com/kubewarden/environment-variable-policy
2828
provider:
@@ -70,9 +70,9 @@ annotations:
7070
group: Settings
7171
label: Rules
7272
hide_input: true
73-
type: map[
73+
type: sequence[
7474
variable: rules
75-
subquestions:
75+
sequence_questions:
7676
- default: anyIn
7777
group: Settings
7878
label: Reject Operator
@@ -83,22 +83,22 @@ annotations:
8383
- notAllAreUsed
8484
required: false
8585
type: enum
86-
variable: rules.reject
86+
variable: reject
8787
- default: []
8888
description: ''
8989
group: Settings
9090
label: Environment Variables
9191
hide_input: true
92-
type: map[
93-
variable: rules.environmentVariables
94-
subquestions:
92+
type: sequence[
93+
variable: environmentVariables
94+
sequence_questions:
9595
- default: ''
9696
group: Settings
9797
label: Name
9898
type: string
99-
variable: rules.environmentVariables.name
99+
variable: name
100100
- default: ''
101101
group: Settings
102102
label: Value
103103
type: string
104-
variable: rules.environmentVariables.value
104+
variable: value

questions-ui.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ questions:
1616
group: Settings
1717
label: Rules
1818
hide_input: true
19-
type: map[
19+
type: sequence[
2020
variable: rules
21-
subquestions:
21+
sequence_questions:
2222
- default: anyIn
2323
group: Settings
2424
label: Reject Operator
@@ -29,22 +29,22 @@ questions:
2929
- notAllAreUsed
3030
required: false
3131
type: enum
32-
variable: rules.reject
32+
variable: reject
3333
- default: []
3434
description: ''
3535
group: Settings
3636
label: Environment Variables
3737
hide_input: true
38-
type: map[
39-
variable: rules.environmentVariables
40-
subquestions:
38+
type: sequence[
39+
variable: environmentVariables
40+
sequence_questions:
4141
- default: ''
4242
group: Settings
4343
label: Name
4444
type: string
45-
variable: rules.environmentVariables.name
45+
variable: name
4646
- default: ''
4747
group: Settings
4848
label: Value
4949
type: string
50-
variable: rules.environmentVariables.value
50+
variable: value

0 commit comments

Comments
 (0)