mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 09:02:53 +00:00
add docs
This commit is contained in:
@@ -90,6 +90,12 @@ secretGenerator:
|
|||||||
username: "curl -s https://path/to/secrets/username.yaml"
|
username: "curl -s https://path/to/secrets/username.yaml"
|
||||||
password: "curl -s https://path/to/secrets/password.yaml"
|
password: "curl -s https://path/to/secrets/password.yaml"
|
||||||
type: Opaque
|
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
|
# Each entry in this list should resolve to a directory
|
||||||
# containing a kustomization file, else the
|
# containing a kustomization file, else the
|
||||||
|
|||||||
Reference in New Issue
Block a user