Skip to content

Commit

Permalink
Merge pull request #24 from kubewarden/update-policy-questions
Browse files Browse the repository at this point in the history
Update allowedFlexVolumes question for UI to a sequence
  • Loading branch information
flavio authored Mar 16, 2023
2 parents bcfae40 + ed03cd3 commit 0026a12
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 14 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 = "flexvolume-drivers-psp"
version = "0.1.3"
version = "0.1.4"
authors = ["Rafael Fernández López <ereslibre@ereslibre.es>"]
edition = "2018"

Expand Down
22 changes: 14 additions & 8 deletions artifacthub-pkg.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
version: 0.1.3
version: 0.1.4
name: flexvolume-drivers-psp
displayName: Flexvolume Drivers Psp
createdAt: '2023-01-19T14:46:21+02:00'
createdAt: '2023-03-16T13:21:22+00:00'
description: Replacement for the Kubernetes Pod Security Policy that controls the
allowed `flexVolume` drivers
license: Apache-2.0
homeURL: https://github.com/kubewarden/flexvolume-drivers-psp-policy
containersImages:
- name: policy
image: ghcr.io/kubewarden/policies/flexvolume-drivers-psp:v0.1.3
image: ghcr.io/kubewarden/policies/flexvolume-drivers-psp:v0.1.4
keywords:
- psp
- container
Expand All @@ -18,7 +18,7 @@ keywords:
- flex
links:
- name: policy
url: https://github.com/kubwarden/flexvolume-drivers-psp-policy/releases/download/v0.1.3/policy.wasm
url: https://github.com/kubwarden/flexvolume-drivers-psp-policy/releases/download/v0.1.4/policy.wasm
- name: source
url: https://github.com/kubewarden/flexvolume-drivers-psp-policy
provider:
Expand All @@ -43,9 +43,15 @@ annotations:
evaluated has a different driver on any `flexVolume` volume, it will be
rejected.
tooltip: >-
The `Key` needs to be `driver`, then provide a flex volume driver as the
`Value`. (e.g. `driver: example/lvm`)
Provide a flex volume driver as the `Value`. (e.g. `driver: example/lvm`)
group: Settings
label: Allowed flex volumes
type: map[
variable: allowed_flex_volumes
hide_input: true
type: sequence[
variable: allowedFlexVolumes
sequence_questions:
- default: ''
group: Settings
label: Driver
type: string
variable: driver
14 changes: 10 additions & 4 deletions questions-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ questions:
evaluated has a different driver on any `flexVolume` volume, it will be
rejected.
tooltip: >-
The `Key` needs to be `driver`, then provide a flex volume driver as the
`Value`. (e.g. `driver: example/lvm`)
Provide a flex volume driver as the `Value`. (e.g. `driver: example/lvm`)
group: Settings
label: Allowed flex volumes
type: map[
variable: allowed_flex_volumes
hide_input: true
type: sequence[
variable: allowedFlexVolumes
sequence_questions:
- default: ''
group: Settings
label: Driver
type: string
variable: driver

0 comments on commit 0026a12

Please sign in to comment.