-
Notifications
You must be signed in to change notification settings - Fork 204
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
Tier Options to KeyVault #853
Conversation
My question to reviewer / whoever: When we create a keyvault with access policies, this is done through the function That being said, we have a function that is called I currently added the value sku to this function, ( Thoughts? I think I want to remove it personally :) |
Yes, this is only used in tests. I think we initially had it but then we ended up using the CreateVault one. @cnadolny can you confirm? If we remove we should make sure we dont break those tests though. |
Yep - just used in tests. I think it was originally added before we added access policy support to the keyvault spec, removing it and replacing it with CreateVault should be fine. |
fixes nil pointer dereference (includes suggestions to make the sku type simpler)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code looks good to me, @jananivMS answered my questions via teams
Closes #600
What this PR does / why we need it:
When creating a KeyVault on the Azure portal, users can create a KV of tier options "Standard" and "Premium"
This PR allows user to have the flexibility to choose one of these options in the yaml.
Special notes for your reviewer:
Create a KV with sku.Name = "Premium" in yaml
Create a KV with sku.Name = "Standard" in yaml
Verify it exists in portal with proper tier
How does this PR make you feel:
If applicable: