-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from wallarm/DE-81
DE-81 Helm 4.10.5
- Loading branch information
Showing
6 changed files
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,6 @@ ARG ALPINE_VERSION | |
ARG GOLANG_VERSION | ||
FROM golang:${GOLANG_VERSION}-alpine${ALPINE_VERSION} as builder | ||
|
||
ARG ALPINE_VERSION | ||
ARG GOLANG_VERSION | ||
ARG CONTAINER_VERSION | ||
ARG COMMIT_SHA | ||
|
||
LABEL org.opencontainers.image.authors="Wallarm Support Team <[email protected]>" | ||
LABEL org.opencontainers.image.title="Kubernetes Sidecar controller of Wallarm API Security deployment" | ||
LABEL org.opencontainers.image.documentation="https://docs.wallarm.com/installation/kubernetes/sidecar-proxy/deployment/" | ||
LABEL org.opencontainers.image.source="https://github.com/wallarm/sidecar" | ||
LABEL org.opencontainers.image.vendor="Wallarm" | ||
LABEL org.opencontainers.image.version="${CONTAINER_VERSION}" | ||
LABEL org.opencontainers.image.revision="${COMMIT_SHA}" | ||
LABEL com.wallarm.sidecar-controller.versions.alpine="${ALPINE_VERSION}" | ||
LABEL com.wallarm.sidecar-controller.versions.golang="${GOLANG_VERSION}" | ||
|
||
RUN apk add --no-cache \ | ||
bash \ | ||
git \ | ||
|
@@ -30,14 +15,30 @@ RUN go mod download | |
ARG TARGETARCH | ||
ARG CGO_ENABLED=0 | ||
ARG GOOS=linux | ||
ARG GOARCH=$TARGETARCH | ||
ARG GOARCH=${TARGETARCH} | ||
RUN go test -v . && \ | ||
go build -a -ldflags="-s -w" \ | ||
-o sidecar-controller . && \ | ||
upx -9 sidecar-controller | ||
|
||
ARG ALPINE_VERSION | ||
FROM alpine:${ALPINE_VERSION} | ||
|
||
ARG ALPINE_VERSION | ||
ARG GOLANG_VERSION | ||
ARG CONTAINER_VERSION | ||
ARG COMMIT_SHA | ||
|
||
LABEL org.opencontainers.image.authors="Wallarm Support Team <[email protected]>" | ||
LABEL org.opencontainers.image.title="Kubernetes Sidecar controller of Wallarm API Security deployment" | ||
LABEL org.opencontainers.image.documentation="https://docs.wallarm.com/installation/kubernetes/sidecar-proxy/deployment/" | ||
LABEL org.opencontainers.image.source="https://github.com/wallarm/sidecar" | ||
LABEL org.opencontainers.image.vendor="Wallarm" | ||
LABEL org.opencontainers.image.version="${CONTAINER_VERSION}" | ||
LABEL org.opencontainers.image.revision="${COMMIT_SHA}" | ||
LABEL com.wallarm.sidecar-controller.versions.alpine="${ALPINE_VERSION}" | ||
LABEL com.wallarm.sidecar-controller.versions.golang="${GOLANG_VERSION}" | ||
|
||
ARG UID=65222 | ||
ARG GID=65222 | ||
RUN apk update && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.3.6 | ||
1.3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters