jkroepke / helm-secrets

A helm plugin that help manage secrets with Git workflow and store them anywhere
https://github.com/jkroepke/helm-secrets/wiki
Apache License 2.0
1.53k stars 129 forks source link

helm template for secrets #447

Closed Nikhilsrh07 closed 6 months ago

Nikhilsrh07 commented 7 months ago

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

jkroepke commented 7 months ago

Just run

helm template -f secrets://secrets.yaml

Nikhilsrh07 commented 7 months ago

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 commented 7 months ago

I dont get it

Nikhilsrh07 commented 7 months ago

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 commented 6 months ago

wouldn't helm diff plugin do what you need?