Skip to content
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

support creating secrets from file contents #74

Closed
sethpollack opened this issue Jun 8, 2018 · 2 comments · Fixed by #241
Closed

support creating secrets from file contents #74

sethpollack opened this issue Jun 8, 2018 · 2 comments · Fixed by #241

Comments

@sethpollack
Copy link
Contributor

For example:

secretGenerator:
- name: secret-in-base
  behavior: merge
  commands:
    - type: env
      command: "blackbox_cat secret.env"    
    - type: yaml
      command: "sops -d secret.yaml"    
    - type: json
      command: "cat secret.json"    
    - type: inline
      hello: "echo world"    
@sethpollack
Copy link
Contributor Author

sethpollack commented Jun 15, 2018

or something like this

secretGenerator:
- name: app-tls
  literals:
   - tls.crt="cat secret/tls.cert"
   - tls.key="cat secret/tls.key"
  env: cat more.env

@knqyf263
Copy link
Contributor

Thank you for this awesome tool!
Is there any progress in this issue?

If you need a developer, I will help.

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 a pull request may close this issue.

2 participants