-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from kubewarden/artifacthub
feat: Update artifacthub-pkg.yml automatically from now on
- Loading branch information
Showing
7 changed files
with
54 additions
and
290 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,6 @@ | ||
on: [push, pull_request] | ||
|
||
name: Continuous integration | ||
|
||
jobs: | ||
check: | ||
name: Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: check | ||
|
||
test: | ||
name: Test Suite | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
|
||
fmt: | ||
name: Rustfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- run: rustup component add rustfmt | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
|
||
clippy: | ||
name: Clippy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- run: rustup component add clippy | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: clippy | ||
args: -- -D warnings | ||
name: run tests and linter | ||
uses: kubewarden/github-actions/.github/workflows/[email protected] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "capabilities-psp" | ||
version = "0.1.10" | ||
version = "0.1.11" | ||
authors = ["Flavio Castelli <[email protected]>"] | ||
edition = "2018" | ||
|
||
|
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 |
---|---|---|
@@ -1,38 +1,43 @@ | ||
--- | ||
version: 0.1.10 | ||
# Kubewarden Artifacthub Package config | ||
# | ||
# Use this config to submit the policy to https://artifacthub.io. | ||
# | ||
# This config can be saved to its default location with: | ||
# kwctl scaffold artifacthub > artifacthub-pkg.yml | ||
version: 0.1.11 | ||
name: capabilities-psp | ||
displayName: Capabilities PSP | ||
createdAt: '2023-01-19T14:46:21+02:00' | ||
description: A Pod Security Policy that controls Container Capabilities | ||
createdAt: 2023-03-21T12:44:32.93498724Z | ||
description: Replacement for the Kubernetes Pod Security Policy that controls the usage of capabilities | ||
license: Apache-2.0 | ||
homeURL: https://github.com/kubewarden/capabilities-psp-policy | ||
containersImages: | ||
- name: policy | ||
image: ghcr.io/kubewarden/policies/capabilities-psp:v0.1.10 | ||
image: ghcr.io/kubewarden/policies/capabilities-psp:v0.1.11 | ||
keywords: | ||
- psp | ||
- container | ||
- capability | ||
- capabilities | ||
links: | ||
- name: policy | ||
url: https://github.com/kubewarden/capabilities-psp-policy/releases/download/v0.1.10/policy.wasm | ||
url: https://github.com/kubewarden/capabilities-psp-policy/releases/download/v0.1.11/policy.wasm | ||
- name: source | ||
url: https://github.com/kubewarden/capabilities-psp-policy | ||
install: | | ||
The policy can be obtained using [`kwctl`](https://github.com/kubewarden/kwctl): | ||
```console | ||
kwctl pull ghcr.io/kubewarden/policies/capabilities-psp:v0.1.11 | ||
``` | ||
maintainers: | ||
- name: Kubewarden developers | ||
email: [email protected] | ||
provider: | ||
name: kubewarden | ||
recommendations: | ||
- url: https://artifacthub.io/packages/helm/kubewarden/kubewarden-controller | ||
annotations: | ||
kubewarden/resources: Pod | ||
kubewarden/mutation: true | ||
kubewarden/contextAware: false | ||
kubewarden/rules: | | ||
rules: | ||
- apiGroups: [""] | ||
apiVersions: ["v1"] | ||
resources: ["pods"] | ||
operations: ["CREATE"] | ||
kubewarden/mutation: 'true' | ||
kubewarden/questions-ui: | | ||
questions: | ||
- default: [""] | ||
|
@@ -61,3 +66,13 @@ annotations: | |
required: false | ||
type: array[ | ||
variable: default_add_capabilities | ||
kubewarden/resources: Pod | ||
kubewarden/rules: | | ||
- apiGroups: | ||
- '' | ||
apiVersions: | ||
- v1 | ||
resources: | ||
- pods | ||
operations: | ||
- CREATE |
Oops, something went wrong.