Skip to content

Conversation

@hectorj2f
Copy link
Collaborator

Signed-off-by: Hector Fernandez hector@chainguard.dev

Summary

The intention is to remove a flag that has been added with our first alpha version but it does not fit anymore in our declarative way of defining policies and authorities.

Following the Kubernetes deprecation policy for flags and beta versions, we will remove this flag in one release.

Release Note

Add a deprecation message to remove the -secret-name flag in the future.

Documentation

@hectorj2f hectorj2f added the enhancement New feature or request label Sep 6, 2022
@hectorj2f hectorj2f requested a review from vaikas September 6, 2022 10:58
@hectorj2f hectorj2f self-assigned this Sep 6, 2022
@hectorj2f hectorj2f changed the title chore: start adding a deprecation message for --secret-name flag Start deprecation of --secret-name Sep 6, 2022
@hectorj2f hectorj2f force-pushed the deprecate_secret-name_flag branch 2 times, most recently from d6a23f2 to c01e54f Compare September 6, 2022 11:10
Signed-off-by: Hector Fernandez <hector@chainguard.dev>
@hectorj2f hectorj2f force-pushed the deprecate_secret-name_flag branch from c01e54f to 50f707a Compare September 6, 2022 11:21
@vaikas
Copy link
Collaborator

vaikas commented Sep 6, 2022

Thanks for doing this! As discussed offline the flag has been publicly documented as deprecated for awhile now:
https://docs.sigstore.dev/policy-controller/overview#deprecated-policy-controller-validation-behavior

And it has been marked as deprecated there for > 3 months:
sigstore/sigstore-website#167

So, removing this flag in the release after next SGTM.

@vaikas vaikas merged commit 2bb3a06 into sigstore:main Sep 6, 2022
@hectorj2f hectorj2f deleted the deprecate_secret-name_flag branch September 6, 2022 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants