Commit f382390
committed
Ensure version tag matches deployed version
When overriding `image.tag` the version label should also show the
correct version. Previously, the label would always be AppVersion, even
if the user had provided a different image tag (thus deploying a
different Nextcloud version).
With this change, the version is always first derived from the image tag
and only from AppVersion if not tag was provided. For the
"nextcloud.image" helper this was already the case, now the "version"
label on all resources also does this.
Signed-off-by: Florian Ruechel <code@inexplicity.de>1 parent c478128 commit f382390
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 45 | + | |
49 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
445 | 448 | | |
446 | 449 | | |
447 | 450 | | |
448 | | - | |
| 451 | + | |
449 | 452 | | |
450 | 453 | | |
451 | 454 | | |
0 commit comments