DopplerHQ / DopplerHQ/cli

[FEATURE] Support kubernetes secrets as a fallback

Open
#245 0 comments 0 reactions 1 assignee View on GitHub

@Piccirello is already working on this.

Since Jul 28, 2021.

enhancement
Dominant language
Go
Stars
396
Forks
83
Avg merge
1d 2h
Merged PRs (30d)
3

Description

I implemented a basic version of using kubernetes secrets as a fallback method here: https://github.com/stevelacy/doppler-cli/commit/56e6cd100cf3e188017d5b90ea212e9d3d55ec06

Usage in a docker container:

ENTRYPOINT doppler run --kubernetes-secrets-fallback --kubernetes-namespace app -- "/app/bin/$PACKAGE"

The main premise is on a kubernetes cluster the pods are auto-scaling, as such they can and will restart at any time. If for any reason doppler services are unavailable then 100% of the restarting pods will fail and will cause a crash loop.

Not sure if there are plans of supporting fallbacks as modules, if so having an AWS KMS and kubernetes secret fallback would be interesting.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.