-
Notifications
You must be signed in to change notification settings - Fork 496
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
Add Sigstore on workload attestor for SPIRE #3159
Add Sigstore on workload attestor for SPIRE #3159
Conversation
904b24d
to
5a1bab1
Compare
Add sigstore attestor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @willallves for opening this PR!
I'm just starting with the review. I noticed that updates in go.mod / go.sum are not included in the PR. Could you please add them? Also, there are changes that I don't think that are intended to be part of the PR. I pointed them.
I see other PRs that have been opened that depend on this PR. Ideally, PRs that depend on other should be opened after the dependent PRs are merged because they will most likely need to be updated to reflect feedback.
e9f07c9
to
79f82e8
Compare
5cb69b0
to
1aeb8cc
Compare
e563103
to
9135823
Compare
pkg/agent/plugin/workloadattestor/k8s/sigstore/sigstorecache_test.go
Outdated
Show resolved
Hide resolved
pkg/agent/plugin/workloadattestor/k8s/sigstore/sigstorecache_test.go
Outdated
Show resolved
Hide resolved
pkg/agent/plugin/workloadattestor/k8s/sigstore/sigstorecache_test.go
Outdated
Show resolved
Hide resolved
pkg/agent/plugin/workloadattestor/k8s/sigstore/sigstorecache_test.go
Outdated
Show resolved
Hide resolved
788caa8
to
59d008f
Compare
@amartinezfayo @MarcosDY @evan2645 @azdagron @rturner3 Requesting review |
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
* tests: fixed defaultCheckOpts error testing on FetchImageSignatures tests Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br> * lint: removed redundant type for empty structs Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br> Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!! some minor comments
@@ -53,6 +53,31 @@ since [hostprocess](https://kubernetes.io/docs/tasks/configure-pod-container/cre | |||
| `use_anonymous_authentication` | If true, use anonymous authentication for kubelet communication | | |||
| `node_name_env` | The environment variable used to obtain the node name. Defaults to `MY_NODE_NAME`. | | |||
| `node_name` | The name of the node. Overrides the value obtained by the environment variable specified by `node_name_env`. | | |||
| `experimental` | The experimental options that are subject to change or removal. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have some new requirements about tables on markdown tables, and this PR is reformatting this table
pkg/agent/plugin/workloadattestor/k8s/sigstore/sigstore_test.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Willian Alves <wiilliian.alves@gmail.com>
#200) refactor: removed some empty lines and moved unexported functions and structs to the end of the file Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com> Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com>
* fix: changed optional parameter to pointer Signed-off-by: joaoguazzelli <joao.guazzelli@gmail.com> * fix: removed unused parameter Signed-off-by: joaoguazzelli <joao.guazzelli@gmail.com> * fix: changed import order Signed-off-by: joaoguazzelli <joao.guazzelli@gmail.com> * fix: changed pointer logic Signed-off-by: joaoguazzelli <joao.guazzelli@gmail.com> * fix: changed pointer logic in moved function Signed-off-by: joaoguazzelli <joao.guazzelli@gmail.com> Signed-off-by: joaoguazzelli <joao.guazzelli@gmail.com>
…ed (#202) Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com> Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com>
lint: reformatted md tables for compliance Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br> Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br> Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br>
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!! this looks good!
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to all that contributed to this effort!
* Added Sigstore workload attestor for SPIRE Thanks to: @willallves @rodrigolc @joaoguazzelli @marcusvtms @otaviolcs3 @tjamir @matheusdefarias Signed-off-by: Willian Alves <wiilliian.alves@gmail.com> Signed-off-by: Matheus Santos <matheusdefariascs@gmail.com> Signed-off-by: Matheus Santos <mfcs@cesar.org.br> Signed-off-by: Rodrigo Lopes <rlc2@cesar.org.br> Signed-off-by: joaoguazzelli <joao.guazzelli@gmail.com> Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com> Co-authored-by: Matheus Santos <mfcs@cesar.org.br> Co-authored-by: Matheus de Farias Cavalcanti Santos <matheusdefariascs@gmail.com> Co-authored-by: Rodrigo Lopes <rodrigolpscarvalho@gmail.com> Co-authored-by: Thiago Jamir <tjamir@gmail.com> Co-authored-by: Rodrigo Lopes <rlc2@cesar.org.br> Co-authored-by: Marcos Yacob <marcos.yacob@hpe.com> Co-authored-by: Guazzelli <joao.guazzelli@gmail.com>
Pull Request check list
Affected functionality
Description of change
Which issue this PR fixes