Skip to content

Commit

Permalink
add openshift ns patch
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Feb 26, 2025
1 parent 26f08f0 commit 416389b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/templates/kuttl/opa/00-patch-ns.yaml.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% if test_scenario['values']['openshift'] == 'true' %}
# see https://github.com/stackabletech/issues/issues/566
---
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: kubectl patch namespace $NAMESPACE -p '{"metadata":{"labels":{"pod-security.kubernetes.io/enforce":"privileged"}}}'
timeout: 120
{% endif %}

0 comments on commit 416389b

Please sign in to comment.