Compare commits
114 Commits
Author | SHA1 | Date |
---|---|---|
|
87d8ae049d | |
|
be4e4b7a1f | |
|
66da496e54 | |
|
2405020a74 | |
|
425bdfe772 | |
|
e6d2af0db1 | |
|
fbaaba8ee4 | |
|
dda963c349 | |
|
4dc4eeeee8 | |
|
3ff781b269 | |
|
da326b4746 | |
|
2f8de0a3cd | |
|
948ddd3cda | |
|
a600a89ccd | |
|
aec986efd8 | |
|
7ee72ae69a | |
|
b35c4aa8a1 | |
|
75749f107f | |
|
830b916ab4 | |
|
3edc1afba1 | |
|
d722eaa2cd | |
|
e919ec0885 | |
|
2b1f8b06ce | |
|
7d469f6fcb | |
|
fc008c46bc | |
|
b6b317941f | |
|
64e4f7ce6d | |
|
416cd364d8 | |
|
428cc556e6 | |
|
16c4de8ed7 | |
|
9861b12689 | |
|
3517daf6bf | |
|
5b4575ced5 | |
|
d60d8d2f65 | |
|
7a6c0b70f2 | |
|
77c2ee4de5 | |
|
614322eeaf | |
|
65b1900ea8 | |
|
b6cf07809e | |
|
1f05750549 | |
|
fdbde192ff | |
|
849fd7c6b3 | |
|
5b097c5ade | |
|
0d9cc66fc2 | |
|
bd1947a5bd | |
|
d8ae631ab2 | |
|
3e16689619 | |
|
56280ec3f4 | |
|
eae1bb63aa | |
|
10eb322dff | |
|
d392fbe835 | |
|
8f6fd9bdc2 | |
|
2bbae62d45 | |
|
8666a56905 | |
|
e4536a8f21 | |
|
795a1e393f | |
|
174a5927de | |
|
4f9a1a67c5 | |
|
0cbb72c069 | |
|
f6406b46af | |
|
163a579c59 | |
|
63ccc1dd18 | |
|
92199133c3 | |
|
1b76b44fcf | |
|
e8cd44d295 | |
|
060fa0d24f | |
|
8c06e5c1cf | |
|
3f564fd060 | |
|
6d7fb3f0c3 | |
|
dd3af13e80 | |
|
39351c0bd1 | |
|
887765f6bf | |
|
30c92f7c08 | |
|
d50d00b41c | |
|
f8eecef847 | |
|
17aa1a4f56 | |
|
cde6f7f38e | |
|
e89023e7cb | |
|
97e4697733 | |
|
cf6c35a9a7 | |
|
a3a759a2c9 | |
|
3697aac1e2 | |
|
35145714c9 | |
|
884240d057 | |
|
043c224622 | |
|
fbf3ee7143 | |
|
a2e03e2c6f | |
|
dacfe2e69d | |
|
1b2dd897a1 | |
|
e8f05e2933 | |
|
1d12d275f4 | |
|
8347d52cbc | |
|
c5d712540b | |
|
a9770ff513 | |
|
240bd0cc24 | |
|
10954bdc19 | |
|
8a5038265c | |
|
8df2c9125d | |
|
f5dda24bb9 | |
|
883ac114d6 | |
|
b5b614dd62 | |
|
752e49b362 | |
|
ab550a799b | |
|
050ef65222 | |
|
fe3118bb22 | |
|
3fa49f772c | |
|
7e52dd106e | |
|
411e390f7b | |
|
6db9e24fcc | |
|
ffd4e471ef | |
|
e5546c7bf8 | |
|
090a23140b | |
|
15d2127e67 | |
|
5d189e8651 |
|
@ -5,7 +5,11 @@ if [[ -z $OPERATOR_VERSION ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JAEGER_VERSION=$(echo $JAEGER_VERSION | tr -d '"')
|
JAEGER_VERSION=$(echo $JAEGER_VERSION | tr -d '"')
|
||||||
|
JAEGER_AGENT_VERSION=$(echo $JAEGER_AGENT_VERSION | tr -d '"')
|
||||||
|
|
||||||
|
|
||||||
PREVIOUS_VERSION=$(grep operator= versions.txt | awk -F= '{print $2}')
|
PREVIOUS_VERSION=$(grep operator= versions.txt | awk -F= '{print $2}')
|
||||||
|
|
||||||
|
@ -20,11 +24,11 @@ sed "s~replaces: jaeger-operator.v.*~replaces: jaeger-operator.v${PREVIOUS_VERSI
|
||||||
sed -i "s~all-in-one:.*~all-in-one:${JAEGER_VERSION}~gi" examples/all-in-one-with-options.yaml
|
sed -i "s~all-in-one:.*~all-in-one:${JAEGER_VERSION}~gi" examples/all-in-one-with-options.yaml
|
||||||
|
|
||||||
# statefulset-manual-sidecar
|
# statefulset-manual-sidecar
|
||||||
sed -i "s~jaeger-agent:.*~jaeger-agent:${JAEGER_VERSION}~gi" examples/statefulset-manual-sidecar.yaml
|
sed -i "s~jaeger-agent:.*~jaeger-agent:${JAEGER_AGENT_VERSION}~gi" examples/statefulset-manual-sidecar.yaml
|
||||||
|
|
||||||
# operator-with-tracing
|
# operator-with-tracing
|
||||||
sed -i "s~jaeger-operator:.*~jaeger-operator:${OPERATOR_VERSION}~gi" examples/operator-with-tracing.yaml
|
sed -i "s~jaeger-operator:.*~jaeger-operator:${OPERATOR_VERSION}~gi" examples/operator-with-tracing.yaml
|
||||||
sed -i "s~jaeger-agent:.*~jaeger-agent:${JAEGER_VERSION}~gi" examples/operator-with-tracing.yaml
|
sed -i "s~jaeger-agent:.*~jaeger-agent:${JAEGER_AGENT_VERSION}~gi" examples/operator-with-tracing.yaml
|
||||||
|
|
||||||
# tracegen
|
# tracegen
|
||||||
sed -i "s~jaeger-tracegen:.*~jaeger-tracegen:${JAEGER_VERSION}~gi" examples/tracegen.yaml
|
sed -i "s~jaeger-tracegen:.*~jaeger-tracegen:${JAEGER_VERSION}~gi" examples/tracegen.yaml
|
||||||
|
|
|
@ -20,10 +20,10 @@ jobs:
|
||||||
USER: jaegertracing
|
USER: jaegertracing
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.22"
|
||||||
|
|
||||||
|
@ -37,6 +37,6 @@ jobs:
|
||||||
run: make install-tools ci
|
run: make install-tools ci
|
||||||
|
|
||||||
- name: "upload test coverage report"
|
- name: "upload test coverage report"
|
||||||
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
|
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
|
@ -29,10 +29,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: "Set up Go"
|
- name: "Set up Go"
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||||
with:
|
with:
|
||||||
go-version-file: "go.mod"
|
go-version-file: "go.mod"
|
||||||
|
|
||||||
|
@ -41,12 +41,12 @@ jobs:
|
||||||
- run: rm -rf ./tests
|
- run: rm -rf ./tests
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
|
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
||||||
with:
|
with:
|
||||||
languages: go
|
languages: go
|
||||||
|
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
uses: github/codeql-action/autobuild@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
|
uses: github/codeql-action/autobuild@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
|
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
||||||
|
|
|
@ -37,19 +37,19 @@ jobs:
|
||||||
- { name: "upgrade", label: "Upgrade" }
|
- { name: "upgrade", label: "Upgrade" }
|
||||||
steps:
|
steps:
|
||||||
- name: "Check out code into the Go module directory"
|
- name: "Check out code into the Go module directory"
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: "Set up Go"
|
- name: "Set up Go"
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.22"
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
|
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
|
||||||
with:
|
with:
|
||||||
install: true
|
install: true
|
||||||
- name: Cache Docker layers
|
- name: Cache Docker layers
|
||||||
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
|
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache
|
path: /tmp/.buildx-cache
|
||||||
key: e2e-${{ github.sha }}
|
key: e2e-${{ github.sha }}
|
||||||
|
|
|
@ -27,12 +27,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout code"
|
- name: "Checkout code"
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: "Run analysis"
|
- name: "Run analysis"
|
||||||
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
|
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
|
||||||
with:
|
with:
|
||||||
results_file: results.sarif
|
results_file: results.sarif
|
||||||
results_format: sarif
|
results_format: sarif
|
||||||
|
@ -41,7 +41,7 @@ jobs:
|
||||||
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||||
# format to the repository Actions tab.
|
# format to the repository Actions tab.
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
||||||
with:
|
with:
|
||||||
name: SARIF file
|
name: SARIF file
|
||||||
path: results.sarif
|
path: results.sarif
|
||||||
|
@ -49,6 +49,6 @@ jobs:
|
||||||
|
|
||||||
# Upload the results to GitHub's code scanning dashboard.
|
# Upload the results to GitHub's code scanning dashboard.
|
||||||
- name: "Upload to code-scanning"
|
- name: "Upload to code-scanning"
|
||||||
uses: github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
|
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
|
||||||
with:
|
with:
|
||||||
sarif_file: results.sarif
|
sarif_file: results.sarif
|
||||||
|
|
|
@ -15,9 +15,9 @@ jobs:
|
||||||
env:
|
env:
|
||||||
USER: jaegertracing
|
USER: jaegertracing
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
|
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
|
||||||
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
|
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
|
||||||
- name: "publishes the images"
|
- name: "publishes the images"
|
||||||
env:
|
env:
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
|
|
@ -12,19 +12,19 @@ jobs:
|
||||||
USER: jaegertracing
|
USER: jaegertracing
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||||
with:
|
with:
|
||||||
go-version: "1.22"
|
go-version: "1.22"
|
||||||
|
|
||||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: "install kubebuilder"
|
- name: "install kubebuilder"
|
||||||
run: ./hack/install/install-kubebuilder.sh
|
run: ./hack/install/install-kubebuilder.sh
|
||||||
|
|
||||||
- name: "install kustomize"
|
- name: "install kustomize"
|
||||||
run: ./hack/install/install-kustomize.sh
|
run: ./hack/install/install-kustomize.sh
|
||||||
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
|
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
|
||||||
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
|
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
|
||||||
|
|
||||||
- name: "generate release resources"
|
- name: "generate release resources"
|
||||||
run: make release-artifacts USER=jaegertracing
|
run: make release-artifacts USER=jaegertracing
|
||||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "Check out code"
|
- name: "Check out code"
|
||||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: "Install KIND"
|
- name: "Install KIND"
|
||||||
run: ./hack/install/install-kind.sh
|
run: ./hack/install/install-kind.sh
|
||||||
- name: "Install KUTTL"
|
- name: "Install KUTTL"
|
||||||
|
|
18
CHANGELOG.md
18
CHANGELOG.md
|
@ -1,5 +1,23 @@
|
||||||
Changes by Version
|
Changes by Version
|
||||||
==================
|
==================
|
||||||
|
## v1.65.0 (2025-01-22)
|
||||||
|
|
||||||
|
* Pin agent version to 1.62.0 ([#2790](https://github.com/jaegertracing/jaeger-operator/pull/2790), [@rubenvp8510](https://github.com/rubenvp8510))
|
||||||
|
* Added compatibility for Jaeger Operator v1.61.x and v1.62.x ([#2725](https://github.com/jaegertracing/jaeger-operator/pull/2725), [@mooneeb](https://github.com/mooneeb))
|
||||||
|
|
||||||
|
## v1.62.0 (2024-10-10)
|
||||||
|
|
||||||
|
* TRACING-4238 | Fix gatewat 502 timeout ([#2694](https://github.com/jaegertracing/jaeger-operator/pull/2694), [@pavolloffay](https://github.com/pavolloffay))
|
||||||
|
* feat: added missing test for elasticsearch reconciler ([#2662](https://github.com/jaegertracing/jaeger-operator/pull/2662), [@Ankit152](https://github.com/Ankit152))
|
||||||
|
|
||||||
|
## v1.61.0 (2024-09-16)
|
||||||
|
|
||||||
|
* Bump google.golang.org/grpc from 1.66.0 to 1.66.1 ([#2675](https://github.com/jaegertracing/jaeger-operator/pull/2675), [@dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
* Bump google.golang.org/grpc from 1.65.0 to 1.66.0 ([#2670](https://github.com/jaegertracing/jaeger-operator/pull/2670), [@dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
* Bump the opentelemetry group with 9 updates ([#2668](https://github.com/jaegertracing/jaeger-operator/pull/2668), [@dependabot[bot]](https://github.com/apps/dependabot))
|
||||||
|
|
||||||
|
## v1.60.0 (2024-08-13)
|
||||||
|
* Fix Golang version in go.mod ([#2652](https://github.com/jaegertracing/jaeger-operator/pull/2652), [@iblancasa](https://github.com/iblancasa))
|
||||||
|
|
||||||
## v1.60.0 (2024-08-09)
|
## v1.60.0 (2024-08-09)
|
||||||
* Test on k8s 1.30 ([#2647](https://github.com/jaegertracing/jaeger-operator/pull/2647), [@pavolloffay](https://github.com/pavolloffay))
|
* Test on k8s 1.30 ([#2647](https://github.com/jaegertracing/jaeger-operator/pull/2647), [@pavolloffay](https://github.com/pavolloffay))
|
||||||
|
|
|
@ -2,6 +2,8 @@ The following table shows the compatibility of Jaeger Operator with three differ
|
||||||
|
|
||||||
| Jaeger Operator | Kubernetes | Strimzi Operator | Cert-Manager |
|
| Jaeger Operator | Kubernetes | Strimzi Operator | Cert-Manager |
|
||||||
|-----------------|----------------|--------------------|--------------|
|
|-----------------|----------------|--------------------|--------------|
|
||||||
|
| v1.62.x | v1.19 to v1.30 | v0.32 | v1.6.1 |
|
||||||
|
| v1.61.x | v1.19 to v1.30 | v0.32 | v1.6.1 |
|
||||||
| v1.60.x | v1.19 to v1.30 | v0.32 | v1.6.1 |
|
| v1.60.x | v1.19 to v1.30 | v0.32 | v1.6.1 |
|
||||||
| v1.59.x | v1.19 to v1.28 | v0.32 | v1.6.1 |
|
| v1.59.x | v1.19 to v1.28 | v0.32 | v1.6.1 |
|
||||||
| v1.58.x | skipped | skipped | skipped |
|
| v1.58.x | skipped | skipped | skipped |
|
||||||
|
|
|
@ -21,6 +21,7 @@ COPY pkg/ pkg/
|
||||||
COPY versions.txt versions.txt
|
COPY versions.txt versions.txt
|
||||||
|
|
||||||
ARG JAEGER_VERSION
|
ARG JAEGER_VERSION
|
||||||
|
ARG JAEGER_AGENT_VERSION
|
||||||
ARG VERSION_PKG
|
ARG VERSION_PKG
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
ARG VERSION_DATE
|
ARG VERSION_DATE
|
||||||
|
@ -32,7 +33,7 @@ ARG VERSION_DATE
|
||||||
# see last part of https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images
|
# see last part of https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
# Build
|
# Build
|
||||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -ldflags="-X ${VERSION_PKG}.version=${VERSION} -X ${VERSION_PKG}.buildDate=${VERSION_DATE} -X ${VERSION_PKG}.defaultJaeger=${JAEGER_VERSION}" -a -o jaeger-operator main.go
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -ldflags="-X ${VERSION_PKG}.version=${VERSION} -X ${VERSION_PKG}.buildDate=${VERSION_DATE} -X ${VERSION_PKG}.defaultJaeger=${JAEGER_VERSION} -X ${VERSION_PKG}.defaultAgent=${JAEGER_AGENT_VERSION}" -a -o jaeger-operator main.go
|
||||||
|
|
||||||
FROM quay.io/centos/centos:stream9
|
FROM quay.io/centos/centos:stream9
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o ./index -a ./tests/assert-
|
||||||
|
|
||||||
# Use the curl container image to ensure we have curl installed. Also, it is a
|
# Use the curl container image to ensure we have curl installed. Also, it is a
|
||||||
# minimal container image
|
# minimal container image
|
||||||
FROM curlimages/curl@sha256:8addc281f0ea517409209f76832b6ddc2cabc3264feb1ebbec2a2521ffad24e4
|
FROM curlimages/curl@sha256:94e9e444bcba979c2ea12e27ae39bee4cd10bc7041a472c4727a558e213744e6
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
COPY --from=builder /workspace/reporter .
|
COPY --from=builder /workspace/reporter .
|
||||||
COPY --from=builder /workspace/reporter-otlp .
|
COPY --from=builder /workspace/reporter-otlp .
|
||||||
|
|
11
Makefile
11
Makefile
|
@ -29,6 +29,11 @@ BUNDLE_IMG ?= ${IMG_PREFIX}/${OPERATOR_NAME}-bundle:$(addprefix v,${VERSION})
|
||||||
OUTPUT_BINARY ?= "$(BIN_DIR)/jaeger-operator"
|
OUTPUT_BINARY ?= "$(BIN_DIR)/jaeger-operator"
|
||||||
VERSION_PKG ?= "github.com/jaegertracing/jaeger-operator/pkg/version"
|
VERSION_PKG ?= "github.com/jaegertracing/jaeger-operator/pkg/version"
|
||||||
export JAEGER_VERSION ?= "$(shell grep jaeger= versions.txt | awk -F= '{print $$2}')"
|
export JAEGER_VERSION ?= "$(shell grep jaeger= versions.txt | awk -F= '{print $$2}')"
|
||||||
|
# agent was removed in jaeger 1.62.0, and the new versions of jaeger doesn't distribute the images anymore
|
||||||
|
# for that reason the last version of the agent is 1.62.0 and is pined here so we can update jaeger and maintain
|
||||||
|
# the latest agent image.
|
||||||
|
export JAEGER_AGENT_VERSION ?= "1.62.0"
|
||||||
|
|
||||||
# Kafka and Kafka Operator variables
|
# Kafka and Kafka Operator variables
|
||||||
STORAGE_NAMESPACE ?= "${shell kubectl get sa default -o jsonpath='{.metadata.namespace}' || oc project -q}"
|
STORAGE_NAMESPACE ?= "${shell kubectl get sa default -o jsonpath='{.metadata.namespace}' || oc project -q}"
|
||||||
KAFKA_NAMESPACE ?= "kafka"
|
KAFKA_NAMESPACE ?= "kafka"
|
||||||
|
@ -81,7 +86,7 @@ else
|
||||||
GOBIN=$(shell go env GOBIN)
|
GOBIN=$(shell go env GOBIN)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LD_FLAGS ?= "-X $(VERSION_PKG).version=$(VERSION) -X $(VERSION_PKG).buildDate=$(VERSION_DATE) -X $(VERSION_PKG).defaultJaeger=$(JAEGER_VERSION)"
|
LD_FLAGS ?= "-X $(VERSION_PKG).version=$(VERSION) -X $(VERSION_PKG).buildDate=$(VERSION_DATE) -X $(VERSION_PKG).defaultJaeger=$(JAEGER_VERSION) -X $(VERSION_PKG).defaultAgent=$(JAEGER_AGENT_VERSION)"
|
||||||
|
|
||||||
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
|
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
|
||||||
ENVTEST ?= $(LOCALBIN)/setup-envtest
|
ENVTEST ?= $(LOCALBIN)/setup-envtest
|
||||||
|
@ -152,11 +157,11 @@ build: format
|
||||||
|
|
||||||
.PHONY: docker
|
.PHONY: docker
|
||||||
docker:
|
docker:
|
||||||
$(VECHO)[ ! -z "$(PIPELINE)" ] || docker build --build-arg=GOPROXY=${GOPROXY} --build-arg=VERSION=${VERSION} --build-arg=JAEGER_VERSION=${JAEGER_VERSION} --build-arg=TARGETARCH=$(GOARCH) --build-arg VERSION_DATE=${VERSION_DATE} --build-arg VERSION_PKG=${VERSION_PKG} -t "$(IMG)" . ${DOCKER_BUILD_OPTIONS}
|
$(VECHO)[ ! -z "$(PIPELINE)" ] || docker build --build-arg=GOPROXY=${GOPROXY} --build-arg=VERSION=${VERSION} --build-arg=JAEGER_VERSION=${JAEGER_VERSION} --build-arg=JAEGER_AGENT_VERSION=${JAEGER_AGENT_VERSION} --build-arg=TARGETARCH=$(GOARCH) --build-arg VERSION_DATE=${VERSION_DATE} --build-arg VERSION_PKG=${VERSION_PKG} -t "$(IMG)" . ${DOCKER_BUILD_OPTIONS}
|
||||||
|
|
||||||
.PHONY: dockerx
|
.PHONY: dockerx
|
||||||
dockerx:
|
dockerx:
|
||||||
$(VECHO)[ ! -z "$(PIPELINE)" ] || docker buildx build --push --progress=plain --build-arg=VERSION=${VERSION} --build-arg=JAEGER_VERSION=${JAEGER_VERSION} --build-arg=GOPROXY=${GOPROXY} --build-arg VERSION_DATE=${VERSION_DATE} --build-arg VERSION_PKG=${VERSION_PKG} --platform=$(PLATFORMS) $(IMAGE_TAGS) .
|
$(VECHO)[ ! -z "$(PIPELINE)" ] || docker buildx build --push --progress=plain --build-arg=VERSION=${VERSION} --build-arg=JAEGER_VERSION=${JAEGER_VERSION} --build-arg=JAEGER_AGENT_VERSION=${JAEGER_AGENT_VERSION} --build-arg=GOPROXY=${GOPROXY} --build-arg VERSION_DATE=${VERSION_DATE} --build-arg VERSION_PKG=${VERSION_PKG} --platform=$(PLATFORMS) $(IMAGE_TAGS) .
|
||||||
|
|
||||||
.PHONY: push
|
.PHONY: push
|
||||||
push:
|
push:
|
||||||
|
|
132
README.md
132
README.md
|
@ -72,6 +72,138 @@ curl https://raw.githubusercontent.com/jaegertracing/jaeger-operator/main/exampl
|
||||||
|
|
||||||
It is recommended to deploy the operator instead of generating a static manifest.
|
It is recommended to deploy the operator instead of generating a static manifest.
|
||||||
|
|
||||||
|
## Jaeger V2 Operator
|
||||||
|
|
||||||
|
As the Jaeger V2 is released, it is decided that Jaeger V2 will deployed on Kubernetes using [OpenTelemetry Operator](https://github.com/open-telemetry/opentelemetry-operator). This will benefit both the users of Jaeger and OpenTelemetry. To use Jaeger V2 with OpenTelemetry Operator, the steps are as follows:
|
||||||
|
|
||||||
|
* Install the cert-manager in the existing cluster with the command:
|
||||||
|
```bash
|
||||||
|
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.16.1/cert-manager.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
Please verify all the resources (e.g., Pods and Deployments) are in a ready state in the `cert-manager` namespace.
|
||||||
|
|
||||||
|
* Install the OpenTelemetry Operator by running:
|
||||||
|
```bash
|
||||||
|
kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releases/latest/download/opentelemetry-operator.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
Please verify all the resources (e.g., Pods and Deployments) are in a ready state in the `opentelemetry-operator-system` namespace.
|
||||||
|
|
||||||
|
### Using Jaeger with in-memory storage
|
||||||
|
|
||||||
|
Once all the resources are ready, create a Jaeger instance as follows:
|
||||||
|
```yaml
|
||||||
|
kubectl apply -f - <<EOF
|
||||||
|
apiVersion: opentelemetry.io/v1beta1
|
||||||
|
kind: OpenTelemetryCollector
|
||||||
|
metadata:
|
||||||
|
name: jaeger-inmemory-instance
|
||||||
|
spec:
|
||||||
|
image: jaegertracing/jaeger:latest
|
||||||
|
ports:
|
||||||
|
- name: jaeger
|
||||||
|
port: 16686
|
||||||
|
config:
|
||||||
|
service:
|
||||||
|
extensions: [jaeger_storage, jaeger_query]
|
||||||
|
pipelines:
|
||||||
|
traces:
|
||||||
|
receivers: [otlp]
|
||||||
|
exporters: [jaeger_storage_exporter]
|
||||||
|
extensions:
|
||||||
|
jaeger_query:
|
||||||
|
storage:
|
||||||
|
traces: memstore
|
||||||
|
jaeger_storage:
|
||||||
|
backends:
|
||||||
|
memstore:
|
||||||
|
memory:
|
||||||
|
max_traces: 100000
|
||||||
|
receivers:
|
||||||
|
otlp:
|
||||||
|
protocols:
|
||||||
|
grpc:
|
||||||
|
endpoint: 0.0.0.0:4317
|
||||||
|
http:
|
||||||
|
endpoint: 0.0.0.0:4318
|
||||||
|
exporters:
|
||||||
|
jaeger_storage_exporter:
|
||||||
|
trace_storage: memstore
|
||||||
|
EOF
|
||||||
|
```
|
||||||
|
|
||||||
|
To use the in-memory storage ui for Jaeger V2, expose the pod, deployment or the service as follows:
|
||||||
|
```bash
|
||||||
|
kubectl port-forward deployment/jaeger-inmemory-instance-collector 8080:16686
|
||||||
|
```
|
||||||
|
|
||||||
|
Or
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl port-forward service/jaeger-inmemory-instance-collector 8080:16686
|
||||||
|
```
|
||||||
|
|
||||||
|
Once done, type `localhost:8080` in the browser to interact with the UI.
|
||||||
|
|
||||||
|
[Note] There's an ongoing development in OpenTelemetry Operator where users will be able to interact directly with the UI.
|
||||||
|
|
||||||
|
### Using Jaeger with database to store traces
|
||||||
|
To use Jaeger V2 with the supported database, it is mandatory to create database deployments and they should be in `ready` state [(ref)](https://www.jaegertracing.io/docs/2.0/storage/).
|
||||||
|
|
||||||
|
Create a Kubernetes Service that exposes the database pods enabling communication between the database and Jaeger pods.
|
||||||
|
|
||||||
|
This can be achieved by creating a service in two ways, first by creating it [manually](https://kubernetes.io/docs/concepts/services-networking/service/) or second by creating it using imperative command.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl expose pods <pod-name> --port=<port-number> --name=<name-of-the-service>
|
||||||
|
```
|
||||||
|
|
||||||
|
Or
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl expose deployment <deployment-name> --port=<port-number> --name=<name-of-the-service>
|
||||||
|
```
|
||||||
|
|
||||||
|
After the service is created, add the name of the service as an endpoint in their respective config as follows:
|
||||||
|
|
||||||
|
* [Cassandra DB](https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/config-cassandra.yaml):
|
||||||
|
```yaml
|
||||||
|
jaeger_storage:
|
||||||
|
backends:
|
||||||
|
some_storage:
|
||||||
|
cassandra:
|
||||||
|
connection:
|
||||||
|
servers: [<name-of-the-service>]
|
||||||
|
```
|
||||||
|
|
||||||
|
* [ElasticSearch](https://github.com/jaegertracing/jaeger/blob/main/cmd/jaeger/config-elasticsearch.yaml):
|
||||||
|
```yaml
|
||||||
|
jaeger_storage:
|
||||||
|
backends:
|
||||||
|
some_storage:
|
||||||
|
elasticseacrh:
|
||||||
|
servers: [<name-of-the-service>]
|
||||||
|
```
|
||||||
|
|
||||||
|
Use the modified config to create Jaeger instance with the help of OpenTelemetry Operator.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
kubectl apply -f - <<EOF
|
||||||
|
apiVersion: opentelemetry.io/v1beta1
|
||||||
|
kind: OpenTelemetryCollector
|
||||||
|
metadata:
|
||||||
|
name: jaeger-storage-instance # name of your choice
|
||||||
|
spec:
|
||||||
|
image: jaegertracing/jaeger:latest
|
||||||
|
ports:
|
||||||
|
- name: jaeger
|
||||||
|
port: 16686
|
||||||
|
config:
|
||||||
|
# modified config
|
||||||
|
EOF
|
||||||
|
```
|
||||||
|
|
||||||
## Contributing and Developing
|
## Contributing and Developing
|
||||||
|
|
||||||
Please see [CONTRIBUTING.md](CONTRIBUTING.md).
|
Please see [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||||
|
|
|
@ -66,7 +66,7 @@ The operator should be released within a week after the [Jaeger release](https:/
|
||||||
|
|
||||||
| Version | Release Manager |
|
| Version | Release Manager |
|
||||||
|---------| -------------------------------------------------------- |
|
|---------| -------------------------------------------------------- |
|
||||||
| 1.61.0 | [Israel Blancas](https://github.com/iblancasa) |
|
|
||||||
| 1.62.0 | [Ruben Vargas](https://github.com/rubenvp8510) |
|
|
||||||
| 1.63.0 | [Benedikt Bongartz](https://github.com/frzifus) |
|
| 1.63.0 | [Benedikt Bongartz](https://github.com/frzifus) |
|
||||||
| 1.64.0 | [Pavol Loffay](https://github.com/pavolloffay) |
|
| 1.64.0 | [Pavol Loffay](https://github.com/pavolloffay) |
|
||||||
|
| 1.65.0 | [Israel Blancas](https://github.com/iblancasa) |
|
||||||
|
| 1.66.0 | [Ruben Vargas](https://github.com/rubenvp8510) |
|
||||||
|
|
|
@ -374,6 +374,10 @@ type JaegerIngressOpenShiftSpec struct {
|
||||||
// SkipLogout tells the operator to not automatically add a "Log Out" menu option to the custom Jaeger configuration
|
// SkipLogout tells the operator to not automatically add a "Log Out" menu option to the custom Jaeger configuration
|
||||||
// +optional
|
// +optional
|
||||||
SkipLogout *bool `json:"skipLogout,omitempty"`
|
SkipLogout *bool `json:"skipLogout,omitempty"`
|
||||||
|
|
||||||
|
// Timeout defines client timeout from oauth-proxy to jaeger.
|
||||||
|
// +optional
|
||||||
|
Timeout *metav1.Duration `json:"timeout,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// JaegerAllInOneSpec defines the options to be used when deploying the query
|
// JaegerAllInOneSpec defines the options to be used when deploying the query
|
||||||
|
|
|
@ -12,7 +12,6 @@ import (
|
||||||
ctrl "sigs.k8s.io/controller-runtime"
|
ctrl "sigs.k8s.io/controller-runtime"
|
||||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||||
logf "sigs.k8s.io/controller-runtime/pkg/log"
|
logf "sigs.k8s.io/controller-runtime/pkg/log"
|
||||||
"sigs.k8s.io/controller-runtime/pkg/webhook"
|
|
||||||
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
|
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -36,8 +35,6 @@ func (j *Jaeger) SetupWebhookWithManager(mgr ctrl.Manager) error {
|
||||||
|
|
||||||
//+kubebuilder:webhook:path=/mutate-jaegertracing-io-v1-jaeger,mutating=true,failurePolicy=fail,sideEffects=None,groups=jaegertracing.io,resources=jaegers,verbs=create;update,versions=v1,name=mjaeger.kb.io,admissionReviewVersions={v1}
|
//+kubebuilder:webhook:path=/mutate-jaegertracing-io-v1-jaeger,mutating=true,failurePolicy=fail,sideEffects=None,groups=jaegertracing.io,resources=jaegers,verbs=create;update,versions=v1,name=mjaeger.kb.io,admissionReviewVersions={v1}
|
||||||
|
|
||||||
var _ webhook.Defaulter = &Jaeger{}
|
|
||||||
|
|
||||||
func (j *Jaeger) objsWithOptions() []*Options {
|
func (j *Jaeger) objsWithOptions() []*Options {
|
||||||
return []*Options{
|
return []*Options{
|
||||||
&j.Spec.AllInOne.Options, &j.Spec.Query.Options, &j.Spec.Collector.Options,
|
&j.Spec.AllInOne.Options, &j.Spec.Query.Options, &j.Spec.Collector.Options,
|
||||||
|
@ -85,8 +82,6 @@ func (j *Jaeger) Default() {
|
||||||
// TODO(user): change verbs to "verbs=create;update;delete" if you want to enable deletion validation.
|
// TODO(user): change verbs to "verbs=create;update;delete" if you want to enable deletion validation.
|
||||||
//+kubebuilder:webhook:path=/validate-jaegertracing-io-v1-jaeger,mutating=false,failurePolicy=fail,sideEffects=None,groups=jaegertracing.io,resources=jaegers,verbs=create;update,versions=v1,name=vjaeger.kb.io,admissionReviewVersions={v1}
|
//+kubebuilder:webhook:path=/validate-jaegertracing-io-v1-jaeger,mutating=false,failurePolicy=fail,sideEffects=None,groups=jaegertracing.io,resources=jaegers,verbs=create;update,versions=v1,name=vjaeger.kb.io,admissionReviewVersions={v1}
|
||||||
|
|
||||||
var _ webhook.Validator = &Jaeger{}
|
|
||||||
|
|
||||||
// ValidateCreate implements webhook.Validator so a webhook will be registered for the type
|
// ValidateCreate implements webhook.Validator so a webhook will be registered for the type
|
||||||
func (j *Jaeger) ValidateCreate() (admission.Warnings, error) {
|
func (j *Jaeger) ValidateCreate() (admission.Warnings, error) {
|
||||||
jaegerlog.Info("validate create", "name", j.Name)
|
jaegerlog.Info("validate create", "name", j.Name)
|
||||||
|
|
|
@ -4,16 +4,21 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/google/go-cmp/cmp"
|
||||||
esv1 "github.com/openshift/elasticsearch-operator/apis/logging/v1"
|
esv1 "github.com/openshift/elasticsearch-operator/apis/logging/v1"
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
corev1 "k8s.io/api/core/v1"
|
corev1 "k8s.io/api/core/v1"
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
"k8s.io/client-go/kubernetes/scheme"
|
"k8s.io/client-go/kubernetes/scheme"
|
||||||
"sigs.k8s.io/controller-runtime/pkg/client/fake"
|
"sigs.k8s.io/controller-runtime/pkg/client/fake"
|
||||||
|
"sigs.k8s.io/controller-runtime/pkg/webhook"
|
||||||
|
)
|
||||||
|
|
||||||
"github.com/google/go-cmp/cmp"
|
var (
|
||||||
"github.com/stretchr/testify/assert"
|
_ webhook.Defaulter = &Jaeger{}
|
||||||
"github.com/stretchr/testify/require"
|
_ webhook.Validator = &Jaeger{}
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDefault(t *testing.T) {
|
func TestDefault(t *testing.T) {
|
||||||
|
@ -166,8 +171,8 @@ func TestDefault(t *testing.T) {
|
||||||
|
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
t.Run(test.name, func(t *testing.T) {
|
t.Run(test.name, func(t *testing.T) {
|
||||||
esv1.AddToScheme(scheme.Scheme)
|
require.NoError(t, esv1.AddToScheme(scheme.Scheme))
|
||||||
AddToScheme(scheme.Scheme)
|
require.NoError(t, AddToScheme(scheme.Scheme))
|
||||||
fakeCl := fake.NewClientBuilder().WithRuntimeObjects(test.objs...).Build()
|
fakeCl := fake.NewClientBuilder().WithRuntimeObjects(test.objs...).Build()
|
||||||
cl = fakeCl
|
cl = fakeCl
|
||||||
|
|
||||||
|
@ -273,8 +278,8 @@ func TestValidate(t *testing.T) {
|
||||||
|
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
t.Run(test.name, func(t *testing.T) {
|
t.Run(test.name, func(t *testing.T) {
|
||||||
esv1.AddToScheme(scheme.Scheme)
|
require.NoError(t, esv1.AddToScheme(scheme.Scheme))
|
||||||
AddToScheme(scheme.Scheme)
|
require.NoError(t, AddToScheme(scheme.Scheme))
|
||||||
fakeCl := fake.NewClientBuilder().WithRuntimeObjects(test.objsToCreate...).Build()
|
fakeCl := fake.NewClientBuilder().WithRuntimeObjects(test.objsToCreate...).Build()
|
||||||
cl = fakeCl
|
cl = fakeCl
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ package v1
|
||||||
import (
|
import (
|
||||||
appsv1 "k8s.io/api/apps/v1"
|
appsv1 "k8s.io/api/apps/v1"
|
||||||
corev1 "k8s.io/api/core/v1"
|
corev1 "k8s.io/api/core/v1"
|
||||||
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -527,6 +528,11 @@ func (in *JaegerIngressOpenShiftSpec) DeepCopyInto(out *JaegerIngressOpenShiftSp
|
||||||
*out = new(bool)
|
*out = new(bool)
|
||||||
**out = **in
|
**out = **in
|
||||||
}
|
}
|
||||||
|
if in.Timeout != nil {
|
||||||
|
in, out := &in.Timeout, &out.Timeout
|
||||||
|
*out = new(metav1.Duration)
|
||||||
|
**out = **in
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JaegerIngressOpenShiftSpec.
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JaegerIngressOpenShiftSpec.
|
||||||
|
|
|
@ -18,8 +18,8 @@ metadata:
|
||||||
capabilities: Deep Insights
|
capabilities: Deep Insights
|
||||||
categories: Logging & Tracing
|
categories: Logging & Tracing
|
||||||
certified: "false"
|
certified: "false"
|
||||||
containerImage: quay.io/jaegertracing/jaeger-operator:1.59.0
|
containerImage: quay.io/jaegertracing/jaeger-operator:1.62.0
|
||||||
createdAt: "2024-08-09T09:12:17Z"
|
createdAt: "2025-01-22T20:40:19Z"
|
||||||
description: Provides tracing, monitoring and troubleshooting for microservices-based
|
description: Provides tracing, monitoring and troubleshooting for microservices-based
|
||||||
distributed systems
|
distributed systems
|
||||||
operators.openshift.io/infrastructure-features: '["disconnected"]'
|
operators.openshift.io/infrastructure-features: '["disconnected"]'
|
||||||
|
@ -27,7 +27,7 @@ metadata:
|
||||||
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
|
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
|
||||||
repository: https://github.com/jaegertracing/jaeger-operator
|
repository: https://github.com/jaegertracing/jaeger-operator
|
||||||
support: Jaeger Community
|
support: Jaeger Community
|
||||||
name: jaeger-operator.v1.60.0
|
name: jaeger-operator.v1.65.0
|
||||||
namespace: placeholder
|
namespace: placeholder
|
||||||
spec:
|
spec:
|
||||||
apiservicedefinitions: {}
|
apiservicedefinitions: {}
|
||||||
|
@ -414,7 +414,7 @@ spec:
|
||||||
value: DEBUG
|
value: DEBUG
|
||||||
- name: KAFKA-PROVISIONING-MINIMAL
|
- name: KAFKA-PROVISIONING-MINIMAL
|
||||||
value: "true"
|
value: "true"
|
||||||
image: quay.io/jaegertracing/jaeger-operator:1.60.0
|
image: quay.io/jaegertracing/jaeger-operator:1.65.0
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /healthz
|
||||||
|
@ -527,11 +527,11 @@ spec:
|
||||||
minKubeVersion: 1.19.0
|
minKubeVersion: 1.19.0
|
||||||
provider:
|
provider:
|
||||||
name: CNCF
|
name: CNCF
|
||||||
replaces: jaeger-operator.v1.59.0
|
replaces: jaeger-operator.v1.62.0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
name: jaeger-operator
|
name: jaeger-operator
|
||||||
version: 1.60.0
|
version: 1.65.0
|
||||||
webhookdefinitions:
|
webhookdefinitions:
|
||||||
- admissionReviewVersions:
|
- admissionReviewVersions:
|
||||||
- v1
|
- v1
|
||||||
|
|
|
@ -7281,6 +7281,8 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
skipLogout:
|
skipLogout:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
type: object
|
type: object
|
||||||
options:
|
options:
|
||||||
type: object
|
type: object
|
||||||
|
|
|
@ -7278,6 +7278,8 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
skipLogout:
|
skipLogout:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
timeout:
|
||||||
|
type: string
|
||||||
type: object
|
type: object
|
||||||
options:
|
options:
|
||||||
type: object
|
type: object
|
||||||
|
|
|
@ -5,4 +5,4 @@ kind: Kustomization
|
||||||
images:
|
images:
|
||||||
- name: controller
|
- name: controller
|
||||||
newName: quay.io/jaegertracing/jaeger-operator
|
newName: quay.io/jaegertracing/jaeger-operator
|
||||||
newTag: 1.60.0
|
newTag: 1.65.0
|
||||||
|
|
|
@ -15,7 +15,7 @@ metadata:
|
||||||
capabilities: Deep Insights
|
capabilities: Deep Insights
|
||||||
categories: Logging & Tracing
|
categories: Logging & Tracing
|
||||||
certified: "false"
|
certified: "false"
|
||||||
containerImage: quay.io/jaegertracing/jaeger-operator:1.59.0
|
containerImage: quay.io/jaegertracing/jaeger-operator:1.62.0
|
||||||
createdAt: "2023-05-16T04:47:12Z"
|
createdAt: "2023-05-16T04:47:12Z"
|
||||||
description: Provides tracing, monitoring and troubleshooting for microservices-based
|
description: Provides tracing, monitoring and troubleshooting for microservices-based
|
||||||
distributed systems
|
distributed systems
|
||||||
|
@ -125,7 +125,7 @@ spec:
|
||||||
minKubeVersion: 1.19.0
|
minKubeVersion: 1.19.0
|
||||||
provider:
|
provider:
|
||||||
name: CNCF
|
name: CNCF
|
||||||
replaces: jaeger-operator.v1.59.0
|
replaces: jaeger-operator.v1.62.0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
name: jaeger-operator
|
name: jaeger-operator
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
package appsv1_test
|
package appsv1_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"context"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
"k8s.io/apimachinery/pkg/types"
|
||||||
k8sconfig "sigs.k8s.io/controller-runtime/pkg/client/config"
|
k8sconfig "sigs.k8s.io/controller-runtime/pkg/client/config"
|
||||||
"sigs.k8s.io/controller-runtime/pkg/manager"
|
"sigs.k8s.io/controller-runtime/pkg/manager"
|
||||||
|
k8sreconcile "sigs.k8s.io/controller-runtime/pkg/reconcile"
|
||||||
|
|
||||||
|
v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
|
||||||
"github.com/jaegertracing/jaeger-operator/controllers/appsv1"
|
"github.com/jaegertracing/jaeger-operator/controllers/appsv1"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -28,3 +32,24 @@ func TestNamespaceControllerRegisterWithManager(t *testing.T) {
|
||||||
// verify
|
// verify
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestNewNamespaceInstance(t *testing.T) {
|
||||||
|
// prepare
|
||||||
|
nsn := types.NamespacedName{Name: "my-instance", Namespace: "default"}
|
||||||
|
reconciler := appsv1.NewNamespaceReconciler(
|
||||||
|
k8sClient,
|
||||||
|
k8sClient,
|
||||||
|
testScheme,
|
||||||
|
)
|
||||||
|
|
||||||
|
instance := v1.NewJaeger(nsn)
|
||||||
|
err := k8sClient.Create(context.Background(), instance)
|
||||||
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
req := k8sreconcile.Request{
|
||||||
|
NamespacedName: nsn,
|
||||||
|
}
|
||||||
|
|
||||||
|
_, err = reconciler.Reconcile(context.Background(), req)
|
||||||
|
require.NoError(t, err)
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,77 @@
|
||||||
|
package elasticsearch_test
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
esv1 "github.com/openshift/elasticsearch-operator/apis/logging/v1"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
|
corev1 "k8s.io/api/core/v1"
|
||||||
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
|
"k8s.io/apimachinery/pkg/types"
|
||||||
|
k8sconfig "sigs.k8s.io/controller-runtime/pkg/client/config"
|
||||||
|
"sigs.k8s.io/controller-runtime/pkg/client/fake"
|
||||||
|
"sigs.k8s.io/controller-runtime/pkg/manager"
|
||||||
|
k8sreconcile "sigs.k8s.io/controller-runtime/pkg/reconcile"
|
||||||
|
|
||||||
|
v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
|
||||||
|
"github.com/jaegertracing/jaeger-operator/controllers/elasticsearch"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestElasticSearchSetupWithManager(t *testing.T) {
|
||||||
|
t.Skip("this test requires a real cluster, otherwise the GetConfigOrDie will die")
|
||||||
|
|
||||||
|
// prepare
|
||||||
|
mgr, err := manager.New(k8sconfig.GetConfigOrDie(), manager.Options{})
|
||||||
|
require.NoError(t, err)
|
||||||
|
reconciler := elasticsearch.NewReconciler(
|
||||||
|
k8sClient,
|
||||||
|
k8sClient,
|
||||||
|
)
|
||||||
|
|
||||||
|
// test
|
||||||
|
err = reconciler.SetupWithManager(mgr)
|
||||||
|
|
||||||
|
// verify
|
||||||
|
require.NoError(t, err)
|
||||||
|
}
|
||||||
|
|
||||||
|
func TestNewElasticSearchInstance(t *testing.T) {
|
||||||
|
// prepare
|
||||||
|
ns := &corev1.Namespace{
|
||||||
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
|
Name: "test-ns",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
es := &esv1.Elasticsearch{
|
||||||
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
|
Name: "test-es",
|
||||||
|
Namespace: "test-ns",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
jaeger := v1.NewJaeger(types.NamespacedName{
|
||||||
|
Name: "test-jaeger",
|
||||||
|
Namespace: "test-jaeger",
|
||||||
|
})
|
||||||
|
|
||||||
|
esv1.AddToScheme(testScheme)
|
||||||
|
v1.AddToScheme(testScheme)
|
||||||
|
|
||||||
|
client := fake.NewClientBuilder().WithRuntimeObjects(ns, es, jaeger).Build()
|
||||||
|
reconciler := elasticsearch.NewReconciler(
|
||||||
|
client,
|
||||||
|
client,
|
||||||
|
)
|
||||||
|
|
||||||
|
req := k8sreconcile.Request{
|
||||||
|
NamespacedName: types.NamespacedName{
|
||||||
|
Name: "test-es",
|
||||||
|
Namespace: "test-ns",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
_, err := reconciler.Reconcile(context.Background(), req)
|
||||||
|
require.NoError(t, err)
|
||||||
|
}
|
|
@ -0,0 +1,57 @@
|
||||||
|
package elasticsearch_test
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"path/filepath"
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
|
||||||
|
|
||||||
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
|
"k8s.io/client-go/kubernetes/scheme"
|
||||||
|
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||||
|
"sigs.k8s.io/controller-runtime/pkg/envtest"
|
||||||
|
// +kubebuilder:scaffold:imports
|
||||||
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
k8sClient client.Client
|
||||||
|
testEnv *envtest.Environment
|
||||||
|
testScheme *runtime.Scheme = scheme.Scheme
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestMain(m *testing.M) {
|
||||||
|
testEnv = &envtest.Environment{
|
||||||
|
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},
|
||||||
|
}
|
||||||
|
|
||||||
|
cfg, err := testEnv.Start()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("failed to start testEnv: %v", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := v1.AddToScheme(scheme.Scheme); err != nil {
|
||||||
|
fmt.Printf("failed to register scheme: %v", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
// +kubebuilder:scaffold:scheme
|
||||||
|
|
||||||
|
k8sClient, err = client.New(cfg, client.Options{Scheme: testScheme})
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("failed to setup a Kubernetes client: %v", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
code := m.Run()
|
||||||
|
|
||||||
|
err = testEnv.Stop()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Printf("failed to stop testEnv: %v", err)
|
||||||
|
os.Exit(1)
|
||||||
|
}
|
||||||
|
|
||||||
|
os.Exit(code)
|
||||||
|
}
|
|
@ -27388,6 +27388,13 @@ Resource Types:
|
||||||
<br/>
|
<br/>
|
||||||
</td>
|
</td>
|
||||||
<td>false</td>
|
<td>false</td>
|
||||||
|
</tr><tr>
|
||||||
|
<td><b>timeout</b></td>
|
||||||
|
<td>string</td>
|
||||||
|
<td>
|
||||||
|
<br/>
|
||||||
|
</td>
|
||||||
|
<td>false</td>
|
||||||
</tr></tbody>
|
</tr></tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
strategy: allInOne
|
strategy: allInOne
|
||||||
allInOne:
|
allInOne:
|
||||||
image: jaegertracing/all-in-one:1.60.0
|
image: jaegertracing/all-in-one:1.65.0
|
||||||
options:
|
options:
|
||||||
log-level: debug
|
log-level: debug
|
||||||
query:
|
query:
|
||||||
|
|
|
@ -17,7 +17,7 @@ spec:
|
||||||
serviceAccountName: jaeger-operator
|
serviceAccountName: jaeger-operator
|
||||||
containers:
|
containers:
|
||||||
- name: jaeger-operator
|
- name: jaeger-operator
|
||||||
image: jaegertracing/jaeger-operator:1.60.0
|
image: jaegertracing/jaeger-operator:1.65.0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8383
|
- containerPort: 8383
|
||||||
name: http-metrics
|
name: http-metrics
|
||||||
|
@ -41,7 +41,7 @@ spec:
|
||||||
- name: OPERATOR_NAME
|
- name: OPERATOR_NAME
|
||||||
value: "jaeger-operator"
|
value: "jaeger-operator"
|
||||||
- name: jaeger-agent
|
- name: jaeger-agent
|
||||||
image: jaegertracing/jaeger-agent:1.60.0
|
image: jaegertracing/jaeger-agent:1.62.0
|
||||||
env:
|
env:
|
||||||
- name: POD_NAMESPACE
|
- name: POD_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: jaeger-agent
|
- name: jaeger-agent
|
||||||
image: jaegertracing/jaeger-agent:1.60.0
|
image: jaegertracing/jaeger-agent:1.62.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5775
|
- containerPort: 5775
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: tracegen
|
- name: tracegen
|
||||||
image: jaegertracing/jaeger-tracegen:1.60.0
|
image: jaegertracing/jaeger-tracegen:1.65.0
|
||||||
args:
|
args:
|
||||||
- -duration=30m
|
- -duration=30m
|
||||||
- -workers=10
|
- -workers=10
|
||||||
|
|
58
go.mod
58
go.mod
|
@ -1,12 +1,12 @@
|
||||||
module github.com/jaegertracing/jaeger-operator
|
module github.com/jaegertracing/jaeger-operator
|
||||||
|
|
||||||
go 1.22
|
go 1.22.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Masterminds/semver v1.5.0
|
github.com/Masterminds/semver v1.5.0
|
||||||
github.com/go-logr/logr v1.4.2
|
github.com/go-logr/logr v1.4.2
|
||||||
github.com/google/gnostic-models v0.6.8
|
github.com/google/gnostic-models v0.6.9
|
||||||
github.com/google/go-cmp v0.6.0
|
github.com/google/go-cmp v0.7.0
|
||||||
github.com/mitchellh/go-homedir v1.1.0
|
github.com/mitchellh/go-homedir v1.1.0
|
||||||
github.com/openshift/api v0.0.0-20231206170337-f356bd9e2ff6
|
github.com/openshift/api v0.0.0-20231206170337-f356bd9e2ff6
|
||||||
github.com/openshift/elasticsearch-operator v0.0.0-20231013125000-a5c132efd4e0
|
github.com/openshift/elasticsearch-operator v0.0.0-20231013125000-a5c132efd4e0
|
||||||
|
@ -14,24 +14,24 @@ require (
|
||||||
github.com/opentracing/opentracing-go v1.2.0
|
github.com/opentracing/opentracing-go v1.2.0
|
||||||
github.com/operator-framework/operator-lib v0.13.0
|
github.com/operator-framework/operator-lib v0.13.0
|
||||||
github.com/sirupsen/logrus v1.9.3
|
github.com/sirupsen/logrus v1.9.3
|
||||||
github.com/spf13/cobra v1.8.1
|
github.com/spf13/cobra v1.9.1
|
||||||
github.com/spf13/pflag v1.0.5
|
github.com/spf13/pflag v1.0.6
|
||||||
github.com/spf13/viper v1.19.0
|
github.com/spf13/viper v1.19.0
|
||||||
github.com/stretchr/testify v1.9.0
|
github.com/stretchr/testify v1.10.0
|
||||||
github.com/uber/jaeger-client-go v2.30.0+incompatible
|
github.com/uber/jaeger-client-go v2.30.0+incompatible
|
||||||
go.opentelemetry.io/otel v1.28.0
|
go.opentelemetry.io/otel v1.35.0
|
||||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
|
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0
|
||||||
go.opentelemetry.io/otel/exporters/prometheus v0.50.0
|
go.opentelemetry.io/otel/exporters/prometheus v0.57.0
|
||||||
go.opentelemetry.io/otel/metric v1.28.0
|
go.opentelemetry.io/otel/metric v1.35.0
|
||||||
go.opentelemetry.io/otel/sdk v1.28.0
|
go.opentelemetry.io/otel/sdk v1.35.0
|
||||||
go.opentelemetry.io/otel/sdk/metric v1.28.0
|
go.opentelemetry.io/otel/sdk/metric v1.35.0
|
||||||
go.opentelemetry.io/otel/trace v1.28.0
|
go.opentelemetry.io/otel/trace v1.35.0
|
||||||
go.uber.org/zap v1.27.0
|
go.uber.org/zap v1.27.0
|
||||||
gomodules.xyz/jsonpatch/v2 v2.4.0
|
gomodules.xyz/jsonpatch/v2 v2.4.0
|
||||||
google.golang.org/grpc v1.65.0
|
google.golang.org/grpc v1.71.0
|
||||||
k8s.io/api v0.29.3
|
k8s.io/api v0.29.3
|
||||||
k8s.io/apimachinery v0.29.3
|
k8s.io/apimachinery v0.29.3
|
||||||
k8s.io/client-go v0.29.3
|
k8s.io/client-go v0.29.3
|
||||||
|
@ -59,12 +59,13 @@ require (
|
||||||
github.com/golang/protobuf v1.5.4 // indirect
|
github.com/golang/protobuf v1.5.4 // indirect
|
||||||
github.com/google/gofuzz v1.2.0 // indirect
|
github.com/google/gofuzz v1.2.0 // indirect
|
||||||
github.com/google/uuid v1.6.0 // indirect
|
github.com/google/uuid v1.6.0 // indirect
|
||||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 // indirect
|
||||||
github.com/hashicorp/hcl v1.0.0 // indirect
|
github.com/hashicorp/hcl v1.0.0 // indirect
|
||||||
github.com/imdario/mergo v0.3.16 // indirect
|
github.com/imdario/mergo v0.3.16 // indirect
|
||||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||||
github.com/josharian/intern v1.0.0 // indirect
|
github.com/josharian/intern v1.0.0 // indirect
|
||||||
github.com/json-iterator/go v1.1.12 // indirect
|
github.com/json-iterator/go v1.1.12 // indirect
|
||||||
|
github.com/klauspost/compress v1.17.9 // indirect
|
||||||
github.com/magiconair/properties v1.8.7 // indirect
|
github.com/magiconair/properties v1.8.7 // indirect
|
||||||
github.com/mailru/easyjson v0.7.7 // indirect
|
github.com/mailru/easyjson v0.7.7 // indirect
|
||||||
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
||||||
|
@ -74,9 +75,9 @@ require (
|
||||||
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
|
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
|
||||||
github.com/pkg/errors v0.9.1 // indirect
|
github.com/pkg/errors v0.9.1 // indirect
|
||||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
||||||
github.com/prometheus/client_golang v1.19.1 // indirect
|
github.com/prometheus/client_golang v1.20.5 // indirect
|
||||||
github.com/prometheus/client_model v0.6.1 // indirect
|
github.com/prometheus/client_model v0.6.1 // indirect
|
||||||
github.com/prometheus/common v0.55.0 // indirect
|
github.com/prometheus/common v0.62.0 // indirect
|
||||||
github.com/prometheus/procfs v0.15.1 // indirect
|
github.com/prometheus/procfs v0.15.1 // indirect
|
||||||
github.com/sagikazarmark/locafero v0.4.0 // indirect
|
github.com/sagikazarmark/locafero v0.4.0 // indirect
|
||||||
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
|
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
|
||||||
|
@ -85,19 +86,20 @@ require (
|
||||||
github.com/spf13/cast v1.6.0 // indirect
|
github.com/spf13/cast v1.6.0 // indirect
|
||||||
github.com/subosito/gotenv v1.6.0 // indirect
|
github.com/subosito/gotenv v1.6.0 // indirect
|
||||||
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
|
github.com/uber/jaeger-lib v2.2.0+incompatible // indirect
|
||||||
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
|
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
||||||
|
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
|
||||||
go.uber.org/atomic v1.10.0 // indirect
|
go.uber.org/atomic v1.10.0 // indirect
|
||||||
go.uber.org/multierr v1.11.0 // indirect
|
go.uber.org/multierr v1.11.0 // indirect
|
||||||
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect
|
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect
|
||||||
golang.org/x/net v0.26.0 // indirect
|
golang.org/x/net v0.35.0 // indirect
|
||||||
golang.org/x/oauth2 v0.21.0 // indirect
|
golang.org/x/oauth2 v0.26.0 // indirect
|
||||||
golang.org/x/sys v0.21.0 // indirect
|
golang.org/x/sys v0.30.0 // indirect
|
||||||
golang.org/x/term v0.21.0 // indirect
|
golang.org/x/term v0.29.0 // indirect
|
||||||
golang.org/x/text v0.16.0 // indirect
|
golang.org/x/text v0.22.0 // indirect
|
||||||
golang.org/x/time v0.5.0 // indirect
|
golang.org/x/time v0.5.0 // indirect
|
||||||
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 // indirect
|
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a // indirect
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
|
||||||
google.golang.org/protobuf v1.34.2 // indirect
|
google.golang.org/protobuf v1.36.5 // indirect
|
||||||
gopkg.in/inf.v0 v0.9.1 // indirect
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
||||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||||
|
|
119
go.sum
119
go.sum
|
@ -11,7 +11,7 @@ github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK3
|
||||||
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
|
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
|
||||||
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
|
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
|
||||||
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
|
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
|
||||||
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
||||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
|
@ -51,12 +51,12 @@ github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l
|
||||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||||
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
||||||
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
|
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
|
||||||
github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I=
|
github.com/google/gnostic-models v0.6.9 h1:MU/8wDLif2qCXZmzncUQ/BOfxWfthHi63KqpoNbWqVw=
|
||||||
github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U=
|
github.com/google/gnostic-models v0.6.9/go.mod h1:CiWsm0s6BSQd1hRn8/QmxqB6BesYcbSZxsz9b0KuDBw=
|
||||||
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||||
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||||
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
|
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
||||||
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
||||||
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
||||||
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
|
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
|
||||||
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
|
||||||
|
@ -64,8 +64,8 @@ github.com/google/pprof v0.0.0-20230510103437-eeec1cb781c3 h1:2XF1Vzq06X+inNqgJ9
|
||||||
github.com/google/pprof v0.0.0-20230510103437-eeec1cb781c3/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk=
|
github.com/google/pprof v0.0.0-20230510103437-eeec1cb781c3/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk=
|
||||||
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
||||||
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 h1:e9Rjr40Z98/clHv5Yg79Is0NtosR5LXRvdr7o/6NwbA=
|
||||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1/go.mod h1:tIxuGz/9mpox++sgp9fJjHO0+q1X9/UOWd798aAm22M=
|
||||||
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
|
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
|
||||||
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
|
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
|
||||||
github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4=
|
github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4=
|
||||||
|
@ -79,12 +79,16 @@ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHm
|
||||||
github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes=
|
github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes=
|
||||||
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
|
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
|
||||||
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
|
||||||
|
github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA=
|
||||||
|
github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
|
||||||
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
|
||||||
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
|
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
|
||||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
||||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
||||||
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
||||||
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||||
|
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
|
||||||
|
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
|
||||||
github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY=
|
github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY=
|
||||||
github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
|
github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
|
||||||
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
|
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
|
||||||
|
@ -123,16 +127,16 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
|
||||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
|
||||||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
|
github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+bR9r+8l63Y=
|
||||||
github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
|
github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
|
||||||
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
|
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
|
||||||
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
|
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
|
||||||
github.com/prometheus/common v0.55.0 h1:KEi6DK7lXW/m7Ig5i47x0vRzuBsHuvJdi5ee6Y3G1dc=
|
github.com/prometheus/common v0.62.0 h1:xasJaQlnWAeyHdUBeGjXmutelfJHWMRr+Fg4QszZ2Io=
|
||||||
github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65zxzNImwdc8=
|
github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I=
|
||||||
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=
|
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=
|
||||||
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
|
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
|
||||||
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
|
github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
|
||||||
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
|
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
|
||||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||||
github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ=
|
github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ=
|
||||||
github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4=
|
github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4=
|
||||||
|
@ -146,10 +150,10 @@ github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8=
|
||||||
github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY=
|
github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY=
|
||||||
github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0=
|
github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0=
|
||||||
github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
|
github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
|
||||||
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
|
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
|
||||||
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
|
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
|
||||||
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
|
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
|
||||||
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||||
github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI=
|
github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI=
|
||||||
github.com/spf13/viper v1.19.0/go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg=
|
github.com/spf13/viper v1.19.0/go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg=
|
||||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
|
@ -162,8 +166,9 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
|
||||||
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
||||||
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
|
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
|
||||||
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
|
||||||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||||
|
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
||||||
|
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||||
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
|
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
|
||||||
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
|
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
|
||||||
github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o=
|
github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o=
|
||||||
|
@ -172,28 +177,30 @@ github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/
|
||||||
github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U=
|
github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U=
|
||||||
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||||
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||||
go.opentelemetry.io/otel v1.28.0 h1:/SqNcYk+idO0CxKEUOtKQClMK/MimZihKYMruSMViUo=
|
go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA=
|
||||||
go.opentelemetry.io/otel v1.28.0/go.mod h1:q68ijF8Fc8CnMHKyzqL6akLO46ePnjkgfIMIjUIX9z4=
|
go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A=
|
||||||
|
go.opentelemetry.io/otel v1.35.0 h1:xKWKPxrxB6OtMCbmMY021CqC45J+3Onta9MqjhnusiQ=
|
||||||
|
go.opentelemetry.io/otel v1.35.0/go.mod h1:UEqy8Zp11hpkUrL73gSlELM0DupHoiq72dR+Zqel/+Y=
|
||||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4=
|
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4=
|
||||||
go.opentelemetry.io/otel/exporters/jaeger v1.17.0/go.mod h1:nPCqOnEH9rNLKqH/+rrUjiMzHJdV1BlpKcTwRTyKkKI=
|
go.opentelemetry.io/otel/exporters/jaeger v1.17.0/go.mod h1:nPCqOnEH9rNLKqH/+rrUjiMzHJdV1BlpKcTwRTyKkKI=
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 h1:3Q/xZUyC1BBkualc9ROb4G8qkH90LXEIICcs5zv1OYY=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 h1:1fTNlAIJZGWLP5FVu0fikVry1IsiUnXjf7QFvoNN3Xw=
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0/go.mod h1:s75jGIWA9OfCMzF0xr+ZgfrB5FEbbV7UuYo32ahUiFI=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0/go.mod h1:zjPK58DtkqQFn+YUMbx0M2XV3QgKU0gS9LeGohREyK4=
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0 h1:R3X6ZXmNPRR8ul6i3WgFURCHzaXjHdm0karRG/+dj3s=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0 h1:m639+BofXTvcY1q8CGs4ItwQarYtJPOWmVobfM1HpVI=
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.28.0/go.mod h1:QWFXnDavXWwMx2EEcZsf3yxgEKAqsxQ+Syjp+seyInw=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0/go.mod h1:LjReUci/F4BUyv+y4dwnq3h/26iNOeC3wAIqgvTIZVo=
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 h1:j9+03ymgYhPKmeXGk5Zu+cIZOlVzd9Zv7QIiyItjFBU=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0 h1:xJ2qHD0C1BeYVTLLR9sX12+Qb95kfeD/byKj6Ky1pXg=
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0/go.mod h1:Y5+XiUG4Emn1hTfciPzGPJaSI+RpDts6BnCIir0SLqk=
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0/go.mod h1:u5BF1xyjstDowA1R5QAO9JHzqK+ublenEW/dyqTjBVk=
|
||||||
go.opentelemetry.io/otel/exporters/prometheus v0.50.0 h1:2Ewsda6hejmbhGFyUvWZjUThC98Cf8Zy6g0zkIimOng=
|
go.opentelemetry.io/otel/exporters/prometheus v0.57.0 h1:AHh/lAP1BHrY5gBwk8ncc25FXWm/gmmY3BX258z5nuk=
|
||||||
go.opentelemetry.io/otel/exporters/prometheus v0.50.0/go.mod h1:pMm5PkUo5YwbLiuEf7t2xg4wbP0/eSJrMxIMxKosynY=
|
go.opentelemetry.io/otel/exporters/prometheus v0.57.0/go.mod h1:QpFWz1QxqevfjwzYdbMb4Y1NnlJvqSGwyuU0B4iuc9c=
|
||||||
go.opentelemetry.io/otel/metric v1.28.0 h1:f0HGvSl1KRAU1DLgLGFjrwVyismPlnuU6JD6bOeuA5Q=
|
go.opentelemetry.io/otel/metric v1.35.0 h1:0znxYu2SNyuMSQT4Y9WDWej0VpcsxkuklLa4/siN90M=
|
||||||
go.opentelemetry.io/otel/metric v1.28.0/go.mod h1:Fb1eVBFZmLVTMb6PPohq3TO9IIhUisDsbJoL/+uQW4s=
|
go.opentelemetry.io/otel/metric v1.35.0/go.mod h1:nKVFgxBZ2fReX6IlyW28MgZojkoAkJGaE8CpgeAU3oE=
|
||||||
go.opentelemetry.io/otel/sdk v1.28.0 h1:b9d7hIry8yZsgtbmM0DKyPWMMUMlK9NEKuIG4aBqWyE=
|
go.opentelemetry.io/otel/sdk v1.35.0 h1:iPctf8iprVySXSKJffSS79eOjl9pvxV9ZqOWT0QejKY=
|
||||||
go.opentelemetry.io/otel/sdk v1.28.0/go.mod h1:oYj7ClPUA7Iw3m+r7GeEjz0qckQRJK2B8zjcZEfu7Pg=
|
go.opentelemetry.io/otel/sdk v1.35.0/go.mod h1:+ga1bZliga3DxJ3CQGg3updiaAJoNECOgJREo9KHGQg=
|
||||||
go.opentelemetry.io/otel/sdk/metric v1.28.0 h1:OkuaKgKrgAbYrrY0t92c+cC+2F6hsFNnCQArXCKlg08=
|
go.opentelemetry.io/otel/sdk/metric v1.35.0 h1:1RriWBmCKgkeHEhM7a2uMjMUfP7MsOF5JpUCaEqEI9o=
|
||||||
go.opentelemetry.io/otel/sdk/metric v1.28.0/go.mod h1:cWPjykihLAPvXKi4iZc1dpER3Jdq2Z0YLse3moQUCpg=
|
go.opentelemetry.io/otel/sdk/metric v1.35.0/go.mod h1:is6XYCUMpcKi+ZsOvfluY5YstFnhW0BidkR+gL+qN+w=
|
||||||
go.opentelemetry.io/otel/trace v1.28.0 h1:GhQ9cUuQGmNDd5BTCP2dAvv75RdMxEfTmYejp+lkx9g=
|
go.opentelemetry.io/otel/trace v1.35.0 h1:dPpEfJu1sDIqruz7BHFG3c7528f6ddfSWfFDVt/xgMs=
|
||||||
go.opentelemetry.io/otel/trace v1.28.0/go.mod h1:jPyXzNPg6da9+38HEwElrQiHlVMTnVfM3/yv2OlIHaI=
|
go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc=
|
||||||
go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0=
|
go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4=
|
||||||
go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8=
|
go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4=
|
||||||
go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ=
|
go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ=
|
||||||
go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
|
||||||
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
|
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
|
||||||
|
@ -224,10 +231,10 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
|
||||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||||
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
|
||||||
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
|
golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8=
|
||||||
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
|
golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk=
|
||||||
golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs=
|
golang.org/x/oauth2 v0.26.0 h1:afQXWNNaeC4nvZ0Ed9XvCCzXM6UHJG7iCg0W4fPqSBE=
|
||||||
golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
|
golang.org/x/oauth2 v0.26.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
|
||||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||||
|
@ -236,14 +243,14 @@ golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
|
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
|
||||||
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||||
golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA=
|
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU=
|
||||||
golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0=
|
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s=
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||||
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
|
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
|
||||||
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
|
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=
|
||||||
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
|
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
|
||||||
golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
|
golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
|
||||||
golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||||
|
@ -265,14 +272,14 @@ gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJ
|
||||||
gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0=
|
gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0=
|
||||||
gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw=
|
gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw=
|
||||||
gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc=
|
gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc=
|
||||||
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 h1:0+ozOGcrp+Y8Aq8TLNN2Aliibms5LEzsq99ZZmAGYm0=
|
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a h1:nwKuGPlUAt+aR+pcrkfFRrTU1BVrSmYyYMxYbUIVHr0=
|
||||||
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094/go.mod h1:fJ/e3If/Q67Mj99hin0hMhiNyCRmt6BQ2aWIJshUSJw=
|
google.golang.org/genproto/googleapis/api v0.0.0-20250218202821-56aae31c358a/go.mod h1:3kWAYMk1I75K4vykHtKt2ycnOgpA6974V7bREqbsenU=
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 h1:BwIjyKYGsK9dMCBOorzRri8MQwmi7mT9rGHsCEinZkA=
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a h1:51aaUVRocpvUOSQKM6Q7VuoaktNIaMCLuhZB6DKksq4=
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY=
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a/go.mod h1:uRxBH1mhmO8PGhU89cMcHaXKZqO+OfakD8QQO0oYwlQ=
|
||||||
google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc=
|
google.golang.org/grpc v1.71.0 h1:kF77BGdPTQ4/JZWMlb9VpJ5pa25aqvVqogsxNHHdeBg=
|
||||||
google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ=
|
google.golang.org/grpc v1.71.0/go.mod h1:H0GRtasmQOh9LkFoCPDu3ZrwUtD1YGE+b2vYBYd/8Ec=
|
||||||
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
|
google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM=
|
||||||
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
|
google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
||||||
|
|
|
@ -28,7 +28,7 @@ func AddFlags(cmd *cobra.Command) {
|
||||||
cmd.Flags().String("jaeger-spark-dependencies-image", "ghcr.io/jaegertracing/spark-dependencies/spark-dependencies", "The Docker image for the Spark Dependencies Job")
|
cmd.Flags().String("jaeger-spark-dependencies-image", "ghcr.io/jaegertracing/spark-dependencies/spark-dependencies", "The Docker image for the Spark Dependencies Job")
|
||||||
cmd.Flags().String("jaeger-es-index-cleaner-image", "jaegertracing/jaeger-es-index-cleaner", "The Docker image for the Jaeger Elasticsearch Index Cleaner")
|
cmd.Flags().String("jaeger-es-index-cleaner-image", "jaegertracing/jaeger-es-index-cleaner", "The Docker image for the Jaeger Elasticsearch Index Cleaner")
|
||||||
cmd.Flags().String("jaeger-es-rollover-image", "jaegertracing/jaeger-es-rollover", "The Docker image for the Jaeger Elasticsearch Rollover")
|
cmd.Flags().String("jaeger-es-rollover-image", "jaegertracing/jaeger-es-rollover", "The Docker image for the Jaeger Elasticsearch Rollover")
|
||||||
cmd.Flags().String(v1.FlagOpenShiftOauthProxyImage, "quay.io/openshift/origin-oauth-proxy:4.12", "The Docker image location definition for the OpenShift OAuth Proxy")
|
cmd.Flags().String(v1.FlagOpenShiftOauthProxyImage, "quay.io/openshift/origin-oauth-proxy:4.14", "The Docker image location definition for the OpenShift OAuth Proxy")
|
||||||
cmd.Flags().String("openshift-oauth-proxy-imagestream-ns", "", "The namespace for the OpenShift OAuth Proxy imagestream")
|
cmd.Flags().String("openshift-oauth-proxy-imagestream-ns", "", "The namespace for the OpenShift OAuth Proxy imagestream")
|
||||||
cmd.Flags().String("openshift-oauth-proxy-imagestream-name", "", "The name for the OpenShift OAuth Proxy imagestream")
|
cmd.Flags().String("openshift-oauth-proxy-imagestream-name", "", "The name for the OpenShift OAuth Proxy imagestream")
|
||||||
cmd.Flags().String("platform", v1.FlagPlatformAutoDetect, "The target platform the operator will run. Possible values: 'kubernetes', 'openshift', 'auto-detect'")
|
cmd.Flags().String("platform", v1.FlagPlatformAutoDetect, "The target platform the operator will run. Possible values: 'kubernetes', 'openshift', 'auto-detect'")
|
||||||
|
|
|
@ -25,18 +25,3 @@ func TestUpdateWithTLSSecret(t *testing.T) {
|
||||||
assert.Equal(t, "--collector.grpc.tls.cert=/etc/tls-config/tls.crt", options[1])
|
assert.Equal(t, "--collector.grpc.tls.cert=/etc/tls-config/tls.crt", options[1])
|
||||||
assert.Equal(t, "--collector.grpc.tls.key=/etc/tls-config/tls.key", options[2])
|
assert.Equal(t, "--collector.grpc.tls.key=/etc/tls-config/tls.key", options[2])
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestIgnoreDefaultTLSSecretWhenGrpcHostPortIsSet(t *testing.T) {
|
|
||||||
jaeger := v1.NewJaeger(types.NamespacedName{Name: "TestIgnoreDefaultTLSSecretWhenGrpcHostPortIsSet"})
|
|
||||||
autodetect.OperatorConfiguration.SetPlatform(autodetect.OpenShiftPlatform)
|
|
||||||
|
|
||||||
commonSpec := v1.JaegerCommonSpec{}
|
|
||||||
options := []string{}
|
|
||||||
options = append(options, "--reporter.grpc.host-port=my.host-port.com")
|
|
||||||
|
|
||||||
Update(jaeger, &commonSpec, &options)
|
|
||||||
assert.Empty(t, commonSpec.Volumes)
|
|
||||||
assert.Empty(t, commonSpec.VolumeMounts)
|
|
||||||
assert.Len(t, options, 1)
|
|
||||||
assert.Equal(t, "--reporter.grpc.host-port=my.host-port.com", options[0])
|
|
||||||
}
|
|
||||||
|
|
|
@ -146,7 +146,7 @@ func (a *Agent) Get() *appsv1.DaemonSet {
|
||||||
Spec: corev1.PodSpec{
|
Spec: corev1.PodSpec{
|
||||||
ImagePullSecrets: a.jaeger.Spec.Agent.ImagePullSecrets,
|
ImagePullSecrets: a.jaeger.Spec.Agent.ImagePullSecrets,
|
||||||
Containers: []corev1.Container{{
|
Containers: []corev1.Container{{
|
||||||
Image: util.ImageName(a.jaeger.Spec.Agent.Image, "jaeger-agent-image"),
|
Image: util.AgentImageName(a.jaeger.Spec.Agent.Image, "jaeger-agent-image"),
|
||||||
Name: "jaeger-agent-daemonset",
|
Name: "jaeger-agent-daemonset",
|
||||||
Args: args,
|
Args: args,
|
||||||
Env: proxy.ReadProxyVarsFromEnv(),
|
Env: proxy.ReadProxyVarsFromEnv(),
|
||||||
|
|
|
@ -50,7 +50,7 @@ func TestDefaultAgentImage(t *testing.T) {
|
||||||
|
|
||||||
d := NewAgent(jaeger).Get()
|
d := NewAgent(jaeger).Get()
|
||||||
assert.Empty(t, jaeger.Spec.Agent.Image)
|
assert.Empty(t, jaeger.Spec.Agent.Image)
|
||||||
assert.Equal(t, "org/custom-agent-image:"+version.Get().Jaeger, d.Spec.Template.Spec.Containers[0].Image)
|
assert.Equal(t, "org/custom-agent-image:"+version.Get().Agent, d.Spec.Template.Spec.Containers[0].Image)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGetDefaultAgentDeployment(t *testing.T) {
|
func TestGetDefaultAgentDeployment(t *testing.T) {
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
package deployment
|
package deployment
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
|
@ -13,7 +12,6 @@ import (
|
||||||
|
|
||||||
v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
|
v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/account"
|
"github.com/jaegertracing/jaeger-operator/pkg/account"
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/autodetect"
|
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/config/ca"
|
"github.com/jaegertracing/jaeger-operator/pkg/config/ca"
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/config/sampling"
|
"github.com/jaegertracing/jaeger-operator/pkg/config/sampling"
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/config/tls"
|
"github.com/jaegertracing/jaeger-operator/pkg/config/tls"
|
||||||
|
@ -78,18 +76,6 @@ func (a *AllInOne) Get() *appsv1.Deployment {
|
||||||
ca.AddServiceCA(a.jaeger, commonSpec)
|
ca.AddServiceCA(a.jaeger, commonSpec)
|
||||||
storage.UpdateGRPCPlugin(a.jaeger, commonSpec)
|
storage.UpdateGRPCPlugin(a.jaeger, commonSpec)
|
||||||
|
|
||||||
// Enable tls by default for openshift platform
|
|
||||||
// even though the agent is in the same process as the collector, they communicate via gRPC, and the collector has TLS enabled,
|
|
||||||
// as it might receive connections from external agents
|
|
||||||
if autodetect.OperatorConfiguration.GetPlatform() == autodetect.OpenShiftPlatform {
|
|
||||||
if len(util.FindItem("--reporter.grpc.host-port=", options)) == 0 &&
|
|
||||||
len(util.FindItem("--reporter.grpc.tls.enabled=", options)) == 0 {
|
|
||||||
options = append(options, "--reporter.grpc.tls.enabled=true")
|
|
||||||
options = append(options, fmt.Sprintf("--reporter.grpc.tls.ca=%s", ca.ServiceCAPath))
|
|
||||||
options = append(options, fmt.Sprintf("--reporter.grpc.tls.server-name=%s.%s.svc.cluster.local", service.GetNameForHeadlessCollectorService(a.jaeger), a.jaeger.Namespace))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ensure we have a consistent order of the arguments
|
// ensure we have a consistent order of the arguments
|
||||||
// see https://github.com/jaegertracing/jaeger-operator/issues/334
|
// see https://github.com/jaegertracing/jaeger-operator/issues/334
|
||||||
sort.Strings(options)
|
sort.Strings(options)
|
||||||
|
|
|
@ -398,42 +398,20 @@ func TestAllInOneArgumentsOpenshiftTLS(t *testing.T) {
|
||||||
"--collector.grpc.tls.cert=/etc/tls-config/tls.crt",
|
"--collector.grpc.tls.cert=/etc/tls-config/tls.crt",
|
||||||
"--collector.grpc.tls.key=/etc/tls-config/tls.key",
|
"--collector.grpc.tls.key=/etc/tls-config/tls.key",
|
||||||
"--sampling.strategies-file",
|
"--sampling.strategies-file",
|
||||||
"--reporter.grpc.tls.ca",
|
|
||||||
"--reporter.grpc.tls.enabled",
|
|
||||||
"--reporter.grpc.tls.server-name",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Explicit disable TLS",
|
name: "Explicit disable TLS",
|
||||||
options: v1.NewOptions(map[string]interface{}{
|
options: v1.NewOptions(map[string]interface{}{
|
||||||
"a-option": "a-value",
|
"a-option": "a-value",
|
||||||
"reporter.grpc.tls.enabled": "false",
|
|
||||||
"collector.grpc.tls.enabled": "false",
|
"collector.grpc.tls.enabled": "false",
|
||||||
}),
|
}),
|
||||||
expectedArgs: []string{
|
expectedArgs: []string{
|
||||||
"--a-option=a-value",
|
"--a-option=a-value",
|
||||||
"--reporter.grpc.tls.enabled=false",
|
|
||||||
"--collector.grpc.tls.enabled=false",
|
"--collector.grpc.tls.enabled=false",
|
||||||
"--sampling.strategies-file",
|
"--sampling.strategies-file",
|
||||||
},
|
},
|
||||||
nonExpectedArgs: []string{
|
nonExpectedArgs: []string{
|
||||||
"--reporter.grpc.tls.enabled=true",
|
|
||||||
"--collector.grpc.tls.enabled=true",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Do not implicitly enable TLS when grpc.host-port is provided",
|
|
||||||
options: v1.NewOptions(map[string]interface{}{
|
|
||||||
"a-option": "a-value",
|
|
||||||
"reporter.grpc.host-port": "my.host-port.com",
|
|
||||||
}),
|
|
||||||
expectedArgs: []string{
|
|
||||||
"--a-option=a-value",
|
|
||||||
"--reporter.grpc.host-port=my.host-port.com",
|
|
||||||
"--sampling.strategies-file",
|
|
||||||
},
|
|
||||||
nonExpectedArgs: []string{
|
|
||||||
"--reporter.grpc.tls.enabled=true",
|
|
||||||
"--collector.grpc.tls.enabled=true",
|
"--collector.grpc.tls.enabled=true",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -39,7 +39,7 @@ func OAuthProxy(jaeger *v1.Jaeger, dep *appsv1.Deployment) *appsv1.Deployment {
|
||||||
|
|
||||||
func proxyInitArguments(jaeger *v1.Jaeger) []string {
|
func proxyInitArguments(jaeger *v1.Jaeger) []string {
|
||||||
secret := util.GenerateProxySecret()
|
secret := util.GenerateProxySecret()
|
||||||
return []string{
|
args := []string{
|
||||||
fmt.Sprintf("--cookie-secret=%s", secret),
|
fmt.Sprintf("--cookie-secret=%s", secret),
|
||||||
"--https-address=:8443",
|
"--https-address=:8443",
|
||||||
fmt.Sprintf("--openshift-service-account=%s", account.OAuthProxyAccountNameFor(jaeger)),
|
fmt.Sprintf("--openshift-service-account=%s", account.OAuthProxyAccountNameFor(jaeger)),
|
||||||
|
@ -48,6 +48,10 @@ func proxyInitArguments(jaeger *v1.Jaeger) []string {
|
||||||
"--tls-key=/etc/tls/private/tls.key",
|
"--tls-key=/etc/tls/private/tls.key",
|
||||||
"--upstream=http://localhost:16686",
|
"--upstream=http://localhost:16686",
|
||||||
}
|
}
|
||||||
|
if jaeger.Spec.Ingress.Openshift.Timeout != nil {
|
||||||
|
args = append(args, fmt.Sprintf("--upstream-timeout=%s", (*jaeger.Spec.Ingress.Openshift.Timeout).Duration.String()))
|
||||||
|
}
|
||||||
|
return args
|
||||||
}
|
}
|
||||||
|
|
||||||
func getOAuthProxyContainer(jaeger *v1.Jaeger) corev1.Container {
|
func getOAuthProxyContainer(jaeger *v1.Jaeger) corev1.Container {
|
||||||
|
|
|
@ -4,20 +4,21 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
"time"
|
||||||
v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
|
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/autodetect"
|
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/config/ca"
|
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/util"
|
|
||||||
|
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
corev1 "k8s.io/api/core/v1"
|
corev1 "k8s.io/api/core/v1"
|
||||||
"k8s.io/apimachinery/pkg/api/resource"
|
"k8s.io/apimachinery/pkg/api/resource"
|
||||||
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
"k8s.io/apimachinery/pkg/types"
|
"k8s.io/apimachinery/pkg/types"
|
||||||
|
|
||||||
|
v1 "github.com/jaegertracing/jaeger-operator/apis/v1"
|
||||||
|
"github.com/jaegertracing/jaeger-operator/pkg/autodetect"
|
||||||
|
"github.com/jaegertracing/jaeger-operator/pkg/config/ca"
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/deployment"
|
"github.com/jaegertracing/jaeger-operator/pkg/deployment"
|
||||||
"github.com/jaegertracing/jaeger-operator/pkg/service"
|
"github.com/jaegertracing/jaeger-operator/pkg/service"
|
||||||
|
"github.com/jaegertracing/jaeger-operator/pkg/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestOAuthProxyContainerIsNotAddedByDefault(t *testing.T) {
|
func TestOAuthProxyContainerIsNotAddedByDefault(t *testing.T) {
|
||||||
|
@ -80,6 +81,25 @@ func TestOAuthProxyWithCustomSAR(t *testing.T) {
|
||||||
assert.True(t, found)
|
assert.True(t, found)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestOAuthProxyWithTimeout(t *testing.T) {
|
||||||
|
jaeger := v1.NewJaeger(types.NamespacedName{Name: "my-instance"})
|
||||||
|
jaeger.Spec.Ingress.Security = v1.IngressSecurityOAuthProxy
|
||||||
|
|
||||||
|
timeout := metav1.Duration{
|
||||||
|
Duration: time.Second * 70,
|
||||||
|
}
|
||||||
|
jaeger.Spec.Ingress.Openshift.Timeout = &timeout
|
||||||
|
dep := OAuthProxy(jaeger, deployment.NewQuery(jaeger).Get())
|
||||||
|
|
||||||
|
found := false
|
||||||
|
for _, a := range dep.Spec.Template.Spec.Containers[1].Args {
|
||||||
|
if a == "--upstream-timeout=1m10s" {
|
||||||
|
found = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
assert.True(t, found)
|
||||||
|
}
|
||||||
|
|
||||||
func TestOAuthProxyWithHtpasswdFile(t *testing.T) {
|
func TestOAuthProxyWithHtpasswdFile(t *testing.T) {
|
||||||
jaeger := v1.NewJaeger(types.NamespacedName{Name: "my-instance"})
|
jaeger := v1.NewJaeger(types.NamespacedName{Name: "my-instance"})
|
||||||
jaeger.Spec.Ingress.Security = v1.IngressSecurityOAuthProxy
|
jaeger.Spec.Ingress.Security = v1.IngressSecurityOAuthProxy
|
||||||
|
|
|
@ -301,7 +301,7 @@ func container(jaeger *v1.Jaeger, dep *appsv1.Deployment, agentIdx int) corev1.C
|
||||||
dep.Spec.Template.Spec.ImagePullSecrets = util.RemoveDuplicatedImagePullSecrets(append(dep.Spec.Template.Spec.ImagePullSecrets, jaeger.Spec.Agent.ImagePullSecrets...))
|
dep.Spec.Template.Spec.ImagePullSecrets = util.RemoveDuplicatedImagePullSecrets(append(dep.Spec.Template.Spec.ImagePullSecrets, jaeger.Spec.Agent.ImagePullSecrets...))
|
||||||
dep.Spec.Template.Spec.Volumes = util.RemoveDuplicatedVolumes(append(dep.Spec.Template.Spec.Volumes, volumesAndMountsSpec.Volumes...))
|
dep.Spec.Template.Spec.Volumes = util.RemoveDuplicatedVolumes(append(dep.Spec.Template.Spec.Volumes, volumesAndMountsSpec.Volumes...))
|
||||||
containerDefinition := corev1.Container{
|
containerDefinition := corev1.Container{
|
||||||
Image: util.ImageName(jaeger.Spec.Agent.Image, "jaeger-agent-image"),
|
Image: util.AgentImageName(jaeger.Spec.Agent.Image, "jaeger-agent-image"),
|
||||||
Name: "jaeger-agent",
|
Name: "jaeger-agent",
|
||||||
Args: args,
|
Args: args,
|
||||||
Env: envs,
|
Env: envs,
|
||||||
|
|
|
@ -63,9 +63,10 @@ func (r *QueryRoute) Get() *corev1.Route {
|
||||||
APIVersion: "route.openshift.io/v1",
|
APIVersion: "route.openshift.io/v1",
|
||||||
},
|
},
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Name: name,
|
Name: name,
|
||||||
Namespace: r.jaeger.Namespace,
|
Namespace: r.jaeger.Namespace,
|
||||||
Labels: util.Labels(r.jaeger.Name, "query-route", *r.jaeger),
|
Labels: util.Labels(r.jaeger.Name, "query-route", *r.jaeger),
|
||||||
|
Annotations: r.jaeger.Spec.Ingress.Annotations,
|
||||||
OwnerReferences: []metav1.OwnerReference{
|
OwnerReferences: []metav1.OwnerReference{
|
||||||
{
|
{
|
||||||
APIVersion: r.jaeger.APIVersion,
|
APIVersion: r.jaeger.APIVersion,
|
||||||
|
|
|
@ -48,11 +48,13 @@ func TestQueryRouteEnabled(t *testing.T) {
|
||||||
func TestQueryRouteWithOAuthProxy(t *testing.T) {
|
func TestQueryRouteWithOAuthProxy(t *testing.T) {
|
||||||
jaeger := v1.NewJaeger(types.NamespacedName{Name: "TestQueryRouteWithOAuthProxy"})
|
jaeger := v1.NewJaeger(types.NamespacedName{Name: "TestQueryRouteWithOAuthProxy"})
|
||||||
jaeger.Spec.Ingress.Security = v1.IngressSecurityOAuthProxy
|
jaeger.Spec.Ingress.Security = v1.IngressSecurityOAuthProxy
|
||||||
|
jaeger.Spec.Ingress.Annotations = map[string]string{"timeout": "10s"}
|
||||||
route := NewQueryRoute(jaeger)
|
route := NewQueryRoute(jaeger)
|
||||||
|
|
||||||
r := route.Get()
|
r := route.Get()
|
||||||
assert.Equal(t, corev1.TLSTerminationReencrypt, r.Spec.TLS.Termination)
|
assert.Equal(t, corev1.TLSTerminationReencrypt, r.Spec.TLS.Termination)
|
||||||
assert.Equal(t, intstr.FromString("https-query"), r.Spec.Port.TargetPort)
|
assert.Equal(t, intstr.FromString("https-query"), r.Spec.Port.TargetPort)
|
||||||
|
assert.Equal(t, map[string]string{"timeout": "10s"}, r.Annotations)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestQueryRouteWithoutOAuthProxy(t *testing.T) {
|
func TestQueryRouteWithoutOAuthProxy(t *testing.T) {
|
||||||
|
|
|
@ -286,6 +286,18 @@ func ImageName(image, param string) string {
|
||||||
return image
|
return image
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func AgentImageName(image, param string) string {
|
||||||
|
if image == "" {
|
||||||
|
param := viper.GetString(param)
|
||||||
|
if strings.IndexByte(param, ':') == -1 {
|
||||||
|
image = fmt.Sprintf("%s:%s", param, version.Get().Agent)
|
||||||
|
} else {
|
||||||
|
image = param
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return image
|
||||||
|
}
|
||||||
|
|
||||||
// RemoveEmptyVars removes empty variables from the input slice.
|
// RemoveEmptyVars removes empty variables from the input slice.
|
||||||
func RemoveEmptyVars(envVars []corev1.EnvVar) []corev1.EnvVar {
|
func RemoveEmptyVars(envVars []corev1.EnvVar) []corev1.EnvVar {
|
||||||
var notEmpty []corev1.EnvVar
|
var notEmpty []corev1.EnvVar
|
||||||
|
|
|
@ -10,6 +10,7 @@ var (
|
||||||
version string
|
version string
|
||||||
buildDate string
|
buildDate string
|
||||||
defaultJaeger string
|
defaultJaeger string
|
||||||
|
defaultAgent string
|
||||||
)
|
)
|
||||||
|
|
||||||
// Version holds this Operator's version as well as the version of some of the components it uses
|
// Version holds this Operator's version as well as the version of some of the components it uses
|
||||||
|
@ -17,6 +18,7 @@ type Version struct {
|
||||||
Operator string `json:"jaeger-operator"`
|
Operator string `json:"jaeger-operator"`
|
||||||
BuildDate string `json:"build-date"`
|
BuildDate string `json:"build-date"`
|
||||||
Jaeger string `json:"jaeger-version"`
|
Jaeger string `json:"jaeger-version"`
|
||||||
|
Agent string `json:"agent-version"`
|
||||||
Go string `json:"go-version"`
|
Go string `json:"go-version"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,6 +28,7 @@ func Get() Version {
|
||||||
Operator: version,
|
Operator: version,
|
||||||
BuildDate: buildDate,
|
BuildDate: buildDate,
|
||||||
Jaeger: DefaultJaeger(),
|
Jaeger: DefaultJaeger(),
|
||||||
|
Agent: DefaultAgent(),
|
||||||
Go: runtime.Version(),
|
Go: runtime.Version(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -51,6 +54,17 @@ func DefaultJaeger() string {
|
||||||
return "0.0.0"
|
return "0.0.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DefaultAgent returns the default Jaeger to use when no versions are specified via CLI or configuration
|
||||||
|
func DefaultAgent() string {
|
||||||
|
if len(defaultAgent) > 0 {
|
||||||
|
// this should always be set, as it's specified during the build
|
||||||
|
return defaultAgent
|
||||||
|
}
|
||||||
|
|
||||||
|
// fallback value, useful for tests
|
||||||
|
return "0.0.0"
|
||||||
|
}
|
||||||
|
|
||||||
// DefaultJaegerMajorMinor returns the major.minor format of the default Jaeger version
|
// DefaultJaegerMajorMinor returns the major.minor format of the default Jaeger version
|
||||||
func DefaultJaegerMajorMinor() string {
|
func DefaultJaegerMajorMinor() string {
|
||||||
version := DefaultJaeger()
|
version := DefaultJaeger()
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# The Dockerfile's resulting image is purpose-built for executing Jaeger Operator e2e tests within the OpenShift release (https://github.com/openshift/release) using Prow CI.
|
# The Dockerfile's resulting image is purpose-built for executing Jaeger Operator e2e tests within the OpenShift release (https://github.com/openshift/release) using Prow CI.
|
||||||
FROM golang@sha256:2bd56f00ff47baf33e64eae7996b65846c7cb5e0a46e0a882ef179fd89654afa
|
FROM golang@sha256:c5adecdb7b3f8c5ca3c88648a861882849cc8b02fed68ece31e25de88ad13418
|
||||||
|
|
||||||
# Set the user to root
|
# Set the user to root
|
||||||
USER root
|
USER root
|
||||||
|
|
|
@ -46,10 +46,7 @@ items:
|
||||||
terminationGracePeriodSeconds: 1800
|
terminationGracePeriodSeconds: 1800
|
||||||
containers:
|
containers:
|
||||||
- name: cassandra
|
- name: cassandra
|
||||||
image: cassandra:3.11
|
image: cassandra:5.0
|
||||||
command:
|
|
||||||
- /docker-entrypoint.sh
|
|
||||||
- "-R"
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 7000
|
- containerPort: 7000
|
||||||
name: intra-node
|
name: intra-node
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# The Jaeger version to use by default. This is updated manually. Make sure to update the changelog
|
# The Jaeger version to use by default. This is updated manually. Make sure to update the changelog
|
||||||
# and add an upgrade procedure (pkg/upgrade) for the new version.
|
# and add an upgrade procedure (pkg/upgrade) for the new version.
|
||||||
jaeger=1.60.0
|
jaeger=1.65.0
|
||||||
|
|
||||||
# DO NOT EDIT the next value, it is updated automatically during the release.
|
# DO NOT EDIT the next value, it is updated automatically during the release.
|
||||||
# Represents the current (latest) release of the Jaeger Operator.
|
# Represents the current (latest) release of the Jaeger Operator.
|
||||||
operator=1.60.0
|
operator=1.65.0
|
||||||
|
|
Loading…
Reference in New Issue