Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend agent container initialisation logic #4925

Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
56712a4
feat: implement container initialisation that chowns related paths an…
pkoutsovasilis Jun 13, 2024
bcc9f18
doc: add changelog fragment
pkoutsovasilis Jun 13, 2024
61763a8
fix: update NOTICE.txt
pkoutsovasilis Jun 13, 2024
de2a26f
fix: typo in container_init_test.go
pkoutsovasilis Jun 13, 2024
6f9adb0
feat: add more unit-tests to increase coverage
pkoutsovasilis Jun 13, 2024
f9231ea
feat: utilise unix.Exec to re-exec elastic-agent when file capabiliti…
pkoutsovasilis Jun 13, 2024
f62c056
fix: handle err from utils.HasRoot
pkoutsovasilis Jun 13, 2024
dc53f87
fix: refactor skip-file-capabilities flag
pkoutsovasilis Jun 13, 2024
84b98e1
fix: add cap_setpcap at elastic-agent binary
pkoutsovasilis Jun 17, 2024
cc6f8df
feat: make npm install work with elastic-agent user
pkoutsovasilis Jun 18, 2024
77bbf4c
fix: remove --skip-file-capabilities flag
pkoutsovasilis Jun 18, 2024
b61c1db
fix: allow CAP_CHOWN in Ambient set
pkoutsovasilis Jun 18, 2024
dae5b91
fix: remove redundant comment from Dockerfile.elastic-agent.tmpl
pkoutsovasilis Jun 18, 2024
1b47337
Merge branch 'main' into pkoutsovasilis/container_capabilities_chown
pkoutsovasilis Jun 18, 2024
0de171b
Merge remote-tracking branch 'origin/main' into pkoutsovasilis/contai…
pkoutsovasilis Jun 28, 2024
839ae37
fix: remove IDE auto-corrections from NOTICE.txt
pkoutsovasilis Jun 28, 2024
d38cbf6
Merge remote-tracking branch 'refs/remotes/origin/main' into pkoutsov…
pkoutsovasilis Jul 13, 2024
7611317
chore: go mod tidy after merge
pkoutsovasilis Jul 13, 2024
5d0fccf
feat: refactor to eliminate disrupting effects
pkoutsovasilis Jul 15, 2024
164d938
Merge remote-tracking branch 'refs/remotes/origin/main' into pkoutsov…
pkoutsovasilis Jul 15, 2024
ce329c6
fix: correct import order
pkoutsovasilis Jul 15, 2024
10031d6
fix: move logWarning inside container_init_linux.go
pkoutsovasilis Jul 15, 2024
53292e6
fix: update NOTICE.txt
pkoutsovasilis Jul 15, 2024
0d006fe
Merge branch 'refs/heads/main' into pkoutsovasilis/container_capabili…
pkoutsovasilis Jul 19, 2024
f163d3f
fix: call initContainer before tryContainerLoadPaths for elastic-agen…
pkoutsovasilis Jul 23, 2024
f8b85eb
fix: revert npm installation changes in agent container image
pkoutsovasilis Jul 23, 2024
bb03305
fix: chown also symlinks
pkoutsovasilis Jul 23, 2024
4e4dad8
fix: introduce support for inside kubernetes tests
pkoutsovasilis Jul 23, 2024
2bae3dd
fix: permission for configuration configmap mount to support rootless…
pkoutsovasilis Jul 23, 2024
cb9a825
Merge remote-tracking branch 'refs/remotes/origin/main' into pkoutsov…
pkoutsovasilis Jul 23, 2024
0f8b308
fix: code format
pkoutsovasilis Jul 23, 2024
508323c
feat: revisit the runAsUser and runAsGroup in k8s test
pkoutsovasilis Jul 23, 2024
45c83ba
fix: go mod tidy
pkoutsovasilis Jul 23, 2024
2fe8637
fix: wrap errors in fmt.Errorf
pkoutsovasilis Jul 23, 2024
f4af164
fix: update NOTICE.txt
pkoutsovasilis Jul 23, 2024
852589e
feat: add comments in container_init_linux.go
pkoutsovasilis Jul 23, 2024
10075a7
fix: adjust artifact_paths to extract all artifacts
pkoutsovasilis Jul 23, 2024
f263d3f
fix: permission for configuration configmap mount to support rootless…
pkoutsovasilis Jul 23, 2024
0e38c8a
fix: log stderr for k8s inner tests
pkoutsovasilis Jul 23, 2024
1f419c0
fix: disable CGO for k8s inner tests
pkoutsovasilis Jul 23, 2024
1d54afc
Merge remote-tracking branch 'refs/remotes/origin/main' into pkoutsov…
pkoutsovasilis Jul 23, 2024
c23bcb6
fix: merge conflicts
pkoutsovasilis Jul 23, 2024
6f3b7b6
fix: permission for configuration configmap mount to support rootless…
pkoutsovasilis Jul 23, 2024
44193ba
Merge branch 'main' into pkoutsovasilis/container_capabilities_chown
pkoutsovasilis Jul 24, 2024
de8b24d
fix: improve logging the output of status command when elastic-agent …
pkoutsovasilis Jul 24, 2024
50cd3a9
fix: revert back to pre-1.22 golang for loop to make linter happy
pkoutsovasilis Jul 24, 2024
809421c
fix: don't set runAsGroup inside k8s tests for deployment with root a…
pkoutsovasilis Jul 24, 2024
d27d12d
fix: add DAC_READ_SEARCH capability in k8s tests for deployment with …
pkoutsovasilis Jul 24, 2024
51c2683
fix: add comment to elaborate why call initContainer before tryContai…
pkoutsovasilis Jul 25, 2024
191c1a0
Merge branch 'main' into pkoutsovasilis/container_capabilities_chown
pkoutsovasilis Jul 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: adjust artifact_paths to extract all artifacts
  • Loading branch information
pkoutsovasilis committed Jul 23, 2024
commit 10075a7c83ed4c33b02a5929a5c9ed49d9f33c33
3 changes: 2 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ steps:
KIND_VERSION: "v0.20.0"
command: ".buildkite/scripts/steps/k8s-extended-tests.sh"
artifact_paths:
- "build/k8s-logs*/**"
- "build/k8s-logs*/*"
- "build/k8s-logs*/**/*"
- "build/TEST-**"
- "build/diagnostics/*"
agents:
Expand Down