Move K8s sidecar from testing/ to examples/

The K8s sidecar is a standalone example, not a test harness — it has
no CI integration unlike testing/sidecar/. Move it to examples/
alongside sidecar-nostr-relay/ where it belongs. Update internal path
references in Dockerfile, build.sh, and README.
This commit is contained in:
Johnathan Corgan
2026-03-19 19:36:39 +00:00
parent 9e63b42bd9
commit 8d51dbd268
6 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ RUN printf '%s\n' \
COPY --from=builder /build/target/release/fips /usr/local/bin/fips
COPY --from=builder /build/target/release/fipsctl /usr/local/bin/fipsctl
COPY testing/k8s/entrypoint.sh /entrypoint.sh
COPY examples/k8s-sidecar/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \

View File

@@ -10,7 +10,7 @@ configuration.
```bash
# 1. Build the sidecar image
cd testing/k8s
cd examples/k8s-sidecar
./scripts/build.sh --tag fips-k8s-sidecar:latest
# 2. Push to your registry (replace with your own)

View File

@@ -19,7 +19,7 @@ done
if [ ! -f "$PROJECT_ROOT/Cargo.toml" ]; then
echo "Error: Cannot find Cargo.toml at $PROJECT_ROOT" >&2
echo "Expected layout: <project-root>/testing/k8s/scripts/build.sh" >&2
echo "Expected layout: <project-root>/examples/k8s-sidecar/scripts/build.sh" >&2
exit 1
fi
@@ -34,4 +34,4 @@ echo ""
echo "Done. Image: $IMAGE_TAG"
echo ""
echo "Push to your registry, then apply the example manifest:"
echo " kubectl apply -f testing/k8s/pod.yaml"
echo " kubectl apply -f examples/k8s-sidecar/pod.yaml"