Skip to content

Commit

Permalink
Apply feedback on run image resolution
Browse files Browse the repository at this point in the history
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
  • Loading branch information
modulo11 and c0d1ngm0nk3y committed Mar 1, 2023
1 parent 6385c28 commit b15ef28
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -948,9 +948,10 @@ The launcher:
### Run Image Resolution

Given stack metadata containing `run-image.image` and a set of `run-image.mirrors`. The `<run-image>` for a given `<image>` shall be resolved as follows:
- **If** any of `run-image.image` or `run-image.mirrors` has a registry matching that of `<image>` with read permissions, this value will become the `<run-image>`
- **If** any of `run-image.image` or `run-image.mirrors` is accessible with read permissions and has a registry matching that of `<image>`, this value will become the `<run-image>`
- **If** none of `run-image.image` or `run-image.mirrors` has a registry matching that of `<image>`, the first value of `<run-image.image>` or `run-image.mirrors` that is accessible with read permissions will become the `<run-image>`

**If** any of `run-image.image` or `run-image.mirrors` is accessible with read permissions and has a registry matching that of `<image>`, this value will become the `<run-image>`.

**If** none of `run-image.image` or `run-image.mirrors` has a registry matching that of `<image>`, the first value of `<run-image.image>` or `run-image.mirrors` that is accessible with read permissions will become the `<run-image>`.

### Registry Authentication

Expand Down

0 comments on commit b15ef28

Please sign in to comment.