Skip to content

Commit 3b51b16

Browse files
authored
Merge pull request #2 from fjuma/event-queues-replicated-example-kind
fix: Configure Kind to use podman if specified
2 parents ce9896b + 1c45706 commit 3b51b16

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

examples/cloud-deployment/scripts/cleanup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ while [[ $# -gt 0 ]]; do
2727
esac
2828
done
2929

30+
# Configure Kind to use podman if specified
31+
if [ "$CONTAINER_TOOL" = "podman" ]; then
32+
export KIND_EXPERIMENTAL_PROVIDER=podman
33+
fi
34+
3035
echo -e "${YELLOW}This will delete all resources in the a2a-demo namespace and the Kind cluster${NC}"
3136
read -p "Are you sure you want to continue? (y/N) " -n 1 -r
3237
echo ""

examples/cloud-deployment/scripts/deploy.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ done
3131
echo "Container tool: $CONTAINER_TOOL"
3232
echo ""
3333

34+
# Configure Kind to use podman if specified
35+
if [ "$CONTAINER_TOOL" = "podman" ]; then
36+
export KIND_EXPERIMENTAL_PROVIDER=podman
37+
echo "Configured Kind to use podman provider"
38+
echo ""
39+
fi
40+
3441
# Check if Kind is installed
3542
if ! command -v kind &> /dev/null; then
3643
echo -e "${RED}Error: Kind is not installed${NC}"

0 commit comments

Comments
 (0)