diff --git a/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 b/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 index ba2af2f5..93a9911d 100644 --- a/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 +++ b/tests/templates/kuttl/opa-authorization/10-install-opa.yaml.j2 @@ -34,5 +34,10 @@ commands: config: logging: enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} + containers: + opa: + loggers: + decision: + level: INFO roleGroups: default: {} diff --git a/tests/templates/kuttl/opa-authorization/13-enable-decision-logs.yaml b/tests/templates/kuttl/opa-authorization/13-enable-decision-logs.yaml deleted file mode 100644 index 356b0fa7..00000000 --- a/tests/templates/kuttl/opa-authorization/13-enable-decision-logs.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: opa-server-default -data: - config.yaml: | - services: - - name: stackable - url: http://localhost:3030/opa/v1 - - bundles: - stackable: - service: stackable - resource: opa/bundle.tar.gz - persist: true - polling: - min_delay_seconds: 10 - max_delay_seconds: 20 - - decision_logs: - console: true diff --git a/tests/templates/kuttl/opa-authorization/14-assert.yaml b/tests/templates/kuttl/opa-authorization/14-assert.yaml deleted file mode 100644 index e868cdaf..00000000 --- a/tests/templates/kuttl/opa-authorization/14-assert.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -apiVersion: kuttl.dev/v1beta1 -kind: TestAssert -timeout: 300 -commands: - - script: kubectl -n $NAMESPACE rollout status daemonset opa-server-default --timeout 300s diff --git a/tests/templates/kuttl/opa-authorization/14-restart-opa b/tests/templates/kuttl/opa-authorization/14-restart-opa deleted file mode 100644 index 164d4303..00000000 --- a/tests/templates/kuttl/opa-authorization/14-restart-opa +++ /dev/null @@ -1,5 +0,0 @@ ---- -apiVersion: kuttl.dev/v1beta1 -kind: TestStep -commands: - - script: kubectl -n $NAMESPACE rollout restart daemonset opa-server-default