From 42e6ced2b050a6b477e8f732028d93656f52f5a2 Mon Sep 17 00:00:00 2001 From: Seth Pollack Date: Tue, 14 Aug 2018 10:15:16 -0400 Subject: [PATCH] add docs --- docs/kustomization.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/kustomization.yaml b/docs/kustomization.yaml index 01571fb17..d1599d4ae 100644 --- a/docs/kustomization.yaml +++ b/docs/kustomization.yaml @@ -90,6 +90,12 @@ secretGenerator: username: "curl -s https://path/to/secrets/username.yaml" password: "curl -s https://path/to/secrets/password.yaml" type: Opaque +- name: env_file_secret + # envCommand is similar to command but outputs lines of key=val pairs + # i.e. a Docker .env file or a .ini file. + # you can only specify one envCommand per secret. + envCommand: printf \"DB_USERNAME=admin\nDB_PASSWORD=somepw\" + type: Opaque # Each entry in this list should resolve to a directory # containing a kustomization file, else the