website icon indicating copy to clipboard operation
website copied to clipboard

Support SOPS encrypted data for kustomize secretGenerator "envs" argument

Open sobi3ch opened this issue 3 years ago • 4 comments

At the moment Flux supports secretGenerator with sops for literal and files attributes but not for envs. It would be great to keep only env files encrypted in flux repo and leave the rest to Flux.

Here is a tutorial how to use sops with manual kustomize build command (section: With .env files). Sops can easily encrypt and decrypt env files.

sobi3ch avatar May 21 '21 08:05 sobi3ch