Skip to content

Commit ae835ef

Browse files
committed
revert 1
1 parent 7dd0b17 commit ae835ef

File tree

283 files changed

+13843
-30266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+13843
-30266
lines changed

.tekton/flowlogs-pipeline-ystream-push.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ metadata:
77
build.appstudio.redhat.com/commit_sha: '{{revision}}'
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
# TODO: re-enable after 1.9 release
11-
# pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main"
12-
pipelinesascode.tekton.dev/on-cel-expression: false
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11+
== "main"
1312
creationTimestamp: null
1413
labels:
1514
appstudio.openshift.io/application: netobserv-ystream

.tekton/pipeline-ref.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ spec:
155155
- name: name
156156
value: prefetch-dependencies-oci-ta
157157
- name: bundle
158-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:3db5d3a02bcbbc034080474c06bec8388bd6abc71606503ac4832f6890e71503
158+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:d48c621ae828a3cbca162e12ec166210d2d77a7ba23b0e5d60c4a1b94491adeb
159159
- name: kind
160160
value: task
161161
resolver: bundles
@@ -237,7 +237,7 @@ spec:
237237
- name: name
238238
value: build-image-index
239239
- name: bundle
240-
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:1b357f2ed430d18a009740a1783dd15af70ce1e23dc6254da1a83e9ec595d5be
240+
value: quay.io/konflux-ci/tekton-catalog/task-build-image-index:0.1@sha256:462ecbf94ec44a8b770d6ef8838955f91f57ee79795e5c18bdc0fcb0df593742
241241
- name: kind
242242
value: task
243243
resolver: bundles
@@ -288,7 +288,7 @@ spec:
288288
- name: name
289289
value: deprecated-image-check
290290
- name: bundle
291-
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:ecd33669676b3a193ff4c2c6223cb912cc1b0cf5cc36e080eaec7718500272cf
291+
value: quay.io/konflux-ci/tekton-catalog/task-deprecated-image-check:0.5@sha256:eb8136b543147b4a3e88ca3cc661ca6a11e303f35f0db44059f69151beea8496
292292
- name: kind
293293
value: task
294294
resolver: bundles
@@ -310,7 +310,7 @@ spec:
310310
- name: name
311311
value: rpms-signature-scan
312312
- name: bundle
313-
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:297c2d8928aa3b114fcb1ba5d9da8b10226b68fed30706e78a6a5089c6cd30e3
313+
value: quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan:0.2@sha256:2366b2f394610192736dd8edac1a702964daeb961603dfc9ceb6b8188e39a009
314314
- name: kind
315315
value: task
316316
resolver: bundles
@@ -332,7 +332,7 @@ spec:
332332
- name: name
333333
value: clair-scan
334334
- name: bundle
335-
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:878ae247ffc58d95a9ac68e4d658ef91ef039363e03e65a386bc0ead02d9d7d8
335+
value: quay.io/konflux-ci/tekton-catalog/task-clair-scan:0.2@sha256:7c73e2beca9b8306387efeaf775831440ec799b05a5f5c008a65bb941a1e91f6
336336
- name: kind
337337
value: task
338338
resolver: bundles
@@ -352,7 +352,7 @@ spec:
352352
- name: name
353353
value: ecosystem-cert-preflight-checks
354354
- name: bundle
355-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:302828e9d7abc72b8a44fb2b9be068f86c982d8e5f4550b8bf654571d6361ee8
355+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:dea8d9b4bec3e99d612d799798acf132df48276164b5193ea68f9f3c25ae425b
356356
- name: kind
357357
value: task
358358
resolver: bundles
@@ -378,7 +378,7 @@ spec:
378378
- name: name
379379
value: sast-snyk-check-oci-ta
380380
- name: bundle
381-
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:6078ec8ec7caacbb8203138fcaa63db24e88dbf838544340bb0752d5b69f20ae
381+
value: quay.io/konflux-ci/tekton-catalog/task-sast-snyk-check-oci-ta:0.4@sha256:89aead32dc21404e4e0913be9668bdd2eea795db3e4caa762fb619044e479cb8
382382
- name: kind
383383
value: task
384384
resolver: bundles
@@ -450,7 +450,7 @@ spec:
450450
- name: name
451451
value: clamav-scan
452452
- name: bundle
453-
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:98d94290d6f21b6e231485326e3629bbcdec75c737b84e05ac9eac78f9a2c8b4
453+
value: quay.io/konflux-ci/tekton-catalog/task-clamav-scan:0.2@sha256:59094118aa07d5b0199565c4e0b2d0f4feb9a4741877c8716877572e2c4804f9
454454
- name: kind
455455
value: task
456456
resolver: bundles
@@ -470,7 +470,7 @@ spec:
470470
- name: name
471471
value: apply-tags
472472
- name: bundle
473-
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.1@sha256:9d9871143ab3a818f681488be6074f5b2f892c1843795a46f6daf3f5487e72d1
473+
value: quay.io/konflux-ci/tekton-catalog/task-apply-tags:0.1@sha256:3f89ba89cacf8547261b5ce064acce81bfe470c8ace127794d0e90aebc8c347d
474474
- name: kind
475475
value: task
476476
resolver: bundles
@@ -493,7 +493,7 @@ spec:
493493
- name: name
494494
value: push-dockerfile-oci-ta
495495
- name: bundle
496-
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:d0ee13ab3d9564f7ee806a8ceaced934db493a3a40e11ff6db3a912b8bbace95
496+
value: quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta:0.1@sha256:278f84550844c1c050a65536799f4b54e7c203e0ac51393aa75379dd974c82e9
497497
- name: kind
498498
value: task
499499
resolver: bundles

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ ifneq ($(CLEAN_BUILD),)
4242
endif
4343

4444
GOLANGCI_LINT_VERSION = v1.61.0
45-
KIND_VERSION = v0.22.0
4645

4746
FLP_BIN_FILE=flowlogs-pipeline
4847
CG_BIN_FILE=confgenerator
@@ -106,7 +105,7 @@ prereqs: ## Check if prerequisites are met, and install missing dependencies
106105
.PHONY: prereqs-kind
107106
prereqs-kind: ## Check if prerequisites are met for running kind, and install missing dependencies
108107
@echo "### Checking if KIND prerequisites are met, and installing missing dependencies"
109-
GOFLAGS="" go install sigs.k8s.io/kind@${KIND_VERSION}
108+
test -f $(shell go env GOPATH)/bin/kind || GOFLAGS="" go install sigs.k8s.io/kind@latest
110109

111110
.PHONY: vendors
112111
vendors: ## Check go vendors

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,11 @@ service name of `dstPort` port and `protocol` protocol. Unrecognized ports are i
446446
> Note: optionally supports custom network services resolution by defining configuration parameters
447447
> `servicesFile` and `protocolsFile` with paths to custom services/protocols files respectively
448448

449-
The rule `add_location` generates new fields with the geo-location information. It uses the [IP2Location LITE database](https://lite.ip2location.com/) in that purpose. All the geo-location fields will be named by prefixing the `output` value to their names in the IP2Location DB (e.g., `CountryName`, `CountryLongName`, `RegionName`, `CityName` , `Longitude` and `Latitude`).
449+
The rule `add_location` generates new fields with the geo-location information retrieved
450+
from DB [ip2location](https://lite.ip2location.com/) based on `dstIP` IP.
451+
All the geo-location fields will be named by appending `output` value
452+
(`dstLocation` in the example above) to their names in the [ip2location](https://lite.ip2location.com/ DB
453+
(e.g., `CountryName`, `CountryLongName`, `RegionName`, `CityName` , `Longitude` and `Latitude`)
450454

451455
The rule `add_kubernetes` generates new fields with kubernetes information by
452456
matching the `ipField` value (`srcIP` in the example above) with kubernetes `nodes`, `pods` and `services` IPs.
@@ -699,6 +703,8 @@ we can assume that it is the second step of the TCP handshake,
699703
the direction is from the server (source) to the client (destination) and we can swap them in the connection so the client will be the source and the server will be the destination.
700704
701705
706+
707+
702708
### Timebased TopK
703709
704710
It is sometimes desirable to return only a subset of records, such as those connections that use the most bandwidth.
@@ -949,7 +955,6 @@ Images
949955
image-push Push MULTIARCH_TARGETS images
950956
manifest-build Build MULTIARCH_TARGETS manifest
951957
manifest-push Push MULTIARCH_TARGETS manifest
952-
extract-binaries Extract all MULTIARCH_TARGETS binaries
953958
goyacc Regenerate filters query langage
954959
955960
kubernetes

contrib/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY pkg/ pkg/
1515
RUN CGO_ENABLED=0 GOARCH=$TARGETARCH go build -ldflags "$LDFLAGS" -mod vendor -o flowlogs-pipeline cmd/flowlogs-pipeline/main.go
1616

1717
# final stage
18-
FROM --platform=linux/$TARGETARCH registry.access.redhat.com/ubi9/ubi-minimal:9.6-1747218906
18+
FROM --platform=linux/$TARGETARCH registry.access.redhat.com/ubi9/ubi-minimal:9.5-1745855087
1919

2020
COPY --from=builder /app/flowlogs-pipeline /app/
2121

contrib/docker/Dockerfile.downstream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ENV GOEXPERIMENT strictfipsruntime
1616
RUN go build -tags strictfipsruntime -ldflags "-X 'main.BuildVersion=$BUILDVERSION' -X 'main.BuildDate=`date +%Y-%m-%d\ %H:%M`'" "./cmd/flowlogs-pipeline"
1717

1818
# final stage
19-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.6-1747218906
19+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5-1745855087
2020
ARG BUILDVERSION
2121

2222
WORKDIR /

contrib/location/location.db

-169 KB
Binary file not shown.

docs/api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ Following is the supported API format for filter transformations:
229229
input: entry input field
230230
value: specified value of input field:
231231
castInt: set true to cast the value field as an int (numeric values are float64 otherwise)
232-
samplingField: sampling field name to be set when sampling is used; if the field already exists in flows, its value is multiplied with the new sampling
233232
</pre>
234233
## Transform Network API
235234
Following is the supported API format for network transformations:
@@ -271,7 +270,6 @@ Following is the supported API format for network transformations:
271270
add_location: Add location rule configuration
272271
input: entry input field
273272
output: entry output field
274-
file_path: path of the location DB file (zip archive), from ip2location.com (Lite DB9); leave unset to try downloading the file at startup
275273
add_subnet_label: Add subnet label rule configuration
276274
input: entry input field
277275
output: entry output field

go.mod

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,35 @@ require (
1414
github.com/ip2location/ip2location-go/v9 v9.7.1
1515
github.com/json-iterator/go v1.1.12
1616
github.com/mariomac/guara v0.0.0-20250408105519-1e4dbdfb7136
17-
github.com/minio/minio-go/v7 v7.0.92
17+
github.com/minio/minio-go/v7 v7.0.91
1818
github.com/mitchellh/mapstructure v1.5.0
1919
github.com/netobserv/gopipes v0.3.0
2020
github.com/netobserv/loki-client-go v0.0.0-20250425113517-526b43e51847
21-
github.com/netobserv/netobserv-ebpf-agent v1.9.0-crc0.0.20250528064221-6f34e5b85d2c
21+
github.com/netobserv/netobserv-ebpf-agent v1.9.0-crc0.0.20250425123944-0cd2534ae7b0
2222
github.com/netsampler/goflow2 v1.3.7
2323
github.com/pkg/errors v0.9.1
2424
github.com/prometheus/client_golang v1.22.0
2525
github.com/prometheus/client_model v0.6.2
26-
github.com/prometheus/common v0.64.0
27-
github.com/segmentio/kafka-go v0.4.48
26+
github.com/prometheus/common v0.63.0
27+
github.com/segmentio/kafka-go v0.4.47
2828
github.com/sirupsen/logrus v1.9.3
2929
github.com/spf13/cobra v1.9.1
3030
github.com/spf13/pflag v1.0.6
3131
github.com/spf13/viper v1.20.1
3232
github.com/stretchr/testify v1.10.0
3333
github.com/vladimirvivien/gexe v0.5.0
3434
github.com/vmware/go-ipfix v0.14.0
35-
go.opentelemetry.io/otel v1.36.0
36-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.36.0
37-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.36.0
38-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0
39-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.36.0
40-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.36.0
41-
go.opentelemetry.io/otel/metric v1.36.0
42-
go.opentelemetry.io/otel/sdk v1.36.0
43-
go.opentelemetry.io/otel/sdk/metric v1.36.0
35+
go.opentelemetry.io/otel v1.35.0
36+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.35.0
37+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.35.0
38+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0
39+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0
40+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0
41+
go.opentelemetry.io/otel/metric v1.35.0
42+
go.opentelemetry.io/otel/sdk v1.35.0
43+
go.opentelemetry.io/otel/sdk/metric v1.35.0
4444
golang.org/x/net v0.40.0
45-
google.golang.org/grpc v1.72.2
45+
google.golang.org/grpc v1.72.0
4646
google.golang.org/protobuf v1.36.6
4747
gopkg.in/yaml.v2 v2.4.0
4848
k8s.io/api v0.32.3
@@ -51,8 +51,6 @@ require (
5151
sigs.k8s.io/e2e-framework v0.6.0
5252
)
5353

54-
require github.com/cenkalti/backoff/v5 v5.0.2 // indirect
55-
5654
require (
5755
github.com/beorn7/perks v1.0.1 // indirect
5856
github.com/blang/semver/v4 v4.0.0 // indirect
@@ -101,7 +99,7 @@ require (
10199
github.com/libp2p/go-reuseport v0.4.0 // indirect
102100
github.com/mailru/easyjson v0.9.0 // indirect
103101
github.com/mdlayher/ethernet v0.0.0-20220221185849-529eae5b6118 // indirect
104-
github.com/minio/crc64nvme v1.0.2 // indirect
102+
github.com/minio/crc64nvme v1.0.1 // indirect
105103
github.com/minio/md5-simd v1.1.2 // indirect
106104
github.com/moby/spdystream v0.5.0 // indirect
107105
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
@@ -112,14 +110,13 @@ require (
112110
github.com/ovn-org/libovsdb v0.7.1-0.20240820095311-ce1951614a20 // indirect
113111
github.com/ovn-org/ovn-kubernetes/go-controller v0.0.0-20250227173154-57a2590a1d16 // indirect
114112
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
115-
github.com/philhofer/fwd v1.1.3-0.20240916144458-20a13a1f6b7c // indirect
116113
github.com/pierrec/lz4/v4 v4.1.22 // indirect
117114
github.com/pion/dtls/v2 v2.2.12 // indirect
118115
github.com/pion/logging v0.2.3 // indirect
119116
github.com/pion/transport/v2 v2.2.10 // indirect
120117
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
121118
github.com/prometheus/procfs v0.16.1 // indirect
122-
github.com/prometheus/prometheus v0.304.0 // indirect
119+
github.com/prometheus/prometheus v0.303.0 // indirect
123120
github.com/rs/xid v1.6.0 // indirect
124121
github.com/russross/blackfriday/v2 v2.1.0 // indirect
125122
github.com/safchain/ethtool v0.5.10 // indirect
@@ -129,29 +126,28 @@ require (
129126
github.com/spf13/cast v1.7.1 // indirect
130127
github.com/stretchr/objx v0.5.2 // indirect
131128
github.com/subosito/gotenv v1.6.0 // indirect
132-
github.com/tinylib/msgp v1.3.0 // indirect
133129
github.com/urfave/cli/v2 v2.27.6 // indirect
134-
github.com/vishvananda/netlink v1.3.1-0.20250425193846-9d88d8385bf9 // indirect
130+
github.com/vishvananda/netlink v1.3.1-0.20250414221550-d85a66b0d8f7 // indirect
135131
github.com/vishvananda/netns v0.0.5 // indirect
136132
github.com/x448/float16 v0.8.4 // indirect
137133
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
138134
github.com/xdg-go/scram v1.1.2 // indirect
139135
github.com/xdg-go/stringprep v1.0.4 // indirect
140136
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
141137
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
142-
go.opentelemetry.io/otel/trace v1.36.0 // indirect
143-
go.opentelemetry.io/proto/otlp v1.6.0 // indirect
138+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
139+
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
144140
go.uber.org/atomic v1.11.0 // indirect
145141
go.uber.org/multierr v1.11.0 // indirect
146142
golang.org/x/crypto v0.38.0 // indirect
147143
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
148-
golang.org/x/oauth2 v0.30.0 // indirect
144+
golang.org/x/oauth2 v0.29.0 // indirect
149145
golang.org/x/sys v0.33.0 // indirect
150146
golang.org/x/term v0.32.0 // indirect
151147
golang.org/x/text v0.25.0 // indirect
152148
golang.org/x/time v0.11.0 // indirect
153-
google.golang.org/genproto/googleapis/api v0.0.0-20250519155744-55703ea1f237 // indirect
154-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250519155744-55703ea1f237 // indirect
149+
google.golang.org/genproto/googleapis/api v0.0.0-20250422160041-2d3770c4ea7f // indirect
150+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250422160041-2d3770c4ea7f // indirect
155151
gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0 // indirect
156152
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
157153
gopkg.in/gcfg.v1 v1.2.3 // indirect

0 commit comments

Comments
 (0)