-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
The Kubernetes scenario setup script runs during Docker image build, but kind clusters are ephemeral and don't persist in the built image.
Current Behavior
setup.shis executed in the Dockerfile withRUN /home/devops/setup.sh- This creates a kind cluster during image build
- When the container starts from this image, the kind cluster doesn't exist
Expected Behavior
- The kind cluster should be created when the container starts
- Users should see the cluster being created as part of the scenario initialization
Root Cause
In scenarios/kubernetes/keycloak-crashloop/Dockerfile:
# This runs at build time
RUN /home/devops/setup.shSolution
- Remove the
RUN /home/devops/setup.shfrom Dockerfile - Create an entrypoint script that runs setup.sh at container start
- Use
ENTRYPOINTorCMDto execute the setup when container starts
Impact
- Kubernetes scenarios appear broken as no cluster exists when users connect
- The "Creating kind cluster..." message never appears to users
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working