nais / naisd

nais deployment daemon
https://nais.io
MIT License
27 stars 10 forks source link

Adding property mapping support #68

Closed davidsteinsland closed 6 years ago

davidsteinsland commented 6 years ago

See #66. Adds propertyMap to used Fasit resources.

Example:

fasitResources:
  used:
  - alias: mydb
    resourceType: datasource
    propertyMap:
      username: DB_USER

There's no validation/replacements on the variable value, but user's should adhere to standard env var conventions

jhrv commented 6 years ago

Nice work 👍 Maybe also add a example and description of usage in nais_example.yaml?