mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
504 B
Bash
24 lines
504 B
Bash
#!/bin/bash
|
|
|
|
# This script creates placeholder manifest files to satisfy
|
|
# the Go embed directive for testing purposes
|
|
|
|
set -e
|
|
|
|
# Create the manifests directory if it doesn't exist
|
|
mkdir -p manifests
|
|
|
|
# Create a placeholder manifest file
|
|
cat > manifests/placeholder.yaml << EOF
|
|
# This is a placeholder manifest file for tests
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: flux-placeholder
|
|
namespace: flux-system
|
|
data:
|
|
placeholder: "true"
|
|
EOF
|
|
|
|
echo "Created placeholder manifest files for testing"
|