diff --git a/tests/templates/kuttl/openldap-user-info/10-assert.yaml b/tests/templates/kuttl/openldap-user-info/10-assert.yaml index 8c361389..36fae5e9 100644 --- a/tests/templates/kuttl/openldap-user-info/10-assert.yaml +++ b/tests/templates/kuttl/openldap-user-info/10-assert.yaml @@ -2,5 +2,11 @@ apiVersion: kuttl.dev/v1beta1 kind: TestAssert timeout: 300 -commands: - - script: kubectl wait --for=condition=ready pod/test-openldap-0 -n $NAMESPACE --timeout=300s +--- +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: test-openldap +status: + readyReplicas: 1 + replicas: 1 diff --git a/tests/templates/kuttl/openldap-user-info/10-install-openldap.yaml b/tests/templates/kuttl/openldap-user-info/10-install-openldap.yaml index 792cda22..a19b70fb 100644 --- a/tests/templates/kuttl/openldap-user-info/10-install-openldap.yaml +++ b/tests/templates/kuttl/openldap-user-info/10-install-openldap.yaml @@ -2,175 +2,5 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - - script: | - kubectl apply -n $NAMESPACE -f - <