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

helm template for secrets #447

Closed
Nikhilsrh07 opened this issue Apr 9, 2024 · 5 comments
Closed

helm template for secrets #447

Nikhilsrh07 opened this issue Apr 9, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@Nikhilsrh07
Copy link

Problem Statement

need generate helm template for helm secrets. kind of dry run

Proposed Solution

No response

Environment

Helm Version: 3.7.1
Helm Secrets Version: 3.12.0
*OS: Alpine
*Shell: busybox

Additional information

No response

Acceptance Criteria

No response

@Nikhilsrh07 Nikhilsrh07 added the enhancement New feature or request label Apr 9, 2024
@jkroepke
Copy link
Owner

jkroepke commented Apr 9, 2024

Just run

helm template -f secrets://secrets.yaml

@Nikhilsrh07
Copy link
Author

Nikhilsrh07 commented Apr 9, 2024

actually, I'm looking for this solution. here I'm looking for already encrypted secrets in a file where those can be populated in helm template. I'm not looking for just checking a file.

helm templates secrets -f secrets app . which is similar to (helm secrets -f secrets app .)

@jkroepke
Copy link
Owner

jkroepke commented Apr 9, 2024

I dont get it

@Nikhilsrh07
Copy link
Author

Nikhilsrh07 commented Apr 9, 2024

usually after we install helm secrets plugin.
this command helm secrets upgrade -f secrets app . works if we upgrade helm-chart with secrets
and also helm template -f secrets app . also works.
here I haven't upgraded helm chart with secrets but encrypted (sealed secrets)them and want to test them with template.
I'm here trying to pass encrypted secrets through values file.
helm secrets template -f secrets .yaml app .

@danielmotaleite
Copy link

wouldn't helm diff plugin do what you need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants