We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6e2d69 commit 48d61bfCopy full SHA for 48d61bf
1 file changed
.github/workflows/chart-diff.yaml
@@ -60,6 +60,12 @@ jobs:
60
kubebuilder edit --plugins=helm/v2-alpha --output-dir=new_charts
61
ls -la new_charts/*
62
63
+ - name: Remove example blocks from generated CRDs
64
+ run: |
65
+ find gitops-promoter/new_charts -name "*.yaml" -type f | while read file; do
66
+ perl -i -0777 -pe 's/\s*Example:\s*\n\s*\{\{ "\{\{- \$baseURL.*?urlQueryEscape \$labels\)\}" \}\}//gs' "$file"
67
+ done
68
+
69
- name: Diff charts
70
run: |
71
echo "=== Diff between generated manifests and current Helm chart ==="
0 commit comments