-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add support for storage account RBAC only access #592
Conversation
@@ -223,6 +223,38 @@ public String getGalleryResourceGroup() { | |||
|
|||
private static final int GEN_STORAGE_ACCOUNT_UID_LENGTH = 22; | |||
|
|||
private static final String VALIDATE_DEPLOYMENT_TEMPLATE_MESSAGE = "Verify configuration:\n\t{0}{1}{2}{3}" |
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.
moved as method was too long for checkstyle
@@ -321,7 +353,7 @@ public String getGalleryResourceGroup() { | |||
// If disabled, will not attempt to verify or use | |||
private boolean templateDisabled; | |||
|
|||
private String templateStatusDetails; | |||
private transient String templateStatusDetails; |
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.
was showing up in jcasc exports
@@ -1454,6 +1496,10 @@ public ListBoxModel doFillNsgNameItems( | |||
|
|||
try { | |||
AzureResourceManager azureClient = AzureResourceManagerCache.get(azureCredentialsId); | |||
if (azureClient == null) { | |||
return model; |
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.
azure credentials plugin upgrade introduced a checkfornull annotation.
downstream of jenkinsci/azure-credentials-plugin#271
Fixes #478
This only appears to affect Windows VMs or VMs with an unmanaged disk
Testing done
Created both a template that uses a storage account with key authentication and RBAC only
Submitter checklist