Is there an existing issue for this?
Current Behavior
When using --- in a | block the deployment can fail with mapping values are not allowed in this context.
The | block section is checked as YAML instead of read as a string, leading to the line echo "----------" being interpreted as document separator.
Expected Behavior
The content in the | block gets interpreted as string.
Steps To Reproduce
In a Helm Chart create something like:
apiVersion: v1
kind: ConfigMap
metadata:
name: example-script
data:
script.sh: |-
#!/bin/sh
set -e
echo "----------"
echo "text: Hello World"
Environment
- Architecture: amd64
- Fleet Version: 0.15.1
- Cluster:
- Provider: rke2
- Kubernetes Version: v1.34.7+rke2r1
Logs
Anything else?
The issue only happend after updateing to version 0.15, in previous version this worked as intended.
Is there an existing issue for this?
Current Behavior
When using
---in a|block the deployment can fail withmapping values are not allowed in this context.The
|block section is checked as YAML instead of read as a string, leading to the lineecho "----------"being interpreted as document separator.Expected Behavior
The content in the
|block gets interpreted as string.Steps To Reproduce
In a Helm Chart create something like:
Environment
Logs
Anything else?
The issue only happend after updateing to version
0.15, in previous version this worked as intended.