-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the initial code of the policy to validate the PVC storage classes names. Signed-off-by: José Guilherme Vanz <jguilhermevanz@suse.com>
- Loading branch information
Showing
19 changed files
with
1,871 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
tags: | ||
- 'v*' | ||
|
||
name: Release policy | ||
|
||
jobs: | ||
|
||
test: | ||
name: run tests and linters | ||
uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-rust.yml@v3.1.0 | ||
|
||
release: | ||
needs: test | ||
permissions: | ||
# Required to create GH release | ||
contents: write | ||
# Required to push to ghcr.io | ||
packages: write | ||
# Required by cosign keyless signing | ||
id-token: write | ||
|
||
uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-rust.yml@v3.1.0 | ||
with: | ||
oci-target: ghcr.io/kubewarden/policies/persistentvolumeclaim-storageclass-policy |
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,6 @@ | ||
on: [push, pull_request] | ||
name: Continuous integration | ||
jobs: | ||
test: | ||
name: run tests and linters | ||
uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-rust.yml@v3.1.0 |
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,9 @@ | ||
/target | ||
*.wasm | ||
|
||
|
||
# Added by cargo | ||
# | ||
# already existing elements were commented out | ||
|
||
#/target |
Validating CODEOWNERS rules …
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 @@ | ||
* @kubewarden/kubewarden-developers |
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,3 @@ | ||
## Code conventions | ||
|
||
Check out our global [CONTRIBUTING guidelines](https://github.com/kubewarden/.github/blob/main/CONTRIBUTING.md) for Rust code conventions |
Oops, something went wrong.