Skip to content

Transparent encryption/decryption on k8s secrets to encourage GitOps #127

Description

@mumoshu

In the helm world, we can use helm-secrets to safely git-commit credentials used by your apps by encrypting it w/ sops.

The decryption is transparent i.e. helm install|upgrade|rollback|template -f path/to/secrets.yaml notices secrets.yaml to be decrypted and consumed by helm automatically. It is useful for enforcing GitOps without authoring your own secret management for it.

A feature for supporting transparent secret encryption/decryption would encourage forge users to organize everything in git repos.

Alternatively, a plugin mechanism to allow an user to extend forge so that one can instruct forge to call out a helm binary for utilizing helm-template/helm-secrets to generate k8s manifests instead of jinja2+yaml.

I'd personally prefer the latter because it would keep forge's scope smaller while providing possibility to also support #15.

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions