Skip to content

Commit b87d67d

Browse files
committed
fix(test): reduce cluster name length
1 parent 4617680 commit b87d67d

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

tests/templates/kuttl/openldap-user-info/30-assert.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ metadata:
55
name: install-opa
66
timeout: 300
77
commands:
8-
- script: kubectl -n $NAMESPACE wait --for=condition=available opaclusters.opa.stackable.tech/test-opa-groupofnames-tls --timeout 301s
9-
- script: kubectl -n $NAMESPACE wait --for=condition=available opaclusters.opa.stackable.tech/test-opa-groupofnames-notls --timeout 301s
10-
- script: kubectl -n $NAMESPACE wait --for=condition=available opaclusters.opa.stackable.tech/test-opa-posixgroup-tls --timeout 301s
8+
- script: kubectl -n $NAMESPACE wait --for=condition=available opaclusters.opa.stackable.tech/opa-groupofnames-tls --timeout 301s
9+
- script: kubectl -n $NAMESPACE wait --for=condition=available opaclusters.opa.stackable.tech/opa-groupofnames-notls --timeout 301s
10+
- script: kubectl -n $NAMESPACE wait --for=condition=available opaclusters.opa.stackable.tech/opa-posixgroup-tls --timeout 301s

tests/templates/kuttl/openldap-user-info/30-install-opa.yaml.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ commands:
2525
apiVersion: opa.stackable.tech/v1alpha1
2626
kind: OpaCluster
2727
metadata:
28-
name: test-opa-groupofnames-tls
28+
name: opa-groupofnames-tls
2929
spec:
3030
image:
3131
{% if test_scenario['values']['opa-latest'].find(",") > 0 %}
@@ -84,7 +84,7 @@ commands:
8484
apiVersion: opa.stackable.tech/v1alpha1
8585
kind: OpaCluster
8686
metadata:
87-
name: test-opa-groupofnames-notls
87+
name: opa-groupofnames-notls
8888
spec:
8989
image:
9090
{% if test_scenario['values']['opa-latest'].find(",") > 0 %}
@@ -134,7 +134,7 @@ commands:
134134
apiVersion: opa.stackable.tech/v1alpha1
135135
kind: OpaCluster
136136
metadata:
137-
name: test-opa-posixgroup-tls
137+
name: opa-posixgroup-tls
138138
spec:
139139
image:
140140
{% if test_scenario['values']['opa-latest'].find(",") > 0 %}

tests/templates/kuttl/openldap-user-info/50-assert.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ kind: TestAssert
44
metadata:
55
name: test-regorule
66
commands:
7-
- script: kubectl exec -n $NAMESPACE test-regorule-0 -- python /tmp/test-regorule.py -u 'http://test-opa-groupofnames-tls-server:8081/v1/data/test' -t groupofnames-tls
8-
- script: kubectl exec -n $NAMESPACE test-regorule-0 -- python /tmp/test-regorule.py -u 'http://test-opa-groupofnames-notls-server:8081/v1/data/test' -t groupofnames-notls
9-
- script: kubectl exec -n $NAMESPACE test-regorule-0 -- python /tmp/test-regorule.py -u 'http://test-opa-posixgroup-tls-server:8081/v1/data/test' -t posixgroup-tls
7+
- script: kubectl exec -n $NAMESPACE test-regorule-0 -- python /tmp/test-regorule.py -u 'http://opa-groupofnames-tls-server:8081/v1/data/test' -t groupofnames-tls
8+
- script: kubectl exec -n $NAMESPACE test-regorule-0 -- python /tmp/test-regorule.py -u 'http://opa-groupofnames-notls-server:8081/v1/data/test' -t groupofnames-notls
9+
- script: kubectl exec -n $NAMESPACE test-regorule-0 -- python /tmp/test-regorule.py -u 'http://opa-posixgroup-tls-server:8081/v1/data/test' -t posixgroup-tls

0 commit comments

Comments
 (0)