Skip to content

Commit 247b450

Browse files
committed
using "" through all integration tests with shell interaction
1 parent 13ad404 commit 247b450

40 files changed

Lines changed: 48 additions & 48 deletions

tests/templates/kuttl/cluster-operation/00-patch-ns.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
apiVersion: kuttl.dev/v1beta1
55
kind: TestStep
66
commands:
7-
- script: kubectl patch namespace $NAMESPACE -p '{"metadata":{"labels":{"pod-security.kubernetes.io/enforce":"privileged"}}}'
7+
- script: kubectl patch namespace "$NAMESPACE" -p '{"metadata":{"labels":{"pod-security.kubernetes.io/enforce":"privileged"}}}'
88
timeout: 120
99
{% endif %}

tests/templates/kuttl/cluster-operation/10-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: kuttl.dev/v1beta1
33
kind: TestAssert
44
timeout: 600
55
commands:
6-
- script: kubectl -n $NAMESPACE wait --for=condition=available hiveclusters.hive.stackable.tech/test-hive --timeout 601s
6+
- script: kubectl -n "$NAMESPACE" wait --for=condition=available hiveclusters.hive.stackable.tech/test-hive --timeout 601s
77
---
88
apiVersion: apps/v1
99
kind: StatefulSet

tests/templates/kuttl/cluster-operation/20-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: kuttl.dev/v1beta1
33
kind: TestAssert
44
timeout: 300
55
commands:
6-
- script: kubectl -n $NAMESPACE wait --for=condition=stopped hiveclusters.hive.stackable.tech/test-hive --timeout 301s
6+
- script: kubectl -n "$NAMESPACE" wait --for=condition=stopped hiveclusters.hive.stackable.tech/test-hive --timeout 301s
77
---
88
apiVersion: apps/v1
99
kind: StatefulSet

tests/templates/kuttl/cluster-operation/30-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: kuttl.dev/v1beta1
33
kind: TestAssert
44
timeout: 300
55
commands:
6-
- script: kubectl -n $NAMESPACE wait --for=condition=reconciliationPaused hiveclusters.hive.stackable.tech/test-hive --timeout 301s
6+
- script: kubectl -n "$NAMESPACE" wait --for=condition=reconciliationPaused hiveclusters.hive.stackable.tech/test-hive --timeout 301s
77
---
88
apiVersion: apps/v1
99
kind: StatefulSet

tests/templates/kuttl/cluster-operation/40-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: kuttl.dev/v1beta1
33
kind: TestAssert
44
timeout: 600
55
commands:
6-
- script: kubectl -n $NAMESPACE wait --for=condition=available hiveclusters.hive.stackable.tech/test-hive --timeout 601s
6+
- script: kubectl -n "$NAMESPACE" wait --for=condition=available hiveclusters.hive.stackable.tech/test-hive --timeout 601s
77
---
88
apiVersion: apps/v1
99
kind: StatefulSet

tests/templates/kuttl/external-access/00-patch-ns.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
apiVersion: kuttl.dev/v1beta1
55
kind: TestStep
66
commands:
7-
- script: kubectl patch namespace $NAMESPACE -p '{"metadata":{"labels":{"pod-security.kubernetes.io/enforce":"privileged"}}}'
7+
- script: kubectl patch namespace "$NAMESPACE" -p '{"metadata":{"labels":{"pod-security.kubernetes.io/enforce":"privileged"}}}'
88
timeout: 120
99
{% endif %}

tests/templates/kuttl/external-access/10-listener-classes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
33
kind: TestStep
44
commands:
55
- script: |
6-
envsubst < listener-classes.yaml | kubectl apply -n $NAMESPACE -f -
6+
envsubst < listener-classes.yaml | kubectl apply -n "$NAMESPACE" -f -

tests/templates/kuttl/external-access/20-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ timeout: 600
55
metadata:
66
name: install-hive
77
commands:
8-
- script: kubectl -n $NAMESPACE wait --for=condition=available hiveclusters.hive.stackable.tech/test-hive --timeout 601s
8+
- script: kubectl -n "$NAMESPACE" wait --for=condition=available hiveclusters.hive.stackable.tech/test-hive --timeout 601s
99
---
1010
apiVersion: apps/v1
1111
kind: StatefulSet

tests/templates/kuttl/external-access/20-install-hive.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ timeout: 600
55
commands:
66
- script: >
77
envsubst < install-hive.yaml |
8-
kubectl apply -n $NAMESPACE -f -
8+
kubectl apply -n "$NAMESPACE" -f -

tests/templates/kuttl/kerberos-hdfs/00-patch-ns.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
apiVersion: kuttl.dev/v1beta1
55
kind: TestStep
66
commands:
7-
- script: kubectl patch namespace $NAMESPACE -p '{"metadata":{"labels":{"pod-security.kubernetes.io/enforce":"privileged"}}}'
7+
- script: kubectl patch namespace "$NAMESPACE" -p '{"metadata":{"labels":{"pod-security.kubernetes.io/enforce":"privileged"}}}'
88
timeout: 120
99
{% endif %}

0 commit comments

Comments
 (0)