Revert "ci: Skip tests not working with k8s 1.36.0"

This reverts commit df68536cd6.
This commit is contained in:
Saul Paredes
2026-04-27 08:08:27 -07:00
parent 51f234cb56
commit 3273c4e1cc
2 changed files with 8 additions and 4 deletions

View File

@@ -80,8 +80,10 @@ test_deployment_policy_error() {
}
@test "Policy failure: unexpected GID = 0 for layered securityContext deployment" {
echo "# Skipping: not supported in because kubectl describe behaviour has changed and we can no longer assess this test" >&3
return 0
if [[ "${KATA_HOST_OS:-}" == "cbl-mariner" ]]; then
echo "# Skipping: not supported in AKS because kubectl describe behaviour has changed and we can no longer assess this test" >&3
return 0
fi
# Change the pod GID to 0 after the policy has been generated using a different
# runAsGroup value. The policy would use GID = 0 by default, if there weren't

View File

@@ -49,8 +49,10 @@ test_deployment_policy_error() {
}
@test "Policy failure: unexpected UID = 0" {
echo "# Skipping: not supported in because kubectl describe behaviour has changed and we can no longer assess this test" >&3
return 0
if [[ "${KATA_HOST_OS:-}" == "cbl-mariner" ]]; then
echo "# Skipping: not supported in AKS because kubectl describe behaviour has changed and we can no longer assess this test" >&3
return 0
fi
# Change the pod UID to 0 after the policy has been generated using a different
# runAsUser value. The policy would use UID = 0 by default, if there weren't