Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kindest/node Docker tag to v1.27.3 #253

Merged
merged 6 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
- if: matrix.system == 'gatekeeper'
name: Install gatekeeper
run: |
kubectl apply --wait -f https://raw.github.com/open-policy-agent/gatekeeper/release-3.7/deploy/gatekeeper.yaml
kubectl apply --wait -f https://raw.github.com/open-policy-agent/gatekeeper/release-3.12/deploy/gatekeeper.yaml
kubectl wait --for=condition=available --timeout=600s -n gatekeeper-system \
deployment/gatekeeper-audit \
deployment/gatekeeper-controller-manager
Expand Down
2 changes: 1 addition & 1 deletion tests/allowPrivilegeEscalation/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-allowprivilegeescalation
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-allowprivilegeescalation
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/allowedCapabilities/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-allowedcapabilities
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
# Checks initContainers to ensure they don't add anything other than what is permitted.
- name: psp-allowedcapabilities-initcontainers
Expand Down
2 changes: 1 addition & 1 deletion tests/allowedFlexVolumes/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-allowedflexvolumes
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-allowedflexvolumes
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/allowedHostPaths/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-allowedhostpaths
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: host-path
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/allowedProcMountTypes/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: pspallowedprocmounttypes
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: check-proc-mount
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/allowedUnsafeSysctls/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-allowedunsafesysctls
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
background: true
rules:
- name: sysctls
Expand Down
2 changes: 1 addition & 1 deletion tests/apparmor/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-apparmor
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: app-armor
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/defaultAddCapabilities/kyverno-helper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-defaultaddcapabilitiescheck
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-defaultaddcapabilitiescheck
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/defaultAllowPrivilegeEscalation/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kind: ClusterPolicy
metadata:
name: psp-allowprivilegeescalation
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-allowprivilegeescalation
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/forbiddenSysctls/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-forbiddensysctls
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
background: true
rules:
- name: sysctls
Expand Down
2 changes: 1 addition & 1 deletion tests/fsgroup/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-fsgroup
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-fsgroup
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/hostIPC/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-host-namespace
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: host-namespaces
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/hostNetwork/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-host-namespace
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: host-namespaces
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/hostPID/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-host-namespace
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: host-namespaces
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/hostPorts/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-hostports
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: host-ports
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/kind-config-gatekeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ featureGates:
ProcMountType: true
nodes:
- role: control-plane
image: kindest/node:v1.24.2
image: kindest/node:v1.27.3
2 changes: 1 addition & 1 deletion tests/kind-config-krail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ featureGates:
SeccompDefault: true
nodes:
- role: control-plane
image: kindest/node:v1.24.2
image: kindest/node:v1.27.3
2 changes: 1 addition & 1 deletion tests/kind-config-kubewarden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ featureGates:
ProcMountType: true
nodes:
- role: control-plane
image: kindest/node:v1.24.2
image: kindest/node:v1.27.3
2 changes: 1 addition & 1 deletion tests/kind-config-kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ featureGates:
ProcMountType: true
nodes:
- role: control-plane
image: kindest/node:v1.24.2
image: kindest/node:v1.24.3
2 changes: 1 addition & 1 deletion tests/kind-config-pss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ featureGates:
PodSecurity: true
nodes:
- role: control-plane
image: kindest/node:v1.24.2
image: kindest/node:v1.27.3
2 changes: 1 addition & 1 deletion tests/privileged/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-privileged-container
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: privileged-containers
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/readOnlyRootFilesystem/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-readonlyrootfilesystem
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-readonlyrootfilesystem
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/requiredDropCapabilities/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-requireddropcapabilities
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-requireddropcapabilities
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/runAsGroup/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-runasgroup
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-runasgroup
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/runAsUser/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-runasuser
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-runasuser
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/seLinux/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-selinux
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: seLinux
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/seccomp/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: psp-seccomp
spec:
background: true
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: restrict-seccomp
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/supplementalGroups/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-supplementalgroups
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
rules:
- name: psp-supplementalgroup
match:
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ setup() {
while [[ $(kubectl get -f tests/${testcase}/${SYSTEM}.yaml -o 'jsonpath={..status.ready}') != *"true"* ]]; do sleep 1; done
fi
if [ "${SYSTEM}" == "kubewarden" ]; then
kubectl wait --for=condition=PolicyActive --timeout=60s -f tests/${testcase}/${SYSTEM}.yaml
kubectl wait --for=condition=PolicyActive --timeout=120s -f tests/${testcase}/${SYSTEM}.yaml
kubectl -n kubewarden rollout status deployment policy-server-default
while [[ $(kubectl -n kubewarden get po -l app=kubewarden-policy-server-default | grep "Terminating") ]]; do sleep 1; done
fi
Expand Down
2 changes: 1 addition & 1 deletion tests/volumes/kyverno.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ClusterPolicy
metadata:
name: psp-volumes
spec:
validationFailureAction: enforce
validationFailureAction: Enforce
background: false
rules:
- name: allowed-vols
Expand Down
Loading