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

[v16] Workload Identity: Kubernetes Workload Attestation (#44209) #44883

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

strideynet
Copy link
Contributor

Backports #44209

changelog: Added support for Kubernetes Workload Attestation into Teleport Workload Identity to allow the authentication of pods running within Kubernetes without secrets.

* Start hacking on resolving pod/container id from pid

* Add godoc comments

* Tidy attestation into well defined types

* Use gopsutil to determine gid/uid on unix systems

* Start threading through config

* Update tests

* Start working TLS support into kubelet api client

* Thread through configuration to yaml

* Support loading the CA

* Start testing with real cluster/bug fixes

* Simplify by removing container lookup

* Add new attestation rules/tests for new attestation rules

* Add test that leverages example mountfiles

* Start handling kubelet client auth more elegantly

* Add handling of custom CA values

* Tie together configuration validation

* Update YAML tests

* Go mod/sum

* Ensure we use the Effective UID/GID rather than "Real" UID/GID in Unix attestation

* Add testdata from GCP

* Add test of Kubernetes attestation with mock kubelet API

* Add test for UnixAttestor

* Update YAML goldenfile

* Appease liinter

* Remove change to session.go

* Add timeout to Kubelet client

* Import `time`

* Go mod tidy

* Go mod tidy

* Remove TODO about renaming

* Rename attestor -> attestors

* Add stubs on windows

* Add missing license header
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from ryanclark August 1, 2024 02:12
@strideynet strideynet added this pull request to the merge queue Aug 1, 2024
Merged via the queue into branch/v16 with commit c197ddb Aug 1, 2024
41 checks passed
@strideynet strideynet deleted the strideynet/v16/backport-44209 branch August 1, 2024 09:04
This was referenced Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants