Skip to content

Commit 311f451

Browse files
authored
Report ciliumClusterWideNetworkPolicies to the cloud app for better real-time network insights (#292)
1 parent ac58f1f commit 311f451

20 files changed

+781
-658
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/setup-go@v3
2222
with:
23-
go-version: '1.21.3'
23+
go-version: '1.23.5'
2424
- uses: actions/checkout@v3
2525
- name: Install dependencies
2626
run: sudo apt update && sudo apt install libpcap-dev # required for the linter to be able to lint github.com/google/gopacket
@@ -39,15 +39,15 @@ jobs:
3939
steps:
4040
- uses: actions/setup-go@v3
4141
with:
42-
go-version: '1.21.3'
42+
go-version: '1.23.5'
4343
- uses: actions/checkout@v3
4444
- name: Install dependencies
4545
run: sudo apt update && sudo apt install libpcap-dev # required for the linter to be able to lint github.com/google/gopacket
4646
- name: golangci-lint
4747
uses: golangci/golangci-lint-action@v3
4848
with:
4949
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
50-
version: v1.55.2
50+
version: v1.64.8
5151

5252
# Optional: working directory, useful for monorepos
5353
working-directory: src

build/kafka-watcher.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine AS buildenv
1+
FROM --platform=$BUILDPLATFORM golang:1.23.5-alpine AS buildenv
22
RUN apk add --no-cache ca-certificates git protoc
33
RUN apk add build-base libpcap-dev
44
WORKDIR /src

build/mapper.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine AS buildenv
1+
FROM --platform=$BUILDPLATFORM golang:1.23.5-alpine AS buildenv
22
RUN apk add --no-cache ca-certificates git protoc
33
RUN apk add build-base libpcap-dev
44
WORKDIR /src

build/sniffer.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 golang:1.22.1-alpine AS buildenv
1+
FROM --platform=linux/amd64 golang:1.23.5-alpine AS buildenv
22
RUN apk add --no-cache ca-certificates git protoc
33
RUN apk add build-base libpcap-dev
44
WORKDIR /src
@@ -14,7 +14,7 @@ RUN go test ./sniffer/... && echo dep > /dep
1414

1515
# We start from the base image again, only this time it's using the target arch instead of always amd64. This is done to make the build faster.
1616
# Unlike the mapper, it can't be amd64 throughout and use Go's cross-compilation, since the sniffer depends on libpcap (C library).
17-
FROM golang:1.22.1-alpine AS builder
17+
FROM golang:1.23.5-alpine AS builder
1818
COPY --from=test /dep /dep
1919
RUN apk add --no-cache ca-certificates git protoc
2020
RUN apk add build-base libpcap-dev

src/go.mod

Lines changed: 103 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)