Reimplemented the validation logic with caching the security warnings

- Reimplemented the validator interface
- Updated manifests to allocate more resources
This commit is contained in:
sharmapulkit04
2021-08-05 04:39:27 +05:30
parent 52fe5fe95e
commit 37d0eac4e3
7 changed files with 286 additions and 105 deletions
+1 -1
View File
@@ -19,6 +19,7 @@ COPY internal/ internal/
COPY pkg/ pkg/
COPY version/ version/
COPY main.go main.go
RUN mkdir plugins/
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -ldflags "-w $CTIMEVAR" -o manager main.go
@@ -29,5 +30,4 @@ FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
USER 65532:65532
ENTRYPOINT ["/manager"]