comment out
Some checks failed
Lint / Run on Ubuntu (push) Failing after 1m50s
Tests / Run on Ubuntu (push) Failing after 34s
Build images / Build docker image (push) Successful in 2m53s

This commit is contained in:
Chris Richardson
2025-07-03 08:27:01 -04:00
parent b229c050e3
commit 3798bbdae1
2 changed files with 1 additions and 3 deletions

View File

@@ -28,8 +28,6 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o ma
FROM gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
RUN mkdir -p /var/log/etcd-operator
RUN chown 65532:65532 /var/log/etcd-operator
USER 65532:65532
ENTRYPOINT ["/manager"]

View File

@@ -83,7 +83,7 @@ func main() {
flag.StringVar(&metricsCertKey, "metrics-cert-key", "tls.key", "The name of the metrics server key file.")
flag.BoolVar(&enableHTTP2, "enable-http2", false,
"If set, HTTP/2 will be enabled for the metrics and webhook servers")
flag.StringVar(&logFilePath, "log-file", "/var/log/etcd-operator", "The log file to write logs to.")
flag.StringVar(&logFilePath, "log-file", "/tmp/log", "The log file to write logs to.")
/*
opts := zap.Options{
Development: true,