-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(helm): Allow downloading of Helm repo index using a Helm account #4773
Conversation
@@ -52,6 +57,10 @@ | |||
public InputStream download(Artifact artifact) throws IOException { | |||
InputStream index = downloadIndex(); | |||
|
|||
if (artifact.getType().equals("helm/index")) { |
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.
Should be "helm/index".equals(artifact.getType())
, unless you're certain type
is nonnull?
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.
Looks good to me provided that Rob's comment is taken into account.
537d228
to
688f617
Compare
No reason to risk the NPE - I've swapped the order. Thanks! |
…ods-collections-limit * upstream/master: (96 commits) feat(extensibility): Use ExceptionSummaryService in DefaultOrchestrationProcessor to provide custom user messages on exceptions (spinnaker#4929) feat(sql): Add additional dynamic config for event cleanup agent (spinnaker#4934) fix(titus): Update Kato task status to surface better error message (spinnaker#4933) fix(saga): Support for multiple atomic operations in a single task (spinnaker#4931) fix(sql): Test pollution (spinnaker#4928) fix(sql): Add config for limiting amount of aggregate cleanup (spinnaker#4927) feat(security/credentials): AccountCredentials as kork/Credentials (spinnaker#4907) chore(dependencies): Autobump korkVersion (spinnaker#4926) chore(scattergather): Removing unused scattergather module (spinnaker#4925) chore(aws): Remove clouddriver-elasticsearch-aws (spinnaker#4923) feat(helm): Allow downloading of Helm repo index using a Helm account (spinnaker#4773) fix(core): Use a random UUID for saga identifiers rather than task id/requestId (spinnaker#4921) fix(titus): `DeleteServerGroupEvent` should use server group name rather than job id (spinnaker#4922) fix(titus): Add desiredPercentage support for enable/disable server group operation (spinnaker#4914) chore(java11): Target Java 11 (spinnaker#4919) fix(titus): `user` shouldn't be flagged as @nonnull (spinnaker#4920) feat(titus): Wrap `DestroyTitusJob` and `DestroyTitusServerGroup` operations in simple sagas (spinnaker#4916) chore(dependencies): Autobump spinnakerGradleVersion (spinnaker#4918) fix(aws): Fixing launch template flag (spinnaker#4917) fix(event): Force cleanup agent to compare ints (spinnaker#4915) ...
…ods-collections-limit * upstream/master: (96 commits) feat(extensibility): Use ExceptionSummaryService in DefaultOrchestrationProcessor to provide custom user messages on exceptions (spinnaker#4929) feat(sql): Add additional dynamic config for event cleanup agent (spinnaker#4934) fix(titus): Update Kato task status to surface better error message (spinnaker#4933) fix(saga): Support for multiple atomic operations in a single task (spinnaker#4931) fix(sql): Test pollution (spinnaker#4928) fix(sql): Add config for limiting amount of aggregate cleanup (spinnaker#4927) feat(security/credentials): AccountCredentials as kork/Credentials (spinnaker#4907) chore(dependencies): Autobump korkVersion (spinnaker#4926) chore(scattergather): Removing unused scattergather module (spinnaker#4925) chore(aws): Remove clouddriver-elasticsearch-aws (spinnaker#4923) feat(helm): Allow downloading of Helm repo index using a Helm account (spinnaker#4773) fix(core): Use a random UUID for saga identifiers rather than task id/requestId (spinnaker#4921) fix(titus): `DeleteServerGroupEvent` should use server group name rather than job id (spinnaker#4922) fix(titus): Add desiredPercentage support for enable/disable server group operation (spinnaker#4914) chore(java11): Target Java 11 (spinnaker#4919) fix(titus): `user` shouldn't be flagged as @nonnull (spinnaker#4920) feat(titus): Wrap `DestroyTitusJob` and `DestroyTitusServerGroup` operations in simple sagas (spinnaker#4916) chore(dependencies): Autobump spinnakerGradleVersion (spinnaker#4918) fix(aws): Fixing launch template flag (spinnaker#4917) fix(event): Force cleanup agent to compare ints (spinnaker#4915) ...
Relates to issue: spinnaker/spinnaker#4447
Related PRs:
spinnaker/echo#988
spinnaker/igor#829
spinnaker/deck#8475