Interview Prep/Helm/Schema, Helmfile, Argo CD & Secrets

What are the helm-secrets commands you use day to day?

IntermediateConceptSchema, Helmfile, Argo CD & Secrets
Answer
helm secrets encrypt -i secrets/shop-dev.yaml       # encrypt in place
helm secrets edit secrets/shop-dev.yaml             # decrypt to $EDITOR, re-encrypt on save
helm secrets decrypt secrets/shop-dev.yaml          # print plaintext (careful)
helm secrets upgrade --install shop ./shop -f secrets/shop-dev.yaml   # wrapper mode
helm upgrade --install shop ./shop -f secrets://secrets/shop-dev.yaml # getter mode (preferred)

The getter mode (secrets://) works with plain helm and with Helmfile and Argo CD integrations. CI needs the decryption identity: SOPS_AGE_KEY_FILE or an IAM role with kms:Decrypt.

All Helm questions Roadmap: Helm

More on Schema, Helmfile, Argo CD & Secrets