-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
* Added the chainsaw tests for kyverno 1.10 release Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com> * Updated the k8s version matrix Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com> * Updated failure action for the policies Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com> * UPdated the pss disallow proc mount test case Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com> * UPdated the pss disallow proc mount test case Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com> * Added the disallow-privilege-escalation policy changes * Migrate the kuttl test for workload securty policy to chainsaw Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com> * Bump the chart version Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com> --------- Signed-off-by: nsathyaseelan <sathyaseelan@nirmata.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: chainsaw.kyverno.io/v1alpha1 | ||
kind: Configuration | ||
metadata: | ||
creationTimestamp: null | ||
name: configuration | ||
spec: | ||
parallel: 1 | ||
timeouts: | ||
apply: 1m30s | ||
assert: 1m30s | ||
cleanup: 2m30s | ||
delete: 1m30s | ||
error: 1m30s | ||
exec: 1m30s | ||
fullName: true | ||
forceTerminationGracePeriod: 5s | ||
delayBeforeCleanup: 3s |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: ChainSaw Test | ||
on: | ||
push: | ||
branches: | ||
- 'release-chart-1.10' | ||
|
||
pull_request: | ||
branches: | ||
- 'release-chart-1.10' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
run-e2etest: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
k8s-version: [v1.29.2, v1.28.7, v1.27.11, v1.26.14, v1.25.16, v1.24.12, v1.23.17] | ||
# For n4k-versions 1.10 | ||
n4k-chart-version: [3.0.18] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Prepare environment | ||
run: K8S_VERSION=${{ matrix.k8s-version }} make kind-create-cluster | ||
|
||
- name: Install kyverno | ||
run: N4K_VERSION=${{ matrix.n4k-chart-version }} make kind-deploy-kyverno | ||
|
||
- name: Check Kyverno status | ||
run: make wait-for-kyverno | ||
|
||
- name: Install Chainsaw | ||
uses: kyverno/action-install-chainsaw@v0.1.4 | ||
|
||
- name: Verify Chainsaw Installation | ||
run: chainsaw version | ||
|
||
- name: Test with Chainsaw | ||
run: make test-chainsaw |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.