projectriff / riff

riff is for functions
https://projectriff.io
Apache License 2.0
799 stars 64 forks source link

Backport default image prefix support #1292

Closed scothis closed 5 years ago

scothis commented 5 years ago

The --image flag is now optional for applications and functions. The default value is _, which applies the configured default prefix with the application/function's name. A custom repo or tag can be specified like _/repo:tag.

For in-cluser builds this resolution occurs in the reconciler. For local builds, it occurs within the CLI. In both cases, the resolution logic is defined within projectriff/system.

Depends on https://github.com/projectriff/system/pull/21