koki / short

Manageable Kubernetes manifests through a composable, reusable syntax
https://docs.koki.io/short
Apache License 2.0
122 stars 14 forks source link

env var syntax #48

Closed wlan0 closed 6 years ago

wlan0 commented 6 years ago

environment variables should be of type

[]MapOrString

if the env var is a key value pair then the representation will just be

env:
   - KEY=VALUE

if there is a from syntax, then the env var will look like

env:
  - from: secret:secret_name
    key: KEY
  - KEY=VALUE