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

UI: Fix ACME Account Safety Buffer not able to be turned off #27742

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

hashishaw
Copy link
Contributor

Description

This PR fixes a bug where turning on "ACME Account Safety Buffer" in PKI Tidy and then turning it off would not allow to save due to sending the value for acme_account_safety_buffer as 0s. To resolve, I set the default value for this setting to 720h which is the equivalent of 30 days -- the default according to the docs.

Error on save
image

Success with changes
Kapture 2024-07-10 at 10 07 22

@hashishaw hashishaw added ui backport/ent/1.15.x+ent backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent labels Jul 10, 2024
@hashishaw hashishaw added this to the 1.15.13 milestone Jul 10, 2024
@hashishaw hashishaw requested a review from a team as a code owner July 10, 2024 15:16
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jul 10, 2024
Copy link

Build Results:
All builds succeeded! ✅

Copy link

CI Results:
All Go tests succeeded! ✅

Copy link
Contributor

@hellobontempo hellobontempo left a comment

Choose a reason for hiding this comment

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

Wonderful! And thanks for adding a test ⭐

@hashishaw hashishaw merged commit b0ee637 into main Jul 10, 2024
31 checks passed
@hashishaw hashishaw deleted the ui/VAULT-27854/acme-account-safety-buffer-off branch July 10, 2024 18:51
Monkeychip pushed a commit that referenced this pull request Jul 24, 2024
* test coverage for bug

* Add defaultValue to acmeAccountSafetyBuffer

* fix failing PKI tests

* Add changelog
Monkeychip pushed a commit that referenced this pull request Jul 24, 2024
* test coverage for bug

* Add defaultValue to acmeAccountSafetyBuffer

* fix failing PKI tests

* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants