
Steps
Writing files
How to write a file in your scenario
You can write files in your scenario using a bash command:
cat << EOF > /tmp/storageos-secret.yaml
apiVersion: v1
kind: Secret
metadata:
name: "storageos-api"
namespace: "storageos-operator"
labels:
app: "storageos"
type: "kubernetes.io/storageos"
EOF
Check the content of your file
cat /tmp/storageos-secret.yaml
If you need to have those files created at the start of the scenario, you can define them as assets.