Repository navigation
Fail rendering when azureblob has no identity source - #54
Merged
Merged
Conversation
The chart writes jclouds.identity only from account or managedIdentity, and S3Proxy exits at startup without it unless a SAS token stands in. A keyless config that sets endpoint but neither account nor managedIdentity (#33) therefore crashed with "Properties file must contain: jclouds.identity and jclouds.credential". Fail at render time instead and point at managedIdentity.
📝 README.md PreviewThe following changes to Click to expand diffdiff --git a/README.md b/README.md
index c51d2fb..5e76d8d 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# s3proxy
-  
+  
A Helm chart for deploying S3Proxy - Access other storage backends via the S3 API
@@ -128,7 +128,7 @@ The following section lists the configurable parameters of the s3proxy chart and
</tr>
<tr>
<td><code>config.backends.azureblob.account</code></td>
- <td>Storage account name</td>
+ <td>Storage account name. Required unless <code>managedIdentity</code> or a <code>sasToken</code> is set; rendering fails without one of the three.</td>
<td><code>string</code></td>
<td><code>""</code></td>
</tr>
|
📊 Helm Render Diff SummaryChart
🔍 Detailed Changes📝 Changes in
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #33.
The chart writes
jclouds.identityfor the azureblob backend only fromaccountormanagedIdentity. S3Proxy exits at startup without an identity unless a session token (a SAS) stands in for it. So a keyless config that setsendpointbut neitheraccountnormanagedIdentity, as in #33, renders cleanly and then crashes withProperties file must contain: jclouds.identity and jclouds.credential.Changes
configmap.yaml: fail rendering when azureblob is enabled with noaccount, nomanagedIdentityand nosasToken.*. The message points atmanagedIdentity: truefor Managed/Workload Identity and ataccountfor key auth.values.yaml: theaccountcomment says when it is required.1.1.1.Testing
helm lint; everytest-values/andci/functional/values/file renders (all of them setaccount).endpoint, emptyaccount, no flag);endpointalone; a keyexistingSecretwith noaccount.managedIdentity: true;accountwith a key; asasToken.valueorsasToken.existingSecretwith noaccount; azureblob disabled.accounton a pinned S3Proxy 4.0.x image. 4.0.0 still requires an identity beside a session token; 4.1.0 and later don't, and the chart defaults to 4.3.0.skip_gh_releasefix: expect ans3proxy-1.1.1GitHub release.