Commit 75aeb67
Matthew Fisher
fix(registry): store apps as appname
Storing the image in the registry as user/appname introduces a couple
of confusing ideas:
- images are implied to be unique across accounts
- images are owned by one user and one only
Point 1 is incorrect. App names are completely unique across the
entire cluster[1]. Point 2 is incorrect as well because apps can
be shared with the `deis perms` command. Changing the name of the
image in the registry from `user/appname` to `appname` makes the
image names unique across the entire cluster as well as making the
images more easily sharable between users.
fixes #729
[1]: https://github.com/deis/deis/blob/d1e14a6f76789a86f1959ba7bf6057b3abe3b960/controller/api/models.py#L109
BREAKING CHANGES: because this changes the way that applications
are stored in the registry, this is a backwards-incompatible change
with applications prior to this commit. To migrate over to this change,
you'll have to destroy and re-create your apps with the same name
as it was before. The docker layers from previous builds will still
exist in the registry, but the repository names will be changed
to reflect this change.1 parent c205210 commit 75aeb67
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments