Skip to content

Handle environment secrets concurrently - #800

Merged
mumoshu merged 1 commit into
roboll:masterfrom
travisgroth:feat/concurrent-env-secrets
Aug 13, 2019
Merged

mumoshu merged 1 commit into
roboll:masterfrom
travisgroth:feat/concurrent-env-secrets

Conversation

@travisgroth

@travisgroth travisgroth commented Aug 9, 2019 •

Copy link
Copy Markdown
Contributor

Related to #782 - Process the environment secrets in parallel.

@travisgroth

Copy link
Copy Markdown
Contributor Author

@mumoshu I'm a bit lost on the best way to get pass workerLimit/Concurrency all the way down the stack to where we load the secrets. I'd welcome a suggestion on how to handle that; right now, it's hard coded to 0. I don't think this is problematic in practice, but obviously we should respect the limits everywhere.

Otherwise, I think this is ready.

@travisgroth
travisgroth force-pushed the feat/concurrent-env-secrets branch 2 times, most recently from 8135662 to 20ecf4b Compare August 9, 2019 12:33
@travisgroth
travisgroth marked this pull request as ready for review August 9, 2019 12:38
@mumoshu

mumoshu commented Aug 9, 2019

Copy link
Copy Markdown
Collaborator

@travisgroth Thanks! Regarding the hard-coded concurrency - That sounds ok.

The purpose of --concurrency/worker-limit for me is to limit how much cluster resources are eventually consumed by running Helmfile. Decrypting env secrets doesn't affect the cluster so I have no specific reason to make concurrency configurable here.

@travisgroth

Copy link
Copy Markdown
Contributor Author

👍

Comment thread pkg/state/create.go Resolved

@mumoshu mumoshu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Thanks a lot for your continued efforts 🎉

@mumoshu
mumoshu merged commit 765bfe6 into roboll:master Aug 13, 2019
@travisgroth

Copy link
Copy Markdown
Contributor Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants