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

Add Sigstore on workload attestor for SPIRE #3159

Merged
merged 113 commits into from
Jan 5, 2023

Conversation

willallves
Copy link
Contributor

Pull Request check list

  • Commit conforms to CONTRIBUTING.md?
  • Proper tests/regressions included?
  • Documentation updated?

Affected functionality

Description of change

Which issue this PR fixes

@willallves willallves force-pushed the adding-sigstore-cosign branch 2 times, most recently from 904b24d to 5a1bab1 Compare June 13, 2022 14:04
@willallves
Copy link
Contributor Author

Add sigstore attestor
thanks to:

Copy link
Member

@amartinezfayo amartinezfayo left a 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.

@willallves willallves force-pushed the adding-sigstore-cosign branch 3 times, most recently from e9f07c9 to 79f82e8 Compare June 14, 2022 12:21
@willallves willallves marked this pull request as ready for review June 14, 2022 14:43
@willallves willallves force-pushed the adding-sigstore-cosign branch 2 times, most recently from 5cb69b0 to 1aeb8cc Compare June 30, 2022 15:16
@azdagron azdagron added this to the 1.4.0 milestone Jul 7, 2022
@willallves willallves changed the title Added Sigstore on workload attestor for SPIRE Add Sigstore on workload attestor for SPIRE Jul 13, 2022
@willallves willallves force-pushed the adding-sigstore-cosign branch 4 times, most recently from e563103 to 9135823 Compare July 20, 2022 01:31
@MarcosDY MarcosDY modified the milestones: 1.4.0, 1.4.1 Jul 28, 2022
@rturner3 rturner3 modified the milestones: 1.4.1, 1.4.2 Aug 25, 2022
@willallves willallves force-pushed the adding-sigstore-cosign branch 2 times, most recently from 788caa8 to 59d008f Compare September 6, 2022 12:47
@rodrigolc
Copy link
Contributor

@amartinezfayo @MarcosDY @evan2645 @azdagron @rturner3 Requesting review

willallves and others added 7 commits December 15, 2022 21:47
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>
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>
Copy link
Collaborator

@MarcosDY MarcosDY left a 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. |
Copy link
Collaborator

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

willallves and others added 12 commits December 20, 2022 15:04
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>
MarcosDY
MarcosDY previously approved these changes Jan 4, 2023
Copy link
Collaborator

@MarcosDY MarcosDY left a 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>
Copy link
Member

@amartinezfayo amartinezfayo left a 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!

@amartinezfayo amartinezfayo merged commit b239112 into spiffe:main Jan 5, 2023
@amartinezfayo amartinezfayo modified the milestones: 1.5.4, 1.6.0 Jan 5, 2023
stevend-uber pushed a commit to stevend-uber/spire that referenced this pull request Oct 16, 2023
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.