Skip to content

Commit

Permalink
Only envsubst $NAMESPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Feb 28, 2024
1 parent efd0cec commit 8a52deb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
# We need to replace $NAMESPACE (by KUTTL)
- script: envsubst < 02-create-kerberos-secretclass.txt | kubectl apply -n $NAMESPACE -f -
- script: envsubst '$NAMESPACE' < 02-create-kerberos-secretclass.txt | kubectl apply -n $NAMESPACE -f -
2 changes: 1 addition & 1 deletion tests/templates/kuttl/kerberos/12-rego-rules.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
# We need to replace $NAMESPACE (by KUTTL)
- script: envsubst < 12-rego-rules.txt | kubectl apply -n $NAMESPACE -f -
- script: envsubst '$NAMESPACE' < 12-rego-rules.txt | kubectl apply -n $NAMESPACE -f -
2 changes: 1 addition & 1 deletion tests/templates/kuttl/kerberos/20-install-hdfs.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
# We need to replace $NAMESPACE (by KUTTL)
- script: envsubst < 20-install-hdfs.txt | kubectl apply -n $NAMESPACE -f -
- script: envsubst '$NAMESPACE' < 20-install-hdfs.txt | kubectl apply -n $NAMESPACE -f -
2 changes: 1 addition & 1 deletion tests/templates/kuttl/kerberos/30-access-hdfs.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
# We need to replace $NAMESPACE (by KUTTL)
- script: envsubst < 30-access-hdfs.txt | kubectl apply -n $NAMESPACE -f -
- script: envsubst '$NAMESPACE' < 30-access-hdfs.txt | kubectl apply -n $NAMESPACE -f -
2 changes: 1 addition & 1 deletion tests/templates/kuttl/kerberos/32-check-file.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
# We need to replace $NAMESPACE (by KUTTL)
- script: envsubst < 32-check-file.txt | kubectl apply -n $NAMESPACE -f -
- script: envsubst '$NAMESPACE' < 32-check-file.txt | kubectl apply -n $NAMESPACE -f -

0 comments on commit 8a52deb

Please sign in to comment.