From 9549347a02fd9d7d11adc226a9dc39f3a532a34b Mon Sep 17 00:00:00 2001 From: kpango Date: Thu, 8 Aug 2024 09:37:07 +0900 Subject: [PATCH] [patch] release v1.7.11 (#2355) fix: git add chart directory for release (#2356) (#2357) [patch] release v1.7.11 (#2358) :bookmark: :robot: Release v1.7.11 (#2360) Change docker scan timeout longer (#2363) (#2364) refactor code using golangci-lint (#2362) (#2365) Create SECURITY.md (#2367) (#2368) add commit hash build image (#2359) (#2371) update docker build target platform selection rules (#2370) (#2374) Make agent export index metrics to Pod k8s resource (#2319) (#2372) backport ci deps others (#2386) Update workflow to release readreplica chart (#2383) (#2387) :green_heart: :recycle: Add Con-Bench helm chart to the Vald charts (#2388) (#2389) Delete unnecessary code for mirror (#2366) (#2391) change JP logo to EN logo (#2369) (#2392) Add rotate-all option to rotator (#2305) (#2393) fix: build error of internal kvs test (#2396) (#2398) Resolve kvs already closed before last saving (#2390) (#2394) :robot: Update license headers / Format Go codes and YAML files (#2397) (#2400) create continous benchmark doc (#2352) (#2395) fix: disable protobuf dispatch for client (#2401) (#2403) update deps (#2404) (#2405) [patch] release v1.7.12 (#2406) :bookmark: :robot: Release v1.7.12 (#2408) :pencil: Fix typo of file name (#2413) (#2415) Fix agent-faiss build failed (#2418) (#2419) Add tests for index information export (#2412) (#2414) Fix the logic to determine docker image (#2410) (#2420) Update build rule for nightly image (#2421) (#2422) Fix output settings to determine-docker-image-tag action and release branch build tag name (#2423) (#2425) Add `index-operator` template implementation (#2375) (#2424) fix: typo of execution rule (#2426) (#2427) Backport Flush API (#2434) update deps & add validation for Flush API when agent is Read Only (#2433) (#2436) docs: add hrichiksite as a contributor for doc (#2441) (#2442) fix: bugfix version update for docker build (#2445) (#2446) Fix index job logic to pass DNS A record (#2438) (#2448) Added snapshot timestamp annotations to read replica agent (#2428) (#2443) Fix operator-sdk version (#2447) (#2449) add file name lint (#2417) (#2450) fix: add extra option for ci-container build (#2451) (#2452) Add base of benchmark operator dashboard (#2430) (#2453) Implement index operator logic for read replica rotation (#2444) (#2456) add inner product distance type for ngt (#2454) (#2458) Fix e2e for read replica and add e2e for index operator (#2455) (#2459) Add unit tests for index operator (#2460) (#2461) Bugfix recreate benchmark job when operator reboot (#2463) (#2464) Refactor k8s types (#2462) (#2465) :robot: Automatically update PULL_REQUEST_TEMPLATE and ISSUE_TEMPLATE (#2457) (#2469) Fix workflow trigger for backport pr creation (#2471) (#2472) Automatically add backport main label for release-pr (#2473) (#2475) update deps (#2468) (#2476) Implement client metrics interceptor for continuous benchmark job (#2477) (#2480) :chart_with_upwards_trend: Add client metrics panels for continuous benchmark job (#2481) (#2483) Update continuous benchmark docs (#2485) (#2486) Sync release/v1.7 to main (#2495) add read replica and rotator docs (#2497) (#2499) add reviewer guideline (#2507) (#2508) update large top-K ratio handling logic (#2509) (#2511) Change default image tag from latest to nightly (#2516) (#2518) Bugfix that caused an error when argument has 3 or more nil arguments (#2517) (#2520) add faiss in values.yaml & valdrelease.yaml (#2514) (#2519) capitalize faq (#2512) (#2522) Backport docs updates to release/v1.7 (#2521) [CI] Add workflow to synchronize ubuntu base image (#2526) (#2527) fix: update schedule (#2528) (#2530) refactor index manager service add index service API to expose index informations (#2525) (#2532) fix conflict bug (#2537) fix: make format (#2534) (#2540) Backport PR #2542, #2538 to release/v1.7 (#2543) fix: add checkout option (#2545) (#2546) Implement ngt Statistics API (#2539) (#2547) Add workflow to check git conflict for backport PR (#2548) (#2550) [create-pull-request] automated change (#2552) (#2556) Update dependencies, C++ standard, and improve Dockerfiles for better build systems and localization (#2549) (#2557) Backport #2559 (#2560) [BUGFIX] index correction process (#2565) (#2566) change external docker image reference to ghcr.io registry (#2567) (#2568) [patch] Release v1.7.13 (#2569) :bookmark: :robot: Release v1.7.13 (#2570) add HTTP2 support for http.Client and Vald HTTP Server (#2572) (#2575) Signed-off-by: kpango --- .gitfiles | 188 +++++++++++++++++ Makefile | 10 + Makefile.d/docker.mk | 7 + dockers/agent/core/agent/Dockerfile | 35 +++- dockers/agent/core/faiss/Dockerfile | 33 ++- dockers/agent/core/ngt/Dockerfile | 33 ++- dockers/agent/sidecar/Dockerfile | 32 ++- dockers/binfmt/Dockerfile | 6 +- dockers/buildbase/Dockerfile | 6 +- dockers/buildkit/Dockerfile | 6 +- dockers/buildkit/syft/scanner/Dockerfile | 3 + dockers/ci/base/Dockerfile | 24 ++- dockers/dev/Dockerfile | 27 ++- dockers/discoverer/k8s/Dockerfile | 33 ++- dockers/gateway/filter/Dockerfile | 33 ++- dockers/gateway/lb/Dockerfile | 33 ++- dockers/gateway/mirror/Dockerfile | 34 +++- dockers/index/job/correction/Dockerfile | 33 ++- dockers/index/job/creation/Dockerfile | 33 ++- .../index/job/readreplica/rotate/Dockerfile | 33 ++- dockers/index/job/save/Dockerfile | 33 ++- dockers/index/operator/Dockerfile | 33 ++- dockers/manager/index/Dockerfile | 33 ++- dockers/operator/helm/Dockerfile | 33 ++- dockers/tools/benchmark/job/Dockerfile | 33 ++- dockers/tools/benchmark/operator/Dockerfile | 33 ++- dockers/tools/cli/loadtest/Dockerfile | 33 ++- github_info.json | 192 ++++++++++++++++++ go.mod | 20 ++ go.sum | 10 + hack/docker/gen/main.go | 63 ++++++ k8s/discoverer/deployment.yaml | 4 + k8s/gateway/gateway/lb/deployment.yaml | 4 + k8s/index/operator/configmap.yaml | 4 + k8s/index/operator/deployment.yaml | 4 + k8s/manager/index/deployment.yaml | 4 + rust/Cargo.lock | 12 ++ versions/JAEGER_OPERATOR_VERSION | 4 + 38 files changed, 1171 insertions(+), 23 deletions(-) create mode 100644 github_info.json diff --git a/.gitfiles b/.gitfiles index 64f792a39cd..6f563790f45 100644 --- a/.gitfiles +++ b/.gitfiles @@ -77,15 +77,27 @@ .github/workflows/coverage.yml .github/workflows/detect-internal-config-changes.yml .github/workflows/dockers-agent-faiss-image.yml +<<<<<<< HEAD +.github/workflows/dockers-agent-image.yml +======= +.github/workflows/dockers-agent-faiss-image.yml +.github/workflows/dockers-agent-faiss-image.yml +.github/workflows/dockers-agent-image.yml .github/workflows/dockers-agent-image.yml .github/workflows/dockers-agent-ngt-image.yml +.github/workflows/dockers-agent-ngt-image.yml +>>>>>>> backport/main/release/v1.7 +.github/workflows/dockers-agent-ngt-image.yml .github/workflows/dockers-agent-sidecar-image.yml .github/workflows/dockers-benchmark-job-image.yml .github/workflows/dockers-benchmark-operator-image.yaml .github/workflows/dockers-binfmt-image.yaml .github/workflows/dockers-buildbase-image.yml .github/workflows/dockers-buildkit-image.yaml +<<<<<<< HEAD .github/workflows/dockers-buildkit-syft-scanner-image.yaml +======= +>>>>>>> backport/main/release/v1.7 .github/workflows/dockers-ci-container-image.yml .github/workflows/dockers-dev-container-image.yml .github/workflows/dockers-discoverer-k8s-image.yml @@ -137,6 +149,11 @@ CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE Makefile +<<<<<<< HEAD +======= +Makefile +Makefile +>>>>>>> backport/main/release/v1.7 Makefile.d/actions.mk Makefile.d/bench.mk Makefile.d/build.mk @@ -293,11 +310,23 @@ assets/test/templates/common/call.tmpl assets/test/templates/common/fill.tmpl assets/test/templates/common/function.tmpl assets/test/templates/common/header.tmpl +<<<<<<< HEAD +======= +assets/test/templates/common/inline.tmpl +assets/test/templates/common/inputs.tmpl +assets/test/templates/common/message.tmpl +>>>>>>> backport/main/release/v1.7 assets/test/templates/common/results.tmpl assets/test/templates/option/call.tmpl assets/test/templates/option/fill.tmpl assets/test/templates/option/function.tmpl assets/test/templates/option/header.tmpl +<<<<<<< HEAD +======= +assets/test/templates/option/inline.tmpl +assets/test/templates/option/inputs.tmpl +assets/test/templates/option/message.tmpl +>>>>>>> backport/main/release/v1.7 assets/test/templates/option/results.tmpl buf.gen.yaml buf.work.yaml @@ -511,13 +540,25 @@ cmd/tools/cli/loadtest/main_test.go cmd/tools/cli/loadtest/sample.yaml cmd/tools/cli/vdctl/main.go cmd/tools/cli/vdctl/main_test.go +<<<<<<< HEAD +======= +design/.gitkeep +>>>>>>> backport/main/release/v1.7 design/Vald Architecture Assets.drawio design/Vald Architecture Dataflow.drawio design/Vald Architecture Overview.drawio design/vald_architecture_overview.png dockers/agent/core/agent/Dockerfile +<<<<<<< HEAD dockers/agent/core/agent/README.md dockers/agent/core/faiss/Dockerfile +======= +dockers/agent/core/agent/Dockerfile +dockers/agent/core/agent/README.md +dockers/agent/core/faiss/Dockerfile +dockers/agent/core/faiss/Dockerfile +dockers/agent/core/faiss/Dockerfile +>>>>>>> backport/main/release/v1.7 dockers/agent/core/ngt/Dockerfile dockers/agent/core/ngt/README.md dockers/agent/sidecar/Dockerfile @@ -525,10 +566,20 @@ dockers/agent/sidecar/README.md dockers/binfmt/Dockerfile dockers/buildbase/Dockerfile dockers/buildkit/Dockerfile +<<<<<<< HEAD dockers/buildkit/syft/scanner/Dockerfile dockers/ci/base/Dockerfile dockers/ci/base/README.md dockers/dev/Dockerfile +======= +dockers/ci/base/Dockerfile +dockers/ci/base/Dockerfile +dockers/ci/base/Dockerfile +dockers/ci/base/README.md +dockers/dev/Dockerfile +dockers/dev/Dockerfile +dockers/dev/Dockerfile +>>>>>>> backport/main/release/v1.7 dockers/dev/README.md dockers/discoverer/k8s/Dockerfile dockers/discoverer/k8s/README.md @@ -555,6 +606,10 @@ docs/api/README.md docs/api/build_proto.md docs/api/filter-gateway.md docs/api/flush.md +<<<<<<< HEAD +======= +docs/api/flush.md +>>>>>>> backport/main/release/v1.7 docs/api/insert.md docs/api/mirror-gateway.md docs/api/object.md @@ -622,8 +677,17 @@ example/helm/values-with-pyroscope.yaml example/helm/values.yaml example/manifest/scylla/configmap.yaml example/manifest/scylla/job.yaml +<<<<<<< HEAD +go.mod +======= +github_info.json +go.mod +go.mod go.mod go.sum +go.sum +>>>>>>> backport/main/release/v1.7 +go.sum hack/CHANGELOG.template.md hack/benchmark/assets/checksum/fashion-mnist-784-euclidean.md5 hack/benchmark/assets/checksum/gist-960-euclidean.md5 @@ -699,6 +763,10 @@ hack/benchmark/internal/starter/starter.go hack/benchmark/metrics/metrics.go hack/benchmark/src/singleflight/singleflight_bench_test.go hack/docker/gen/main.go +<<<<<<< HEAD +======= +hack/docker/gen/main.go +>>>>>>> backport/main/release/v1.7 hack/git/hooks/pre-commit hack/go.mod.default hack/gorules/rules.go @@ -1398,16 +1466,39 @@ internal/worker/worker.go internal/worker/worker_option.go internal/worker/worker_option_test.go internal/worker/worker_test.go +<<<<<<< HEAD k8s/agent/ngt/configmap.yaml k8s/agent/pdb.yaml k8s/agent/priorityclass.yaml +======= +k8s/agent/clusterrole.yaml +k8s/agent/clusterrolebinding.yaml +k8s/agent/daemonset.yaml +k8s/agent/deployment.yaml +k8s/agent/faiss/configmap.yaml +k8s/agent/hpa.yaml +k8s/agent/networkpolicy.yaml +k8s/agent/ngt/configmap.yaml +k8s/agent/pdb.yaml +k8s/agent/priorityclass.yaml +k8s/agent/serviceaccount.yaml +k8s/agent/sidecar/configmap.yaml +k8s/agent/sidecar/svc.yaml +>>>>>>> backport/main/release/v1.7 k8s/agent/statefulset.yaml k8s/agent/svc.yaml k8s/debug/kind/config.yaml k8s/discoverer/clusterrole.yaml k8s/discoverer/clusterrolebinding.yaml k8s/discoverer/configmap.yaml +<<<<<<< HEAD +k8s/discoverer/deployment.yaml +======= +k8s/discoverer/daemonset.yaml k8s/discoverer/deployment.yaml +k8s/discoverer/hpa.yaml +k8s/discoverer/networkpolicy.yaml +>>>>>>> backport/main/release/v1.7 k8s/discoverer/pdb.yaml k8s/discoverer/priorityclass.yaml k8s/discoverer/serviceaccount.yaml @@ -1415,6 +1506,7 @@ k8s/discoverer/svc.yaml k8s/external/minio/deployment.yaml k8s/external/minio/mb-job.yaml k8s/external/minio/svc.yaml +<<<<<<< HEAD k8s/gateway/gateway/ing.yaml k8s/gateway/gateway/lb/configmap.yaml k8s/gateway/gateway/lb/deployment.yaml @@ -1428,11 +1520,61 @@ k8s/index/job/creation/configmap.yaml k8s/index/job/creation/cronjob.yaml k8s/index/job/save/configmap.yaml k8s/index/job/save/cronjob.yaml +======= +k8s/gateway/gateway/filter/configmap.yaml +k8s/gateway/gateway/filter/daemonset.yaml +k8s/gateway/gateway/filter/deployment.yaml +k8s/gateway/gateway/filter/hpa.yaml +k8s/gateway/gateway/filter/networkpolicy.yaml +k8s/gateway/gateway/filter/pdb.yaml +k8s/gateway/gateway/filter/priorityclass.yaml +k8s/gateway/gateway/filter/svc.yaml +k8s/gateway/gateway/ing.yaml +k8s/gateway/gateway/lb/configmap.yaml +k8s/gateway/gateway/lb/daemonset.yaml +k8s/gateway/gateway/lb/deployment.yaml +k8s/gateway/gateway/lb/hpa.yaml +k8s/gateway/gateway/lb/networkpolicy.yaml +k8s/gateway/gateway/lb/pdb.yaml +k8s/gateway/gateway/lb/priorityclass.yaml +k8s/gateway/gateway/lb/svc.yaml +k8s/gateway/gateway/mirror/clusterrole.yaml +k8s/gateway/gateway/mirror/clusterrolebinding.yaml +k8s/gateway/gateway/mirror/configmap.yaml +k8s/gateway/gateway/mirror/daemonset.yaml +k8s/gateway/gateway/mirror/deployment.yaml +k8s/gateway/gateway/mirror/hpa.yaml +k8s/gateway/gateway/mirror/networkpolicy.yaml +k8s/gateway/gateway/mirror/pdb.yaml +k8s/gateway/gateway/mirror/priorityclass.yaml +k8s/gateway/gateway/mirror/serviceaccount.yaml +k8s/gateway/gateway/mirror/svc.yaml +k8s/index/job/correction/configmap.yaml +k8s/index/job/correction/cronjob.yaml +k8s/index/job/correction/networkpolicy.yaml +k8s/index/job/creation/configmap.yaml +k8s/index/job/creation/cronjob.yaml +k8s/index/job/creation/networkpolicy.yaml +k8s/index/job/readreplica/rotate/clusterrole.yaml +k8s/index/job/readreplica/rotate/clusterrolebinding.yaml +k8s/index/job/readreplica/rotate/configmap.yaml +k8s/index/job/readreplica/rotate/networkpolicy.yaml +k8s/index/job/readreplica/rotate/serviceaccount.yaml +k8s/index/job/save/configmap.yaml +k8s/index/job/save/cronjob.yaml +k8s/index/job/save/networkpolicy.yaml +>>>>>>> backport/main/release/v1.7 k8s/index/operator/configmap.yaml k8s/index/operator/deployment.yaml k8s/index/operator/priorityclass.yaml k8s/manager/index/configmap.yaml +<<<<<<< HEAD +k8s/manager/index/deployment.yaml +======= +k8s/manager/index/daemonset.yaml k8s/manager/index/deployment.yaml +k8s/manager/index/networkpolicy.yaml +>>>>>>> backport/main/release/v1.7 k8s/manager/index/pdb.yaml k8s/manager/index/priorityclass.yaml k8s/manager/index/svc.yaml @@ -1491,6 +1633,15 @@ k8s/operator/helm/operator.yaml k8s/operator/helm/serviceaccount.yaml k8s/operator/helm/svc.yaml k8s/readreplica/configmap.yaml +<<<<<<< HEAD +======= +k8s/readreplica/deployment.yaml +k8s/readreplica/hpa.yaml +k8s/readreplica/networkpolicy.yaml +k8s/readreplica/pvc.yaml +k8s/readreplica/snapshot.yaml +k8s/readreplica/svc.yaml +>>>>>>> backport/main/release/v1.7 k8s/tools/benchmark/job/clusterrole.yaml k8s/tools/benchmark/job/clusterrolebinding.yaml k8s/tools/benchmark/job/serviceaccount.yaml @@ -1886,8 +2037,17 @@ pkg/tools/cli/loadtest/usecase/load.go pkg/tools/cli/loadtest/usecase/load_test.go renovate.json rust/Cargo.lock +<<<<<<< HEAD rust/Cargo.toml rust/bin/agent/Cargo.toml +======= +rust/Cargo.lock +rust/Cargo.lock +rust/Cargo.toml +rust/bin/agent/Cargo.toml +rust/bin/agent/Cargo.toml +rust/bin/agent/Cargo.toml +>>>>>>> backport/main/release/v1.7 rust/bin/agent/src/handler.rs rust/bin/agent/src/handler/common.rs rust/bin/agent/src/handler/index.rs @@ -1905,6 +2065,7 @@ rust/libs/ngt-rs/src/lib.rs rust/libs/ngt/Cargo.toml rust/libs/ngt/src/lib.rs rust/libs/proto/Cargo.toml +<<<<<<< HEAD rust/libs/proto/src/core.v1.tonic.rs rust/libs/proto/src/discoverer.v1.tonic.rs rust/libs/proto/src/filter.egress.v1.tonic.rs @@ -1914,12 +2075,34 @@ rust/libs/proto/src/mirror.v1.tonic.rs rust/libs/proto/src/payload.v1.rs rust/libs/proto/src/rpc.v1.rs rust/libs/proto/src/sidecar.v1.tonic.rs +======= +rust/libs/proto/src/core.v1.rs +rust/libs/proto/src/core.v1.tonic.rs +rust/libs/proto/src/discoverer.v1.rs +rust/libs/proto/src/discoverer.v1.tonic.rs +rust/libs/proto/src/filter.egress.v1.rs +rust/libs/proto/src/filter.egress.v1.tonic.rs +rust/libs/proto/src/filter.ingress.v1.rs +rust/libs/proto/src/filter.ingress.v1.tonic.rs +rust/libs/proto/src/lib.rs +rust/libs/proto/src/mirror.v1.rs +rust/libs/proto/src/mirror.v1.tonic.rs +rust/libs/proto/src/payload.v1.rs +rust/libs/proto/src/rpc.v1.rs +rust/libs/proto/src/sidecar.v1.rs +rust/libs/proto/src/sidecar.v1.tonic.rs +rust/libs/proto/src/vald.v1.rs +>>>>>>> backport/main/release/v1.7 rust/libs/proto/src/vald.v1.tonic.rs rust/rust-toolchain rust/rust-toolchain.toml tests/chaos/chart/.helmignore tests/chaos/chart/Chart.yaml tests/chaos/chart/README.md +<<<<<<< HEAD +======= +tests/chaos/chart/templates/NOTES.txt +>>>>>>> backport/main/release/v1.7 tests/chaos/chart/templates/_helpers.tpl tests/chaos/chart/templates/network/bandwidth.yaml tests/chaos/chart/templates/network/partition.yaml @@ -1961,6 +2144,11 @@ versions/NGT_VERSION versions/OPERATOR_SDK_VERSION versions/OTEL_OPERATOR_VERSION versions/PROMETHEUS_STACK_VERSION +<<<<<<< HEAD +======= +versions/PROMETHEUS_STACK_VERSION +versions/PROMETHEUS_STACK_VERSION +>>>>>>> backport/main/release/v1.7 versions/PROTOBUF_VERSION versions/REVIEWDOG_VERSION versions/RUST_VERSION diff --git a/Makefile b/Makefile index 4a5e001f710..9c96158af22 100644 --- a/Makefile +++ b/Makefile @@ -24,15 +24,25 @@ TAG ?= latest CRORG ?= $(ORG) GHCRORG = ghcr.io/$(REPO) AGENT_IMAGE = $(NAME)-agent +<<<<<<< HEAD AGENT_NGT_IMAGE = $(AGENT_IMAGE)-ngt AGENT_FAISS_IMAGE = $(AGENT_IMAGE)-faiss AGENT_SIDECAR_IMAGE = $(AGENT_IMAGE)-sidecar +======= +AGENT_NGT_IMAGE = $(NAME)-agent-ngt +AGENT_FAISS_IMAGE = $(NAME)-agent-faiss +AGENT_SIDECAR_IMAGE = $(NAME)-agent-sidecar +>>>>>>> backport/main/release/v1.7 BENCHMARK_JOB_IMAGE = $(NAME)-benchmark-job BENCHMARK_OPERATOR_IMAGE = $(NAME)-benchmark-operator BINFMT_IMAGE = $(NAME)-binfmt BUILDBASE_IMAGE = $(NAME)-buildbase BUILDKIT_IMAGE = $(NAME)-buildkit +<<<<<<< HEAD BUILDKIT_SYFT_SCANNER_IMAGE = $(BUILDKIT_IMAGE)-syft-scanner +======= +BUILDKIT_SYFT_SCANNER_IMAGE = $(NAME)-buildkit-syft-scanner +>>>>>>> backport/main/release/v1.7 CI_CONTAINER_IMAGE = $(NAME)-ci-container DEV_CONTAINER_IMAGE = $(NAME)-dev-container DISCOVERER_IMAGE = $(NAME)-discoverer-k8s diff --git a/Makefile.d/docker.mk b/Makefile.d/docker.mk index 858bd69e728..83ea7a9a212 100644 --- a/Makefile.d/docker.mk +++ b/Makefile.d/docker.mk @@ -68,7 +68,11 @@ ifeq ($(REMOTE),true) --build-arg GO_VERSION=$(GO_VERSION) \ --build-arg RUST_VERSION=$(RUST_VERSION) \ --build-arg MAINTAINER=$(MAINTAINER) \ +<<<<<<< HEAD --attest type=sbom,generator=$(DEFAULT_BUILDKIT_SYFT_SCANNER_IMAGE) \ +======= + --attest type=sbom,generator=docker/buildkit-syft-scanner:edge \ +>>>>>>> backport/main/release/v1.7 --provenance=mode=max \ -t $(CRORG)/$(IMAGE):$(TAG) \ -t $(GHCRORG)/$(IMAGE):$(TAG) \ @@ -229,7 +233,10 @@ docker/name/buildkit-syft-scanner: docker/build/buildkit-syft-scanner: @make DOCKERFILE="$(ROOTDIR)/dockers/buildkit/syft/scanner/Dockerfile" \ IMAGE=$(BUILDKIT_SYFT_SCANNER_IMAGE) \ +<<<<<<< HEAD DEFAULT_BUILDKIT_SYFT_SCANNER_IMAGE="docker/buildkit-syft-scanner:edge" \ +======= +>>>>>>> backport/main/release/v1.7 docker/build/image .PHONY: docker/name/ci-container diff --git a/dockers/agent/core/agent/Dockerfile b/dockers/agent/core/agent/Dockerfile index f3195dde427..d1c75b1c25d 100644 --- a/dockers/agent/core/agent/Dockerfile +++ b/dockers/agent/core/agent/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -39,9 +53,16 @@ ENV REPO=vald ENV RUST_HOME=/usr/loacl/lib/rust ENV TZ=Etc/UTC ENV USER=root +<<<<<<< HEAD ENV CARGO_HOME=${RUST_HOME}/cargo ENV RUSTUP_HOME=${RUST_HOME}/rustup ENV PATH=${CARGO_HOME}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} +======= +ENV RUSTUP_HOME=${RUST_HOME}/rustup +ENV CARGO_HOME=${RUST_HOME}/cargo +ENV PATH=${CARGO_HOME}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} + +>>>>>>> backport/main/release/v1.7 WORKDIR ${HOME}/rust/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -87,8 +108,20 @@ RUN --mount=type=bind,target=.,rw \ && rm -rf rust/target # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/cc-debian12:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/agent /usr/bin/agent # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/agent"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/agent"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=agent + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/agent"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/agent/core/faiss/Dockerfile b/dockers/agent/core/faiss/Dockerfile index 463e13494bd..f9ff95318c3 100644 --- a/dockers/agent/core/faiss/Dockerfile +++ b/dockers/agent/core/faiss/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -88,9 +106,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/faiss /usr/bin/faiss COPY cmd/agent/core/faiss/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/faiss"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/faiss"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=faiss + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/agent/core/faiss/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/faiss"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/agent/core/ngt/Dockerfile b/dockers/agent/core/ngt/Dockerfile index cf0bbcdce2d..fc9c58001c3 100644 --- a/dockers/agent/core/ngt/Dockerfile +++ b/dockers/agent/core/ngt/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -87,9 +105,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/ngt /usr/bin/ngt COPY cmd/agent/core/ngt/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/ngt"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/ngt"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=ngt + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/agent/core/ngt/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/ngt"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/agent/sidecar/Dockerfile b/dockers/agent/sidecar/Dockerfile index 2b06e565fd9..aa7e77848f3 100644 --- a/dockers/agent/sidecar/Dockerfile +++ b/dockers/agent/sidecar/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,8 +96,20 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/sidecar /usr/bin/sidecar # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/sidecar"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/sidecar"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=sidecar + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/sidecar"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/binfmt/Dockerfile b/dockers/binfmt/Dockerfile index 47284d17e2c..8c26f374174 100644 --- a/dockers/binfmt/Dockerfile +++ b/dockers/binfmt/Dockerfile @@ -15,5 +15,9 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go -FROM tonistiigi/binfmt:master AS builder \ No newline at end of file +FROM tonistiigi/binfmt:master AS builder +======= +FROM tonistiigi/binfmt:master AS builder +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/buildbase/Dockerfile b/dockers/buildbase/Dockerfile index 6457b014578..4979e489a77 100644 --- a/dockers/buildbase/Dockerfile +++ b/dockers/buildbase/Dockerfile @@ -15,5 +15,9 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go -FROM ubuntu:devel AS builder \ No newline at end of file +FROM ubuntu:devel AS builder +======= +FROM ubuntu:devel AS builder +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/buildkit/Dockerfile b/dockers/buildkit/Dockerfile index 9dd722ea255..907ac92207d 100644 --- a/dockers/buildkit/Dockerfile +++ b/dockers/buildkit/Dockerfile @@ -15,5 +15,9 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go -FROM moby/buildkit:master AS builder \ No newline at end of file +FROM moby/buildkit:master AS builder +======= +FROM moby/buildkit:master AS builder +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/buildkit/syft/scanner/Dockerfile b/dockers/buildkit/syft/scanner/Dockerfile index 4a23207c47f..3dd6754436e 100644 --- a/dockers/buildkit/syft/scanner/Dockerfile +++ b/dockers/buildkit/syft/scanner/Dockerfile @@ -15,5 +15,8 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go +======= +>>>>>>> backport/main/release/v1.7 FROM docker/buildkit-syft-scanner:edge AS scanner diff --git a/dockers/ci/base/Dockerfile b/dockers/ci/base/Dockerfile index 09fccb1e35e..b3864adb30a 100644 --- a/dockers/ci/base/Dockerfile +++ b/dockers/ci/base/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -47,6 +61,10 @@ ENV USER=root ENV RUSTUP_HOME=${RUST_HOME}/rustup ENV CARGO_HOME=${RUST_HOME}/cargo ENV PATH=${CARGO_HOME}/bin:${GOPATH}/bin:${GOROOT}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -123,4 +141,8 @@ RUN --mount=type=bind,target=.,rw \ && rm -rf ${GOPATH}/src/github.com/${ORG}/${REPO}/* # skipcq: DOK-DL3002 USER root:root -ENTRYPOINT ["/bin/bash"] \ No newline at end of file +<<<<<<< HEAD +ENTRYPOINT ["/bin/bash"] +======= +ENTRYPOINT ["/bin/bash"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/dev/Dockerfile b/dockers/dev/Dockerfile index 502f386e973..e158c0f71cd 100644 --- a/dockers/dev/Dockerfile +++ b/dockers/dev/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM mcr.microsoft.com/devcontainers/base:ubuntu22.04 LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM mcr.microsoft.com/devcontainers/base:ubuntu22.04 +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -44,9 +58,16 @@ ENV REPO=vald ENV RUST_HOME=/usr/loacl/lib/rust ENV TZ=Etc/UTC ENV USER=root +<<<<<<< HEAD ENV CARGO_HOME=${RUST_HOME}/cargo ENV RUSTUP_HOME=${RUST_HOME}/rustup ENV PATH=${CARGO_HOME}/bin:${GOPATH}/bin:${GOROOT}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} +======= +ENV RUSTUP_HOME=${RUST_HOME}/rustup +ENV CARGO_HOME=${RUST_HOME}/cargo +ENV PATH=${CARGO_HOME}/bin:${GOPATH}/bin:${GOROOT}/bin:${RUSTUP_HOME}/bin:/usr/local/bin:${PATH} + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -142,4 +163,8 @@ RUN --mount=type=bind,target=.,rw \ && make faiss/install \ && rm -rf ${GOPATH}/src/github.com/${ORG}/${REPO}/* # skipcq: DOK-DL3002 -USER root:root \ No newline at end of file +<<<<<<< HEAD +USER root:root +======= +USER root:root +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/discoverer/k8s/Dockerfile b/dockers/discoverer/k8s/Dockerfile index 19e5953ee21..a5cfd74c63b 100644 --- a/dockers/discoverer/k8s/Dockerfile +++ b/dockers/discoverer/k8s/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/discoverer /usr/bin/discoverer COPY cmd/discoverer/k8s/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/discoverer"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/discoverer"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=discoverer + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/discoverer/k8s/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/discoverer"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/gateway/filter/Dockerfile b/dockers/gateway/filter/Dockerfile index b523b5e5b87..2459d7fd7af 100644 --- a/dockers/gateway/filter/Dockerfile +++ b/dockers/gateway/filter/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/filter /usr/bin/filter COPY cmd/gateway/filter/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/filter"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/filter"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=filter + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/gateway/filter/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/filter"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/gateway/lb/Dockerfile b/dockers/gateway/lb/Dockerfile index 2f8c91768b0..701bbb36ab6 100644 --- a/dockers/gateway/lb/Dockerfile +++ b/dockers/gateway/lb/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/lb /usr/bin/lb COPY cmd/gateway/lb/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/lb"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/lb"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=lb + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/gateway/lb/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/lb"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/gateway/mirror/Dockerfile b/dockers/gateway/mirror/Dockerfile index 9b97231c740..c998389c74c 100644 --- a/dockers/gateway/mirror/Dockerfile +++ b/dockers/gateway/mirror/Dockerfile @@ -14,6 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 @@ -22,6 +23,20 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= + +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +57,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +97,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/mirror /usr/bin/mirror COPY cmd/gateway/mirror/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/mirror"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/mirror"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=mirror + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/gateway/mirror/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/mirror"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/index/job/correction/Dockerfile b/dockers/index/job/correction/Dockerfile index 01e3818c56b..5de93a9e72c 100644 --- a/dockers/index/job/correction/Dockerfile +++ b/dockers/index/job/correction/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/index-correction /usr/bin/index-correction COPY cmd/index/job/correction/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/index-correction"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/index-correction"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=index-correction + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/index/job/correction/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/index-correction"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/index/job/creation/Dockerfile b/dockers/index/job/creation/Dockerfile index d656b3ad222..a58dcec9dd3 100644 --- a/dockers/index/job/creation/Dockerfile +++ b/dockers/index/job/creation/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/index-creation /usr/bin/index-creation COPY cmd/index/job/creation/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/index-creation"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/index-creation"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=index-creation + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/index/job/creation/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/index-creation"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/index/job/readreplica/rotate/Dockerfile b/dockers/index/job/readreplica/rotate/Dockerfile index bdb0ec76646..f63f847896f 100644 --- a/dockers/index/job/readreplica/rotate/Dockerfile +++ b/dockers/index/job/readreplica/rotate/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/readreplica-rotate /usr/bin/readreplica-rotate COPY cmd/index/job/readreplica/rotate/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/readreplica-rotate"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/readreplica-rotate"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=readreplica-rotate + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/index/job/readreplica/rotate/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/readreplica-rotate"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/index/job/save/Dockerfile b/dockers/index/job/save/Dockerfile index fdd674abd49..98618f9ca4a 100644 --- a/dockers/index/job/save/Dockerfile +++ b/dockers/index/job/save/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/index-save /usr/bin/index-save COPY cmd/index/job/save/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/index-save"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/index-save"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=index-save + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/index/job/save/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/index-save"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/index/operator/Dockerfile b/dockers/index/operator/Dockerfile index 23e9aae5140..a38d5b43364 100644 --- a/dockers/index/operator/Dockerfile +++ b/dockers/index/operator/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/index-operator /usr/bin/index-operator COPY cmd/index/operator/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/index-operator"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/index-operator"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=index-operator + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/index/operator/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/index-operator"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/manager/index/Dockerfile b/dockers/manager/index/Dockerfile index edecb98a6c7..bc3ffe83fa1 100644 --- a/dockers/manager/index/Dockerfile +++ b/dockers/manager/index/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/index /usr/bin/index COPY cmd/manager/index/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/index"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/index"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=index + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/manager/index/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/index"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/operator/helm/Dockerfile b/dockers/operator/helm/Dockerfile index db240947906..04c3bca8590 100644 --- a/dockers/operator/helm/Dockerfile +++ b/dockers/operator/helm/Dockerfile @@ -15,16 +15,30 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +>>>>>>> backport/main/release/v1.7 ARG UPX_OPTIONS=-9 ARG OPERATOR_SDK_VERSION=latest # skipcq: DOK-DL3026,DOK-DL3007 FROM quay.io/operator-framework/helm-operator:${OPERATOR_SDK_VERSION} AS operator # skipcq: DOK-DL3026,DOK-DL3007 FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -45,6 +59,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} COPY --from=operator /usr/local/bin/${APP_NAME} /usr/bin/${APP_NAME} SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -97,11 +115,24 @@ RUN --mount=type=bind,target=.,rw \ && upx "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/helm-operator /usr/bin/helm-operator +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=helm-operator + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +>>>>>>> backport/main/release/v1.7 COPY --from=builder /opt/helm/watches.yaml /opt/helm/watches.yaml COPY --from=builder /opt/helm/charts/vald /opt/helm/charts/vald COPY --from=builder /opt/helm/charts/vald-helm-operator /opt/helm/charts/vald-helm-operator # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/helm-operator", "run", "--watches-file=/opt/helm/watches.yaml"] \ No newline at end of file +<<<<<<< HEAD +ENTRYPOINT ["/usr/bin/helm-operator", "run", "--watches-file=/opt/helm/watches.yaml"] +======= +ENTRYPOINT ["/usr/bin/helm-operator", "run", "--watches-file=/opt/helm/watches.yaml"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/tools/benchmark/job/Dockerfile b/dockers/tools/benchmark/job/Dockerfile index 65da31d4680..a3cd59f5dc4 100644 --- a/dockers/tools/benchmark/job/Dockerfile +++ b/dockers/tools/benchmark/job/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -86,9 +104,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/job /usr/bin/job COPY cmd/tools/benchmark/job/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/job"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/job"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=job + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/tools/benchmark/job/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/job"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/tools/benchmark/operator/Dockerfile b/dockers/tools/benchmark/operator/Dockerfile index 283773b11ef..c95e55aa090 100644 --- a/dockers/tools/benchmark/operator/Dockerfile +++ b/dockers/tools/benchmark/operator/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -78,9 +96,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/operator /usr/bin/operator COPY cmd/tools/benchmark/operator/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/operator"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/operator"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=operator + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/tools/benchmark/operator/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/operator"] +>>>>>>> backport/main/release/v1.7 diff --git a/dockers/tools/cli/loadtest/Dockerfile b/dockers/tools/cli/loadtest/Dockerfile index ffbea81b056..2fad4340de8 100644 --- a/dockers/tools/cli/loadtest/Dockerfile +++ b/dockers/tools/cli/loadtest/Dockerfile @@ -15,6 +15,7 @@ # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go ARG UPX_OPTIONS=-9 # skipcq: DOK-DL3026,DOK-DL3007 @@ -22,6 +23,19 @@ FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder LABEL maintainer="vdaas.org vald team " # skipcq: DOK-DL3002 USER root:root +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +ARG UPX_OPTIONS=-9 +# skipcq: DOK-DL3026,DOK-DL3007 +FROM ghcr.io/vdaas/vald/vald-buildbase:nightly AS builder +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER root:root + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION @@ -42,6 +56,10 @@ ENV REPO=vald ENV TZ=Etc/UTC ENV USER=root ENV PATH=${GOPATH}/bin:${GOROOT}/bin:/usr/local/bin:${PATH} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO} SHELL ["/bin/bash", "-o", "pipefail", "-c"] #skipcq: DOK-W1001, DOK-SC2046, DOK-SC2086, DOK-DL3008 @@ -86,9 +104,22 @@ RUN --mount=type=bind,target=.,rw \ && mv "cmd/${PKG}/${APP_NAME}" "/usr/bin/${APP_NAME}" # skipcq: DOK-DL3026,DOK-DL3007 FROM gcr.io/distroless/static:nonroot +<<<<<<< HEAD LABEL maintainer="vdaas.org vald team " COPY --from=builder /usr/bin/loadtest /usr/bin/loadtest COPY cmd/tools/cli/loadtest/sample.yaml /etc/server/config.yaml # skipcq: DOK-DL3002 USER nonroot:nonroot -ENTRYPOINT ["/usr/bin/loadtest"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/loadtest"] +======= +ARG MAINTAINER="vdaas.org vald team " +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME=loadtest + +COPY --from=builder /usr/bin/${APP_NAME} /usr/bin/${APP_NAME} +COPY cmd/tools/cli/loadtest/sample.yaml /etc/server/config.yaml +# skipcq: DOK-DL3002 +USER nonroot:nonroot +ENTRYPOINT ["/usr/bin/loadtest"] +>>>>>>> backport/main/release/v1.7 diff --git a/github_info.json b/github_info.json new file mode 100644 index 00000000000..dea04dd45d6 --- /dev/null +++ b/github_info.json @@ -0,0 +1,192 @@ +{ + "body": "\r\n\r\n### Description\r\nThe following modifications have been made to this PR.\r\n- Refactoring of IndexManager\r\n - Integration of Index proto into Vald proto\r\n - IndexInfo, IndexDetail, and GetTimestamp APIs are now available outside of Index manager\r\n- Automatic Dockerfile generation\r\n - https://github.com/vdaas/vald/blob/refactor/manager-index/small-refactor/hack/docker/gen/main.go\r\n- Fixes to Typo\r\n- Expose IndexDetail API\r\n- Ingress Route optimization\r\n - Added pass-through to LB when using MirrorGateway or FilterGateway as specific API processing is not needed\r\n- Add Formatter (crlfmt)\r\n - https://github.com/cockroachdb/crlfmt\r\n- Detailing of internal info API\r\n - Add GoMaxProcs, CGOCall, GoroutineCount, RuntimeCPUCores\r\n\r\nTranslated with DeepL.com (free version)\r\n\r\n### Related Issue\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Versions\r\n\r\n\r\n\r\n- Go Version: 1.22.5\r\n- Rust Version: 1.77.2\r\n- Docker Version: 20.10.8\r\n- Kubernetes Version: v1.30.2\r\n- NGT Version: 2.2.2\r\n\r\n### Checklist\r\n\r\n\r\n\r\n\r\n- [ ] I have read the [CONTRIBUTING](https://github.com/vdaas/vald/blob/main/CONTRIBUTING.md) document and completed [our CLA agreement](https://cla-assistant.io/vdaas/vald).\r\n- [ ] I have checked open [Pull Requests](https://github.com/vdaas/vald/pulls) for the similar feature or fixes?\r\n\r\n### Special notes for your reviewer\r\n\r\n\r\n", + "headRefName": "refactor/manager-index/small-refactor", + "headRefOid": "6ad94c0afcf9152801412ea22aef8bb6178ebb3d", + "labels": [ + { + "id": "MDU6TGFiZWwxNzI5NDQ2Mjg4", + "name": "team/core", + "description": "Core team", + "color": "fbca04" + }, + { + "id": "MDU6TGFiZWwxNzI5NDQ5MTc4", + "name": "type/feature", + "description": "New feature", + "color": "1fa874" + }, + { + "id": "MDU6TGFiZWwxNzI5NTgxMzcy", + "name": "priority/high", + "description": "", + "color": "5319e7" + }, + { + "id": "MDU6TGFiZWwxNzI5NTgyMjA2", + "name": "type/refactoring", + "description": "", + "color": "055e5e" + }, + { + "id": "MDU6TGFiZWwxNzI5NTgyODUz", + "name": "status/in-review", + "description": "", + "color": "defca6" + }, + { + "id": "MDU6TGFiZWwxNzI5NTg3Njk5", + "name": "area/agent", + "description": "", + "color": "5c099b" + }, + { + "id": "MDU6TGFiZWwxNzI5NTg3OTMy", + "name": "area/discoverer", + "description": "", + "color": "abc3fc" + }, + { + "id": "MDU6TGFiZWwxNzI5NTg5OTA5", + "name": "area/manager/index", + "description": "", + "color": "6d7dc6" + }, + { + "id": "MDU6TGFiZWwxNzI5NTkwMzYx", + "name": "area/filter/ingress", + "description": "", + "color": "dd6761" + }, + { + "id": "MDU6TGFiZWwxNzI5NTkwNTEz", + "name": "area/filter/egress", + "description": "", + "color": "e04c96" + }, + { + "id": "MDU6TGFiZWwxNzI5NTkwODA0", + "name": "area/internal", + "description": "", + "color": "d86586" + }, + { + "id": "MDU6TGFiZWwxNzI5NTkxODE3", + "name": "type/ci", + "description": "", + "color": "006b75" + }, + { + "id": "MDU6TGFiZWwxNzQ5MTMzNDMy", + "name": "size/XXXL", + "description": "", + "color": "d37054" + }, + { + "id": "MDU6TGFiZWwxODM3NjQ2MjQw", + "name": "area/helm", + "description": "", + "color": "bfd4f2" + }, + { + "id": "MDU6TGFiZWwxOTA2MDk1OTkz", + "name": "area/makefile", + "description": "", + "color": "c379e0" + }, + { + "id": "MDU6TGFiZWwyMDg2NDk2MDI3", + "name": "area/agent/core", + "description": "", + "color": "ba400d" + }, + { + "id": "MDU6TGFiZWwyMDg2NDk2MDI5", + "name": "area/agent/sidecar", + "description": "", + "color": "8befc0" + }, + { + "id": "MDU6TGFiZWwyMTIyNzQyODI5", + "name": "area/tools/cli/loadtest", + "description": "", + "color": "99b2f7" + }, + { + "id": "MDU6TGFiZWwyMjQ5MDg2Mjc2", + "name": "area/gateway/lb", + "description": "", + "color": "ededed" + }, + { + "id": "MDU6TGFiZWwyMjQ5MDg2Mjc5", + "name": "area/gateway/filter", + "description": "", + "color": "ededed" + }, + { + "id": "MDU6TGFiZWwyNDk0MTI0ODE5", + "name": "actions/e2e-deploy", + "description": "", + "color": "ededed" + }, + { + "id": "MDU6TGFiZWwyNTExODU3NzM3", + "name": "actions/fossa", + "description": "", + "color": "ededed" + }, + { + "id": "MDU6TGFiZWwyNjAxOTYyNTQ5", + "name": "actions/e2e-chaos", + "description": "", + "color": "ededed" + }, + { + "id": "MDU6TGFiZWwzMjAwNTA4ODg5", + "name": "actions/e2e-profiling", + "description": "", + "color": "ededed" + }, + { + "id": "LA_kwDOC6jpA872fNxB", + "name": "actions/e2e-max-dim", + "description": "", + "color": "ededed" + }, + { + "id": "LA_kwDOC6jpA88AAAABJP5xbA", + "name": "ci/approved", + "description": "", + "color": "0E8A16" + }, + { + "id": "LA_kwDOC6jpA88AAAABefFjpw", + "name": "actions/backport/release/v1.7", + "description": "", + "color": "fef2c0" + }, + { + "id": "LA_kwDOC6jpA88AAAABgwMFlA", + "name": "area/agent/core/faiss", + "description": "", + "color": "ededed" + }, + { + "id": "LA_kwDOC6jpA88AAAABgwMFlQ", + "name": "area/agent/core/ngt", + "description": "", + "color": "ededed" + }, + { + "id": "LA_kwDOC6jpA88AAAABgwMFlg", + "name": "area/gateway/mirror", + "description": "", + "color": "ededed" + } + ], + "mergeCommit": { + "oid": "76eb8d7b596e611078a6b53351daf444ee401756" + }, + "number": 2525, + "title": "refactor index manager service add index service API to expose index informations" +} diff --git a/go.mod b/go.mod index 333ed08f291..66349ac1938 100644 --- a/go.mod +++ b/go.mod @@ -22,7 +22,11 @@ replace ( git.sr.ht/~sbinet/gg => git.sr.ht/~sbinet/gg v0.5.0 github.com/Azure/azure-amqp-common-go/v3 => github.com/Azure/azure-amqp-common-go/v3 v3.2.3 github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v68.0.0+incompatible +<<<<<<< HEAD github.com/Azure/azure-sdk-for-go/sdk/azcore => github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 +======= + github.com/Azure/azure-sdk-for-go/sdk/azcore => github.com/Azure/azure-sdk-for-go/sdk/azcore v1.13.0 +>>>>>>> backport/main/release/v1.7 github.com/Azure/azure-sdk-for-go/sdk/azidentity => github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 github.com/Azure/azure-sdk-for-go/sdk/internal => github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 github.com/Azure/go-amqp => github.com/Azure/go-amqp v1.0.5 @@ -225,7 +229,11 @@ replace ( github.com/niemeyer/pretty => github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e github.com/nxadm/tail => github.com/nxadm/tail v1.4.11 github.com/onsi/ginkgo => github.com/onsi/ginkgo v1.16.5 +<<<<<<< HEAD github.com/onsi/ginkgo/v2 => github.com/onsi/ginkgo/v2 v2.20.0 +======= + github.com/onsi/ginkgo/v2 => github.com/onsi/ginkgo/v2 v2.19.1 +>>>>>>> backport/main/release/v1.7 github.com/onsi/gomega => github.com/onsi/gomega v1.34.1 github.com/peterbourgon/diskv => github.com/peterbourgon/diskv v2.0.1+incompatible github.com/phpdave11/gofpdf => github.com/phpdave11/gofpdf v1.4.2 @@ -314,7 +322,11 @@ replace ( gonum.org/v1/gonum => gonum.org/v1/gonum v0.15.0 gonum.org/v1/hdf5 => gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946 gonum.org/v1/plot => gonum.org/v1/plot v0.14.0 +<<<<<<< HEAD google.golang.org/api => google.golang.org/api v0.191.0 +======= + google.golang.org/api => google.golang.org/api v0.190.0 +>>>>>>> backport/main/release/v1.7 google.golang.org/appengine => google.golang.org/appengine v1.6.8 google.golang.org/genproto => google.golang.org/genproto v0.0.0-20240805194559-2c9e96a0b5d4 google.golang.org/genproto/googleapis/api => google.golang.org/genproto/googleapis/api v0.0.0-20240805194559-2c9e96a0b5d4 @@ -397,11 +409,19 @@ require ( go.uber.org/zap v1.27.0 gocloud.dev v0.0.0-00010101000000-000000000000 golang.org/x/net v0.28.0 +<<<<<<< HEAD golang.org/x/oauth2 v0.22.0 golang.org/x/sync v0.8.0 golang.org/x/sys v0.23.0 golang.org/x/text v0.17.0 golang.org/x/time v0.6.0 +======= + golang.org/x/oauth2 v0.21.0 + golang.org/x/sync v0.8.0 + golang.org/x/sys v0.23.0 + golang.org/x/text v0.17.0 + golang.org/x/time v0.5.0 +>>>>>>> backport/main/release/v1.7 golang.org/x/tools v0.24.0 gonum.org/v1/hdf5 v0.0.0-00010101000000-000000000000 gonum.org/v1/plot v0.14.0 diff --git a/go.sum b/go.sum index 106b02efec4..e6b38762c2c 100644 --- a/go.sum +++ b/go.sum @@ -551,8 +551,13 @@ github.com/nxadm/tail v1.4.11 h1:8feyoE3OzPrcshW5/MJ4sGESc5cqmGkGCWlco4l0bqY= github.com/nxadm/tail v1.4.11/go.mod h1:OTaG3NK980DZzxbRq6lEuzgU+mug70nY11sMd4JXXHc= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +<<<<<<< HEAD github.com/onsi/ginkgo/v2 v2.20.0 h1:PE84V2mHqoT1sglvHc8ZdQtPcwmvvt29WLEEO3xmdZw= github.com/onsi/ginkgo/v2 v2.20.0/go.mod h1:lG9ey2Z29hR41WMVthyJBGUBcBhGOtoPF2VFMvBXFCI= +======= +github.com/onsi/ginkgo/v2 v2.19.1 h1:QXgq3Z8Crl5EL1WBAC98A5sEBHARrAJNzAmMxzLcRF0= +github.com/onsi/ginkgo/v2 v2.19.1/go.mod h1:O3DtEWQkPa/F7fBMgmZQKKsluAy8pd3rEQdrjkPb9zA= +>>>>>>> backport/main/release/v1.7 github.com/onsi/gomega v1.34.1 h1:EUMJIKUjM8sKjYbtxQI9A4z2o+rruxnzNvpknOXie6k= github.com/onsi/gomega v1.34.1/go.mod h1:kU1QgUvBDLXBJq618Xvm2LUX6rSAfRaFRTcdOeDLwwY= github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= @@ -725,8 +730,13 @@ gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946 h1:vJpL69PeUullhJyKtTjHjENE gonum.org/v1/hdf5 v0.0.0-20210714002203-8c5d23bc6946/go.mod h1:BQUWDHIAygjdt1HnUPQ0eWqLN2n5FwJycrpYUVUOx2I= gonum.org/v1/plot v0.14.0 h1:+LBDVFYwFe4LHhdP8coW6296MBEY4nQ+Y4vuUpJopcE= gonum.org/v1/plot v0.14.0/go.mod h1:MLdR9424SJed+5VqC6MsouEpig9pZX2VZ57H9ko2bXU= +<<<<<<< HEAD google.golang.org/api v0.191.0 h1:cJcF09Z+4HAB2t5qTQM1ZtfL/PemsLFkcFG67qq2afk= google.golang.org/api v0.191.0/go.mod h1:tD5dsFGxFza0hnQveGfVk9QQYKcfp+VzgRqyXFxE0+E= +======= +google.golang.org/api v0.190.0 h1:ASM+IhLY1zljNdLu19W1jTmU6A+gMk6M46Wlur61s+Q= +google.golang.org/api v0.190.0/go.mod h1:QIr6I9iedBLnfqoD6L6Vze1UvS5Hzj5r2aUBOaZnLHo= +>>>>>>> backport/main/release/v1.7 google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20240805194559-2c9e96a0b5d4 h1:g+rQ3aqOyXK/0qwnC5TGUXnyIeipstP5SsniB9uPJ2c= google.golang.org/genproto v0.0.0-20240805194559-2c9e96a0b5d4/go.mod h1:7uvplUBj4RjHAxIZ//98LzOvrQ04JBkaixRmCMI29hc= diff --git a/hack/docker/gen/main.go b/hack/docker/gen/main.go index 7750270efc8..dc61d0e6f0c 100644 --- a/hack/docker/gen/main.go +++ b/hack/docker/gen/main.go @@ -54,11 +54,16 @@ var tmpl = fmt.Sprintf(`# syntax = docker/dockerfile:latest # limitations under the License. # +<<<<<<< HEAD # DO_NOT_EDIT this Dockerfile is generated by https://github.com/vdaas/vald/blob/main/hack/docker/gen/main.go {{- if .AliasImage }} FROM {{.BuilderImage}}:{{.BuilderTag}} AS {{.BuildStageName}} {{- else}} +======= +# DO_NOT_EDIT this Dockerfile is generated by hack/docker/gen/main.go + +>>>>>>> backport/main/release/v1.7 ARG UPX_OPTIONS=-9 {{- range $key, $value := .Arguments }} @@ -69,17 +74,35 @@ ARG {{$key}}={{$value}} FROM {{$image}} {{- end}} # skipcq: DOK-DL3026,DOK-DL3007 +<<<<<<< HEAD FROM {{.BuilderImage}}:{{.BuilderTag}}{{if and (not (eq (ContainerName .ContainerType) "%s")) (not (eq (ContainerName .ContainerType) "%s"))}} AS {{.BuildStageName}} {{- end}} LABEL maintainer="{{.Maintainer}}" # skipcq: DOK-DL3002 USER {{.BuildUser}} +======= +FROM {{.BuilderImage}}:{{.BuilderTag}}{{if and (not (eq (ContainerName .ContainerType) "%s")) (not (eq (ContainerName .ContainerType) "%s"))}} AS builder {{- end}} +ARG MAINTAINER="{{.Maintainer}}" +LABEL maintainer="${MAINTAINER}" + +# skipcq: DOK-DL3002 +USER {{.BuildUser}} + +>>>>>>> backport/main/release/v1.7 ARG TARGETARCH ARG TARGETOS ARG GO_VERSION ARG RUST_VERSION +<<<<<<< HEAD {{- range $keyValue := .EnvironmentsSlice }} ENV {{$keyValue}} {{- end}} +======= + +{{- range $keyValue := .EnvironmentsSlice }} +ENV {{$keyValue}} +{{- end}} + +>>>>>>> backport/main/release/v1.7 WORKDIR {{.RootDir}}/${ORG}/${REPO} {{- range $files := .ExtraCopies }} COPY {{$files}} @@ -123,11 +146,24 @@ RUN {{RunMounts .RunMounts}}\ && apt-get autoclean -y \ && apt-get autoremove -y \ && {{RunCommands .RunCommands}} +<<<<<<< HEAD {{- if and (not (eq (ContainerName .ContainerType) "%s")) (not (eq (ContainerName .ContainerType) "%s"))}} # skipcq: DOK-DL3026,DOK-DL3007 FROM {{.RuntimeImage}}:{{.RuntimeTag}} LABEL maintainer="{{.Maintainer}}" COPY --from=builder {{.BinDir}}/{{.AppName}} {{.BinDir}}/{{.AppName}} +======= + +{{- if and (not (eq (ContainerName .ContainerType) "%s")) (not (eq (ContainerName .ContainerType) "%s"))}} +# skipcq: DOK-DL3026,DOK-DL3007 +FROM {{.RuntimeImage}}:{{.RuntimeTag}} +ARG MAINTAINER="{{.Maintainer}}" +LABEL maintainer="${MAINTAINER}" + +ENV APP_NAME={{.AppName}} + +COPY --from=builder {{.BinDir}}/${APP_NAME} {{.BinDir}}/${APP_NAME} +>>>>>>> backport/main/release/v1.7 {{- if .ConfigExists }} COPY cmd/{{.PackageDir}}/sample.yaml /etc/server/config.yaml {{- end}} @@ -137,11 +173,18 @@ COPY --from=builder {{$file}} {{$file}} {{- end}} # skipcq: DOK-DL3002 USER {{.RuntimeUser}} +<<<<<<< HEAD +======= + +>>>>>>> backport/main/release/v1.7 {{- if .Entrypoints}} ENTRYPOINT [{{Entrypoint .Entrypoints}}] {{- else if and (not (eq (ContainerName .ContainerType) "%s")) (not (eq (ContainerName .ContainerType) "%s"))}} ENTRYPOINT ["{{.BinDir}}/{{.AppName}}"] +<<<<<<< HEAD {{- end}} +======= +>>>>>>> backport/main/release/v1.7 {{- end}}`, DevContainer.String(), CIContainer.String(), DevContainer.String(), DevContainer.String(), @@ -188,7 +231,10 @@ var docker = template.Must(template.New("Dockerfile").Funcs(template.FuncMap{ }).Parse(tmpl)) type Data struct { +<<<<<<< HEAD AliasImage bool +======= +>>>>>>> backport/main/release/v1.7 ConfigExists bool Year int ContainerType ContainerType @@ -197,7 +243,10 @@ type Data struct { BuildUser string BuilderImage string BuilderTag string +<<<<<<< HEAD BuildStageName string +======= +>>>>>>> backport/main/release/v1.7 Maintainer string PackageDir string RootDir string @@ -231,7 +280,10 @@ const ( defaultRuntimeTag = "nonroot" defaultRuntimeUser = "nonroot:nonroot" defaultBuildUser = "root:root" +<<<<<<< HEAD defaultBuildStageName = "builder" +======= +>>>>>>> backport/main/release/v1.7 maintainerKey = "MAINTAINER" minimumArgumentLength = 2 ubuntuVersion = "22.04" @@ -665,6 +717,7 @@ func main() { ngtPreprocess, faissPreprocess)...), }, +<<<<<<< HEAD "vald-buildbase": { AppName: "buildbase", AliasImage: true, @@ -694,6 +747,8 @@ func main() { BuilderTag: "edge", BuildStageName: "scanner", }, +======= +>>>>>>> backport/main/release/v1.7 } { name := n data := d @@ -719,12 +774,20 @@ func main() { if data.RuntimeUser == "" { data.RuntimeUser = defaultRuntimeUser } +<<<<<<< HEAD if data.BuildUser == "" { data.BuildUser = defaultBuildUser } if data.BuildStageName == "" { data.BuildStageName = defaultBuildStageName } +======= + + if data.BuildUser == "" { + data.BuildUser = defaultBuildUser + } + +>>>>>>> backport/main/release/v1.7 if data.Environments != nil { data.Environments = appendM(data.Environments, defaultEnvironments) } else { diff --git a/k8s/discoverer/deployment.yaml b/k8s/discoverer/deployment.yaml index d90fce6ddcd..8faff6e1a68 100644 --- a/k8s/discoverer/deployment.yaml +++ b/k8s/discoverer/deployment.yaml @@ -46,7 +46,11 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: discoverer annotations: +<<<<<<< HEAD checksum/configmap: 2ca8f5721cdc6f8582f3701cf8ed2a34de7732052bd54bce90880889025d50d1 +======= + checksum/configmap: 907c35fdcb537ed8572fe186653ff813cb0f8af4428efaa9cd40ad84b1311101 +>>>>>>> backport/main/release/v1.7 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-discoverer diff --git a/k8s/gateway/gateway/lb/deployment.yaml b/k8s/gateway/gateway/lb/deployment.yaml index 185431d1de9..0260a45467a 100644 --- a/k8s/gateway/gateway/lb/deployment.yaml +++ b/k8s/gateway/gateway/lb/deployment.yaml @@ -45,7 +45,11 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: gateway-lb annotations: +<<<<<<< HEAD checksum/configmap: 39f04e0b0c8ba58e4abaa66146b382efd4c3b9349019967d926267ecafed7b37 +======= + checksum/configmap: 92b60d09b5e957c16d7a665138f8ddd8765c38d47df0740b05e55871ddd20cf4 +>>>>>>> backport/main/release/v1.7 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-lb-gateway diff --git a/k8s/index/operator/configmap.yaml b/k8s/index/operator/configmap.yaml index 97fe02f30b7..e0a76733b21 100644 --- a/k8s/index/operator/configmap.yaml +++ b/k8s/index/operator/configmap.yaml @@ -25,4 +25,8 @@ metadata: app.kubernetes.io/version: v1.7.13 app.kubernetes.io/component: index-operator data: +<<<<<<< HEAD config.yaml: "---\nversion: v0.0.0\ntime_zone: UTC\nlogging:\n format: raw\n level: debug\n logger: glg\nserver_config:\n servers:\n - name: grpc\n host: 0.0.0.0\n port: 8081\n grpc:\n bidirectional_stream_concurrency: 20\n connection_timeout: \"\"\n enable_admin: true\n enable_reflection: true\n header_table_size: 0\n initial_conn_window_size: 2097152\n initial_window_size: 1048576\n interceptors:\n - RecoverInterceptor\n keepalive:\n max_conn_age: \"\"\n max_conn_age_grace: \"\"\n max_conn_idle: \"\"\n min_time: 10m\n permit_without_stream: false\n time: 3h\n timeout: 60s\n max_header_list_size: 0\n max_receive_message_size: 0\n max_send_message_size: 0\n read_buffer_size: 0\n write_buffer_size: 0\n mode: GRPC\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n health_check_servers:\n - name: liveness\n host: 0.0.0.0\n port: 3000\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 5s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n - name: readiness\n host: 0.0.0.0\n port: 3001\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 0s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n metrics_servers:\n - name: pprof\n host: 0.0.0.0\n port: 6060\n http:\n handler_timeout: 5s\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: 2s\n read_header_timeout: 1s\n read_timeout: 1s\n shutdown_duration: 5s\n write_timeout: 1m\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: true\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n startup_strategy:\n - liveness\n - pprof\n - grpc\n - readiness\n shutdown_strategy:\n - readiness\n - grpc\n - pprof\n - liveness\n full_shutdown_duration: 600s\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n enabled: false\n insecure_skip_verify: false\n key: /path/to/key\nobservability:\n enabled: false\n otlp:\n collector_endpoint: \"\"\n trace_batch_timeout: \"1s\"\n trace_export_timeout: \"1m\"\n trace_max_export_batch_size: 1024\n trace_max_queue_size: 256\n metrics_export_interval: \"1s\"\n metrics_export_timeout: \"1m\"\n attribute:\n namespace: \"_MY_POD_NAMESPACE_\"\n pod_name: \"_MY_POD_NAME_\"\n node_name: \"_MY_NODE_NAME_\"\n service_name: \"vald-index-operator\"\n metrics:\n enable_cgo: true\n enable_goroutine: true\n enable_memory: true\n enable_version_info: true\n version_info_labels:\n - vald_version\n - server_name\n - git_commit\n - build_time\n - go_version\n - go_os\n - go_arch\n - algorithm_info\n trace:\n enabled: false\noperator:\n namespace: _MY_POD_NAMESPACE_\n agent_name: vald-agent\n agent_namespace: \n rotator_name: vald-readreplica-rotate\n target_read_replica_id_annotations_key: vald.vdaas.org/target-read-replica-id\n rotation_job_concurrency: 2\n read_replica_enabled: false\n read_replica_label_key: vald-readreplica-id\n job_templates:\n rotate:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-readreplica-rotate\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.13\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.13\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-readreplica-rotate\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n containers:\n - name: vald-readreplica-rotate\n image: \"vdaas/vald-readreplica-rotate:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-readreplica-rotate-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n securityContext:\n allowPrivilegeEscalation: false\n capabilities:\n drop:\n - ALL\n privileged: false\n readOnlyRootFilesystem: true\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n - name: TARGET_READREPLICA_ID_RELEASE_NAME_DEFAULT_VALD\n valueFrom:\n fieldRef:\n fieldPath: metadata.annotations['vald.vdaas.org/target-read-replica-id']\n securityContext:\n fsGroup: 65532\n fsGroupChangePolicy: OnRootMismatch\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n restartPolicy: OnFailure\n volumes:\n - name: vald-readreplica-rotate-config\n configMap:\n defaultMode: 420\n name: vald-readreplica-rotate-config\n serviceAccountName: vald-readreplica-rotate\n creation:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-creation\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.13\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.13\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-creation\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n containers:\n - name: vald-index-creation\n image: \"vdaas/vald-index-creation:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-creation-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-creation-config\n configMap:\n defaultMode: 420\n name: vald-index-creation-config\n save:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-save\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.13\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.13\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-save\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n containers:\n - name: vald-index-save\n image: \"vdaas/vald-index-save:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-save-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-save-config\n configMap:\n defaultMode: 420\n name: vald-index-save-config\n correction:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-correction\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.13\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.13\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.13\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-correction\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n containers:\n - name: vald-index-correction\n image: \"vdaas/vald-index-correction:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-correction-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-correction-config\n configMap:\n defaultMode: 420\n name: vald-index-correction-config\n" +======= + config.yaml: "---\nversion: v0.0.0\ntime_zone: UTC\nlogging:\n format: raw\n level: debug\n logger: glg\nserver_config:\n servers:\n - name: grpc\n host: 0.0.0.0\n port: 8081\n grpc:\n bidirectional_stream_concurrency: 20\n connection_timeout: \"\"\n enable_admin: true\n enable_reflection: true\n header_table_size: 0\n initial_conn_window_size: 2097152\n initial_window_size: 1048576\n interceptors:\n - RecoverInterceptor\n keepalive:\n max_conn_age: \"\"\n max_conn_age_grace: \"\"\n max_conn_idle: \"\"\n min_time: 10m\n permit_without_stream: false\n time: 3h\n timeout: 60s\n max_header_list_size: 0\n max_receive_message_size: 0\n max_send_message_size: 0\n read_buffer_size: 0\n write_buffer_size: 0\n mode: GRPC\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n health_check_servers:\n - name: liveness\n host: 0.0.0.0\n port: 3000\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 5s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n - name: readiness\n host: 0.0.0.0\n port: 3001\n http:\n handler_timeout: \"\"\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: \"\"\n read_header_timeout: \"\"\n read_timeout: \"\"\n shutdown_duration: 0s\n write_timeout: \"\"\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: false\n tcp_defer_accept: false\n tcp_fast_open: true\n tcp_no_delay: true\n tcp_quick_ack: true\n socket_path: \"\"\n metrics_servers:\n - name: pprof\n host: 0.0.0.0\n port: 6060\n http:\n handler_timeout: 5s\n http2:\n enabled: false\n handler_limit: 0\n max_concurrent_streams: 0\n max_decoder_header_table_size: 4096\n max_encoder_header_table_size: 4096\n max_read_frame_size: 0\n max_upload_buffer_per_connection: 0\n max_upload_buffer_per_stream: 0\n permit_prohibited_cipher_suites: true\n idle_timeout: 2s\n read_header_timeout: 1s\n read_timeout: 1s\n shutdown_duration: 5s\n write_timeout: 1m\n mode: REST\n network: tcp\n probe_wait_time: 3s\n restart: true\n socket_option:\n ip_recover_destination_addr: false\n ip_transparent: false\n reuse_addr: true\n reuse_port: true\n tcp_cork: true\n tcp_defer_accept: false\n tcp_fast_open: false\n tcp_no_delay: false\n tcp_quick_ack: false\n socket_path: \"\"\n startup_strategy:\n - liveness\n - pprof\n - grpc\n - readiness\n shutdown_strategy:\n - readiness\n - grpc\n - pprof\n - liveness\n full_shutdown_duration: 600s\n tls:\n ca: /path/to/ca\n cert: /path/to/cert\n enabled: false\n insecure_skip_verify: false\n key: /path/to/key\nobservability:\n enabled: false\n otlp:\n collector_endpoint: \"\"\n trace_batch_timeout: \"1s\"\n trace_export_timeout: \"1m\"\n trace_max_export_batch_size: 1024\n trace_max_queue_size: 256\n metrics_export_interval: \"1s\"\n metrics_export_timeout: \"1m\"\n attribute:\n namespace: \"_MY_POD_NAMESPACE_\"\n pod_name: \"_MY_POD_NAME_\"\n node_name: \"_MY_NODE_NAME_\"\n service_name: \"vald-index-operator\"\n metrics:\n enable_cgo: true\n enable_goroutine: true\n enable_memory: true\n enable_version_info: true\n version_info_labels:\n - vald_version\n - server_name\n - git_commit\n - build_time\n - go_version\n - go_os\n - go_arch\n - algorithm_info\n trace:\n enabled: false\noperator:\n namespace: _MY_POD_NAMESPACE_\n agent_name: vald-agent\n agent_namespace: \n rotator_name: vald-readreplica-rotate\n target_read_replica_id_annotations_key: vald.vdaas.org/target-read-replica-id\n rotation_job_concurrency: 2\n read_replica_enabled: false\n read_replica_label_key: vald-readreplica-id\n job_templates:\n rotate:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-readreplica-rotate\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.12\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-readreplica-rotate\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-readreplica-rotate\n app.kubernetes.io/version: v1.7.12\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-readreplica-rotate\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n containers:\n - name: vald-readreplica-rotate\n image: \"vdaas/vald-readreplica-rotate:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-readreplica-rotate-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n securityContext:\n allowPrivilegeEscalation: false\n capabilities:\n drop:\n - ALL\n privileged: false\n readOnlyRootFilesystem: true\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n - name: TARGET_READREPLICA_ID_RELEASE_NAME_DEFAULT_VALD\n valueFrom:\n fieldRef:\n fieldPath: metadata.annotations['vald.vdaas.org/target-read-replica-id']\n securityContext:\n fsGroup: 65532\n fsGroupChangePolicy: OnRootMismatch\n runAsGroup: 65532\n runAsNonRoot: true\n runAsUser: 65532\n restartPolicy: OnFailure\n volumes:\n - name: vald-readreplica-rotate-config\n configMap:\n defaultMode: 420\n name: vald-readreplica-rotate-config\n serviceAccountName: vald-readreplica-rotate\n creation:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-creation\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.12\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-creation\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-creation\n app.kubernetes.io/version: v1.7.12\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-creation\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n containers:\n - name: vald-index-creation\n image: \"vdaas/vald-index-creation:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-creation-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-creation-config\n configMap:\n defaultMode: 420\n name: vald-index-creation-config\n save:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-save\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.12\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-save\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-save\n app.kubernetes.io/version: v1.7.12\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-save\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n containers:\n - name: vald-index-save\n image: \"vdaas/vald-index-save:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-save-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-save-config\n configMap:\n defaultMode: 420\n name: vald-index-save-config\n correction:\n apiVersion: batch/v1\n kind: Job\n metadata:\n name: vald-index-correction\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.12\n spec:\n ttlSecondsAfterFinished: 86400\n template:\n metadata:\n labels:\n app: vald-index-correction\n app.kubernetes.io/name: vald\n helm.sh/chart: vald-v1.7.12\n app.kubernetes.io/managed-by: Helm\n app.kubernetes.io/instance: release-name\n app.kubernetes.io/component: vald-index-correction\n app.kubernetes.io/version: v1.7.12\n annotations:\n pyroscope.io/scrape: \"true\"\n pyroscope.io/application-name: vald-index-correction\n pyroscope.io/profile-cpu-enabled: \"true\"\n pyroscope.io/profile-mem-enabled: \"true\"\n pyroscope.io/port: \"6060\"\n spec:\n initContainers:\n - name: wait-for-agent\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-agent.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for agent to be ready...\"\n sleep 2;\n done\n - name: wait-for-discoverer\n image: busybox:stable\n command:\n - /bin/sh\n - -e\n - -c\n - |\n until [ \"$(wget --server-response --spider --quiet http://vald-discoverer.default.svc.cluster.local:3001/readiness 2>&1 | awk 'NR==1{print $2}')\" == \"200\" ]; do\n echo \"waiting for discoverer to be ready...\"\n sleep 2;\n done\n containers:\n - name: vald-index-correction\n image: \"vdaas/vald-index-correction:nightly\"\n imagePullPolicy: Always\n volumeMounts:\n - name: vald-index-correction-config\n mountPath: /etc/server/\n livenessProbe:\n failureThreshold: 2\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n readinessProbe:\n failureThreshold: 2\n httpGet:\n path: /readiness\n port: readiness\n scheme: HTTP\n initialDelaySeconds: 10\n periodSeconds: 3\n successThreshold: 1\n timeoutSeconds: 2\n startupProbe:\n failureThreshold: 30\n httpGet:\n path: /liveness\n port: liveness\n scheme: HTTP\n initialDelaySeconds: 5\n periodSeconds: 5\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n - name: liveness\n protocol: TCP\n containerPort: 3000\n - name: readiness\n protocol: TCP\n containerPort: 3001\n - name: grpc\n protocol: TCP\n containerPort: 8081\n - name: pprof\n protocol: TCP\n containerPort: 6060\n env:\n - name: MY_NODE_NAME\n valueFrom:\n fieldRef:\n fieldPath: spec.nodeName\n - name: MY_POD_NAME\n valueFrom:\n fieldRef:\n fieldPath: metadata.name\n - name: MY_POD_NAMESPACE\n valueFrom:\n fieldRef:\n fieldPath: metadata.namespace\n restartPolicy: OnFailure\n volumes:\n - name: vald-index-correction-config\n configMap:\n defaultMode: 420\n name: vald-index-correction-config\n" +>>>>>>> backport/main/release/v1.7 diff --git a/k8s/index/operator/deployment.yaml b/k8s/index/operator/deployment.yaml index ccd69b71256..36a4d4a9cf4 100644 --- a/k8s/index/operator/deployment.yaml +++ b/k8s/index/operator/deployment.yaml @@ -46,7 +46,11 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: operator annotations: +<<<<<<< HEAD checksum/configmap: c9c0a97792fa0594fb6ae3946f4d7294a9e2fbc782b48b82272db25754ddc5ff +======= + checksum/configmap: eae6b3eac702f445f9b5a0d1495af9917479303b103f986c10b5b3db9d749086 +>>>>>>> backport/main/release/v1.7 pyroscope.io/scrape: "true" pyroscope.io/application-name: vald-index-operator pyroscope.io/profile-cpu-enabled: "true" diff --git a/k8s/manager/index/deployment.yaml b/k8s/manager/index/deployment.yaml index a56659a1c45..5795ab5f99c 100644 --- a/k8s/manager/index/deployment.yaml +++ b/k8s/manager/index/deployment.yaml @@ -46,7 +46,11 @@ spec: app.kubernetes.io/instance: release-name app.kubernetes.io/component: manager-index annotations: +<<<<<<< HEAD checksum/configmap: 876907cfbfbcab80cd72c01874d8651958d9dfe9e5a8e3474ecb3afd2e62dbda +======= + checksum/configmap: 749ebf7ce611dafee119650baad5ea66a08b3b5df9858d4bce9a94ef86851e9c +>>>>>>> backport/main/release/v1.7 profefe.com/enable: "true" profefe.com/port: "6060" profefe.com/service: vald-manager-index diff --git a/rust/Cargo.lock b/rust/Cargo.lock index c9e69d71a6e..ab92d2cf995 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -175,9 +175,15 @@ checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "cc" +<<<<<<< HEAD version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "504bdec147f2cc13c8b57ed9401fd8a147cc66b67ad5cb241394244f2c947549" +======= +version = "1.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26a5c3fd7bfa1ce3897a3a3501d362b2d87b7f2583ebcb4a949ec25911025cbc" +>>>>>>> backport/main/release/v1.7 [[package]] name = "cfg-if" @@ -592,9 +598,15 @@ dependencies = [ [[package]] name = "object" +<<<<<<< HEAD version = "0.36.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9" +======= +version = "0.36.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e" +>>>>>>> backport/main/release/v1.7 dependencies = [ "memchr", ] diff --git a/versions/JAEGER_OPERATOR_VERSION b/versions/JAEGER_OPERATOR_VERSION index 5f46e11eedb..ab36f658997 100644 --- a/versions/JAEGER_OPERATOR_VERSION +++ b/versions/JAEGER_OPERATOR_VERSION @@ -1 +1,5 @@ +<<<<<<< HEAD 2.56.0 +======= +2.55.0 +>>>>>>> backport/main/release/v1.7