Newer versions of OpenShift require namespaces created by kuttl to be annotated with a new label:
pod-security.kubernetes.io/enforce: "privileged"
This requires a new 00 step in each kuttl test case or a patched kuttl version as seen here.
Without this step we have exceptions such as:
Error from server (Forbidden): error when creating "STDIN": statefulsets.apps "openldap" is forbidden: openldap uses an inline volume provided by CSIDriver secrets.stackable.tech and namespace kuttl-test-huge-pika has a pod security enforce level that is lower than privileged
Description
Pre-requisite for https://github.com/stackabletech/issues/issues/564
Newer versions of OpenShift require namespaces created by kuttl to be annotated with a new label:
This requires a new 00 step in each kuttl test case or a patched kuttl version as seen here.
Without this step we have exceptions such as:
Acceptance criteria