stackabletech / issues

This repository is only for issues that concern multiple repositories or don't fit into any specific repository
2 stars 0 forks source link

Fix kuttl tests on newer OpenShift versions #566

Closed razvan closed 7 months ago

razvan commented 7 months ago

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:

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

### Operators
- [ ] https://github.com/stackabletech/airflow-operator/pull/423
- [ ] https://github.com/stackabletech/commons-operator/pull/234
- [ ] https://github.com/stackabletech/listener-operator/pull/178
- [ ] https://github.com/stackabletech/secret-operator/pull/404
- [ ] https://github.com/stackabletech/zookeeper-operator/pull/802
- [ ] https://github.com/stackabletech/hdfs-operator/pull/513
- [ ] https://github.com/stackabletech/opa-operator/pull/554
- [ ] https://github.com/stackabletech/kafka-operator/pull/694
- [ ] https://github.com/stackabletech/hello-world-operator/pull/77
- [ ] https://github.com/stackabletech/hive-operator/pull/448
- [ ] https://github.com/stackabletech/superset-operator/pull/484
- [ ] https://github.com/stackabletech/spark-k8s-operator/pull/389
- [ ] https://github.com/stackabletech/edc-operator/pull/76
- [ ] https://github.com/stackabletech/hbase-operator/pull/487
- [ ] https://github.com/stackabletech/druid-operator/pull/545
- [ ] https://github.com/stackabletech/nifi-operator/pull/601
- [ ] https://github.com/stackabletech/trino-operator/pull/572

Acceptance criteria