Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preflight required labels. #198

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,31 +32,48 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o dell-csi

# Base image
FROM $BASEIMAGE AS container-base
LABEL vendor="Dell Technologies" \
maintainer="Dell Technologies" \
release="1.13.0" \
version="1.11.0" \
license="Apache-2.0"

# Controller
FROM container-base AS controller
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-replication-controller ./
ENTRYPOINT ["/dell-replication-controller"]
LABEL name="dell-replication-controller" \
description="CSI Replication controller" \
summary="Controller which replicates the resources across (or within) Kubernetes clusters"

# Sidecar
FROM container-base AS sidecar
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-csi-replicator ./
ENTRYPOINT ["/dell-csi-replicator"]
LABEL name="dell-csi-replicator" \
description="CSI Replicator sidecar" \
summary="Sidecar used for managing the replication processes"

# Sidecar migrator
FROM container-base AS migrator
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-csi-migrator ./
ENTRYPOINT ["/dell-csi-migrator"]
LABEL name="dell-csi-migrator" \
description="CSI Migrator sidecar" \
summary="Sidecar used for managing the replication processes"

# Sidecar node-rescanner
FROM container-base AS node-rescanner
COPY licenses licenses/
WORKDIR /
COPY --from=builder /workspace/dell-csi-replicator/dell-csi-node-rescanner ./
ENTRYPOINT ["/dell-csi-node-rescanner"]
LABEL name="dell-csi-node-rescanner" \
description="CSI Node Rescanner sidecar" \
summary="Sidecar used for managing the replication processes"
Loading