comment out
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user