generated from kubewarden/go-policy-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix artifacthub-pkg.yml. Also add questions-ui.yml Fix the release action on GH This is done to fix rancher/kubewarden-ui#207 Signed-off-by: Flavio Castelli <fcastelli@suse.com>
- Loading branch information
Showing
3 changed files
with
77 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
questions: | ||
- default: [] | ||
description: >- | ||
This policy is a replacement for the Kubernetes Pod Security Policy that | ||
controls the usage of `hostPath` volumes. The policy inspects both the | ||
containers and the init containers that are using `hostPath` volumes. | ||
`allowedHostPaths` is a list of host paths that are allowed to be used by | ||
hostPath volumes. An empty `allowedHostPaths` list means there is no | ||
restriction on host paths used. Each entry of `allowedHostPaths` must have: | ||
a `pathPrefix` field, which allows hostPath volumes to mount a path that | ||
begins with an allowed prefix, and a `readOnly` field indicating it must be | ||
mounted read-only. | ||
tooltip: A list of host paths that are allowed to be used by hostPath volumes. | ||
group: Settings | ||
label: Allow host path | ||
hide_input: true | ||
type: map[ | ||
variable: allowedHostPaths | ||
subquestions: | ||
- default: '' | ||
description: >- | ||
Allows hostPath volumes to mount a path that begins with an allowed | ||
prefix. | ||
group: Settings | ||
label: Path prefix | ||
type: string | ||
variable: allowedHostPaths.pathPrefix | ||
- default: false | ||
tooltip: Indicates if the volume must be mounted read-only. | ||
group: Settings | ||
label: Read only | ||
type: boolean | ||
variable: allowedHostPaths.readOnly |