diff --git a/README.md b/README.md index 8892ae6..25fee1f 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ As a common example, if you sleep all of your staging/ephemeral deployments for - **Ingress controller awareness**: Snorlax determines which ingress controller you're running so it can create the correct ingress routes for sleep. - **Stays awake until next sleep cycle**: If a request is received during the sleep time, the deployment will stay awake until the next sleep cycle +- **Ignores ELB health checks**: Snorlax ignores health checks from ELBs so that they don't wake up the deployment ## Try it yourself locally diff --git a/operator/Dockerfile b/operator/Dockerfile index 71de7d2..6c08001 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -26,6 +26,10 @@ RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 GOOS=${TARGETO # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details FROM gcr.io/distroless/static:nonroot + +# Link the GitHub package to this repo +LABEL org.opencontainers.image.source https://github.com/moonbeam-nyc/snorlax + WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532 diff --git a/proxy/Dockerfile b/proxy/Dockerfile index 59a32be..97e6e9f 100644 --- a/proxy/Dockerfile +++ b/proxy/Dockerfile @@ -20,6 +20,9 @@ RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -o sn #### SECOND STAGE #### FROM alpine:latest +# Link the GitHub package to this repo +LABEL org.opencontainers.image.source https://github.com/moonbeam-nyc/snorlax + # Set the directory WORKDIR /app