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

Use createOrRecover for sample keyvaults #3370

Merged
merged 7 commits into from
Oct 20, 2023

Conversation

theunrepentantgeek
Copy link
Member

@theunrepentantgeek theunrepentantgeek commented Oct 3, 2023

What this PR does / why we need it:

Updates our samples with KeyVaults to use createMode set to createOrRecover so they are somewhat more resilient.

Prerequisites

Special notes for your reviewer:

Recovering a KeyVault only works if the soft-deleted KeyVault is in the same subscription as where you're trying to create a new one, so this isn't a universal fix.

How does this PR make you feel:
gif

If applicable:

  • this PR contains tests

@theunrepentantgeek theunrepentantgeek self-assigned this Oct 3, 2023
@theunrepentantgeek theunrepentantgeek added this to the v2.4.0 milestone Oct 3, 2023
@theunrepentantgeek theunrepentantgeek mentioned this pull request Oct 11, 2023
3 tasks
Base automatically changed from feature/goal-seeking-keyvaults to main October 12, 2023 20:29
@theunrepentantgeek theunrepentantgeek force-pushed the feature/goal-seeking-keyvault-samples branch from 0d90c2d to c473562 Compare October 12, 2023 20:39
@theunrepentantgeek theunrepentantgeek force-pushed the feature/goal-seeking-keyvault-samples branch from c473562 to d62f0df Compare October 13, 2023 03:31
@@ -43,4 +44,3 @@ spec:
- "get"
storage:
- "get"

Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor: New line

Copy link
Member Author

Choose a reason for hiding this comment

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

The diff is interesting. I've removed a missing EOLN by adding one. 😉

@theunrepentantgeek
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@theunrepentantgeek theunrepentantgeek added this pull request to the merge queue Oct 19, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 20, 2023
@theunrepentantgeek theunrepentantgeek added this pull request to the merge queue Oct 20, 2023
Merged via the queue into main with commit b85e44e Oct 20, 2023
8 checks passed
@theunrepentantgeek theunrepentantgeek deleted the feature/goal-seeking-keyvault-samples branch October 20, 2023 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants