Skip to content

Commit fcb61a7

Browse files
committed
2 parents 886da91 + d013d45 commit fcb61a7

File tree

228 files changed

+10576
-4438
lines changed

Some content is hidden

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

228 files changed

+10576
-4438
lines changed

.chloggen/2364-foreground-delete.yaml

-16
This file was deleted.

.chloggen/enhanced-status.yaml .chloggen/2393-automate-permissions-resourcedetection.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ change_type: enhancement
55
component: operator
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: added reconciliation errors for CRD events
8+
note: Automate the creation of the permissions needed by the resourcedetection processor
99

1010
# One or more tracking issues related to the change
11-
issues: [1972]
11+
issues: [2393]
1212

1313
# (Optional) One or more lines of additional information to render under the primary note.
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.

.chloggen/TA-liveness-probe.yaml .chloggen/2395-automate-permissions-k8sattribures.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ change_type: enhancement
55
component: operator
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: add liveness probe to target allocator deployment generation
8+
note: Automate the creation of the permissions needed by the k8sattributes processor
99

1010
# One or more tracking issues related to the change
11-
issues: [2258]
11+
issues: [2395]
1212

1313
# (Optional) One or more lines of additional information to render under the primary note.
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.

.chloggen/ta-readiness.yaml .chloggen/change-default-strategies.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ change_type: enhancement
55
component: target allocator
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: add readyz endpoint to TA
8+
note: Change default allocation and filtering strategy
99

1010
# One or more tracking issues related to the change
11-
issues: [2258]
11+
issues: [2477]
1212

1313
# (Optional) One or more lines of additional information to render under the primary note.
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.
1515
# Use pipe (|) for multiline entries.
16-
subtext:
16+
subtext:

.chloggen/ta-readiness-probe.yaml .chloggen/common-fields-v2.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ change_type: enhancement
55
component: operator
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: add readiness probe to target allocator deployment generation
8+
note: Introduce common fields to the v1alpha2 types that can be reused for any CRDs.
99

1010
# One or more tracking issues related to the change
11-
issues: [2258]
11+
issues: [901]
1212

1313
# (Optional) One or more lines of additional information to render under the primary note.
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2+
change_type: breaking
3+
4+
# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action)
5+
component: target allocator
6+
7+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8+
note: Use standard K8s label selectors for collectors in target allocator config
9+
10+
# One or more tracking issues related to the change
11+
issues: [2422]
12+
13+
# (Optional) One or more lines of additional information to render under the primary note.
14+
# These lines will be padded with 2 spaces and then inserted directly into the document.
15+
# Use pipe (|) for multiline entries.
16+
subtext: |
17+
This is a breaking change only for users of standalone target allocator. Operator users are unaffected.
18+
The operator is still compatible with previous target allocator versions, and will be for the next 3 releases.

.chloggen/ta_really-consistent-hashing.yaml .chloggen/fix-ta-pod-security-context.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ change_type: enhancement
55
component: target allocator
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: Use only target address for allocation in consistent-hashing strategy
8+
note: Use Pod securityContext for target allocator
99

1010
# One or more tracking issues related to the change
11-
issues: [2280]
11+
issues: [2495]
1212

1313
# (Optional) One or more lines of additional information to render under the primary note.
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.
1515
# Use pipe (|) for multiline entries.
16-
subtext:
16+
subtext: Bring back PodSecurityContext as it was removed in the previous changes.
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
2-
change_type: bug_fix
2+
change_type: breaking
33

44
# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action)
55
component: target allocator
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: Save targets discovered before collector instances come up
8+
note: Use container securityContext for target allocator
99

1010
# One or more tracking issues related to the change
11-
issues: [2350]
11+
issues: [2490]
1212

1313
# (Optional) One or more lines of additional information to render under the primary note.
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.
1515
# Use pipe (|) for multiline entries.
16-
subtext:
16+
subtext: This is really a bug fix, as the current behaviour is not intended. We've marked it as breaking in case anyone started depending on it.

.chloggen/issue-2366-fix.yaml

-16
This file was deleted.

.chloggen/main.yaml

-16
This file was deleted.

.chloggen/.bump-dotnet-1.2.0.yaml .chloggen/pods-in-bridge-message.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
change_type: enhancement
33

44
# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action)
5-
component: autoinstrumentation
5+
component: bridge
66

77
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
8-
note: Bump OpenTelemetry .NET Automatic Instrumentation to 1.2.0
8+
note: Sets pods in the component health map
99

1010
# One or more tracking issues related to the change
11-
issues: [2382]
11+
issues: [2489]
1212

1313
# (Optional) One or more lines of additional information to render under the primary note.
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.
1515
# Use pipe (|) for multiline entries.
16-
subtext:
16+
subtext: this change adds a requirement for a new permission for the bridge to list and get pods.

.chloggen/sa-fix.yaml

-16
This file was deleted.

.github/dependabot.yml

+2-42
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,6 @@ updates:
55
schedule:
66
interval: daily
77
# Create a group of dependencies to be updated together in one pull request
8-
groups:
9-
golang-org-x:
10-
patterns:
11-
- "golang.org/x/*"
12-
prometheus:
13-
patterns:
14-
- "github.com/prometheus-operator/prometheus-operator"
15-
- "github.com/prometheus-operator/prometheus-operator/*"
16-
- "github.com/prometheus/prometheus"
17-
- "github.com/prometheus/prometheus/*"
18-
- "github.com/prometheus/client_go"
19-
- "github.com/prometheus/client_go/*"
20-
kubernetes:
21-
patterns:
22-
- "k8s.io/*"
23-
- "sigs.k8s.io/*"
24-
- package-ecosystem: gomod
25-
directory: /cmd/operator-opamp-bridge
26-
schedule:
27-
interval: daily
288
groups:
299
golang-org-x:
3010
patterns:
@@ -43,28 +23,8 @@ updates:
4323
- "sigs.k8s.io/*"
4424
otel:
4525
patterns:
46-
- go.opentelemetry.io/otel
47-
- go.opentelemetry.io/otel/*
48-
- package-ecosystem: gomod
49-
directory: /cmd/otel-allocator
50-
schedule:
51-
interval: daily
52-
groups:
53-
golang-org-x:
54-
patterns:
55-
- "golang.org/x/*"
56-
prometheus:
57-
patterns:
58-
- "github.com/prometheus-operator/prometheus-operator"
59-
- "github.com/prometheus-operator/prometheus-operator/*"
60-
- "github.com/prometheus/prometheus"
61-
- "github.com/prometheus/prometheus/*"
62-
- "github.com/prometheus/client_go"
63-
- "github.com/prometheus/client_go/*"
64-
kubernetes:
65-
patterns:
66-
- "k8s.io/*"
67-
- "sigs.k8s.io/*"
26+
- "go.opentelemetry.io/otel"
27+
- "go.opentelemetry.io/otel/*"
6828

6929
- package-ecosystem: github-actions
7030
directory: /

.github/workflows/changelog.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
fetch-depth: 0
3333
- name: Setup Go
34-
uses: actions/setup-go@v4
34+
uses: actions/setup-go@v5
3535
with:
3636
go-version: "1.20"
3737

.github/workflows/continuous-integration.yaml

+11-10
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,28 @@ jobs:
1515
name: Unit tests
1616
runs-on: ubuntu-22.04
1717
steps:
18+
- name: Check out code into the Go module directory
19+
uses: actions/checkout@v4
20+
1821
- name: Set up Go
19-
uses: actions/setup-go@v3
22+
uses: actions/setup-go@v5
2023
with:
2124
go-version: "~1.21.1"
2225

23-
- name: Check out code into the Go module directory
24-
uses: actions/checkout@v4
25-
2626
- name: "basic checks"
2727
run: make ci
2828

2929
lint:
3030
name: Code standards (linting)
3131
runs-on: ubuntu-22.04
3232
steps:
33+
- name: Check out code into the Go module directory
34+
uses: actions/checkout@v4
35+
3336
- name: Set up Go
34-
uses: actions/setup-go@v4
37+
uses: actions/setup-go@v5
3538
with:
3639
go-version: "~1.21.1"
37-
- name: Check out code into the Go module directory
38-
uses: actions/checkout@v4
3940

4041
- uses: actions/cache@v3
4142
with:
@@ -58,12 +59,12 @@ jobs:
5859
uses: actions/checkout@v4
5960

6061
- name: Initialize CodeQL
61-
uses: github/codeql-action/init@v2
62+
uses: github/codeql-action/init@v3
6263
with:
6364
languages: go
6465

6566
- name: Autobuild
66-
uses: github/codeql-action/autobuild@v2
67+
uses: github/codeql-action/autobuild@v3
6768

6869
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@v2
70+
uses: github/codeql-action/analyze@v3

.github/workflows/e2e.yaml

+14-11
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
jobs:
1414
e2e-tests:
15-
name: End-to-end tests
15+
name: End-to-end tests ${{ matrix.group }} on K8s ${{ matrix.kube-version }}
1616
runs-on: ubuntu-22.04
1717
strategy:
1818
fail-fast: false
@@ -21,30 +21,31 @@ jobs:
2121
# All Kubernetes version in between expose the same APIs, hence the operator
2222
# should be compatible with them.
2323
kube-version:
24-
- "1.23"
25-
- "1.28"
24+
- "1.23"
25+
- "1.29"
2626
group:
2727
- e2e
2828
- e2e-instrumentation
2929
- e2e-upgrade
30-
- e2e-prometheuscr
3130
- e2e-autoscale
32-
- e2e-multi-instrumentation
3331
- e2e-pdb
3432
- e2e-opampbridge
33+
- e2e-prometheuscr
34+
- e2e-multi-instrumentation
35+
include:
36+
- group: e2e-prometheuscr
37+
setup: "prepare-e2e-with-featuregates FEATUREGATES=+operator.observability.prometheus"
38+
- group: e2e-multi-instrumentation
39+
setup: "prepare-e2e-with-featuregates FEATUREGATES=+operator.autoinstrumentation.multi-instrumentation"
3540

3641
steps:
3742
- name: Check out code into the Go module directory
3843
uses: actions/checkout@v4
3944

4045
- name: Set up Go
41-
uses: actions/setup-go@v4
46+
uses: actions/setup-go@v5
4247
with:
4348
go-version: "~1.21.3"
44-
cache-dependency-path: |
45-
go.sum
46-
cmd/otel-allocator/go.sum
47-
cmd/operator-opamp-bridge/go.sum
4849

4950
- name: Setup kind
5051
env:
@@ -57,7 +58,9 @@ jobs:
5758
- name: "run tests"
5859
env:
5960
KUBE_VERSION: ${{ matrix.kube-version }}
60-
run: make prepare-e2e ${{ matrix.group }} KUBE_VERSION=$KUBE_VERSION VERSION=e2e
61+
run: |
62+
make ${{ matrix.setup != '' && matrix.setup || 'prepare-e2e' }} KUBE_VERSION=$KUBE_VERSION VERSION=e2e
63+
make ${{ matrix.group }}
6164
6265
- name: "log operator if failed"
6366
if: ${{ failure() }}

.github/workflows/publish-images.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20-
- uses: actions/setup-go@v4
20+
- uses: actions/setup-go@v5
2121
with:
2222
go-version: '~1.21.3'
2323

0 commit comments

Comments
 (0)