Skip to content

Replace plan peadm::modify_cert_extensions with peadm::modify_certificate #181

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

Merged
merged 7 commits into from
Jul 12, 2021

Conversation

reidmv
Copy link
Contributor

@reidmv reidmv commented Jul 8, 2021

This PR replaces the old peadm::modify_cert_extensions plan with the peadm::modify_certificate plan. This plan supports setting DNS alt names, in addition to adjusting other extensions. It's also just a more friendly name.

reidmv added 2 commits July 8, 2021 10:53
This replaces modify_cert_extensions. It supports modifying DNS
alternative names as well.
This supports the new peadm::modify_certificate plan
@reidmv reidmv force-pushed the modify_certificate branch 2 times, most recently from b161758 to ee47845 Compare July 9, 2021 23:44
reidmv added 2 commits July 9, 2021 16:51
Previously, it could return null.
Sometimes you may want to forcibly regenerate a certificate even if it
already matches the desired state, e.g. if it is expiring soon.

This commit also fixes dns-alt-names to more concretely check for
existing status matching desired status.
@reidmv reidmv force-pushed the modify_certificate branch from ee47845 to 9135e8e Compare July 9, 2021 23:51
reidmv added 2 commits July 9, 2021 17:13
This replaces the deprecated use of peadm::modify_cert_extensions
@reidmv reidmv force-pushed the modify_certificate branch from 5d8f992 to bc1464a Compare July 10, 2021 00:39
@reidmv reidmv marked this pull request as ready for review July 10, 2021 00:41
@reidmv reidmv requested a review from a team as a code owner July 10, 2021 00:41
@reidmv reidmv requested a review from davidsandilands July 10, 2021 00:54
Copy link
Contributor

@davidsandilands davidsandilands left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2021-07-12 at 09 56 51

There was some very slight lint errrors but all flaws with linting detection rather than anything that needs fixed will approve and merge to have it done and leave to @reidmv if he wants to follow them up or not.

@davidsandilands davidsandilands changed the title modify_certificate plan Replace plan peadm::modify_cert_extensions with peadm::modify_certificate Jul 12, 2021
@davidsandilands davidsandilands merged commit 6f7e9c6 into main Jul 12, 2021
@davidsandilands davidsandilands deleted the modify_certificate branch July 12, 2021 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants