Commit 094516a
committed
fix: write only tag when field path ends in .tag
When callers use the staffbase-application Helm chart, the image field
is split into image.repository and image.tag. Writing the full URI
(registry/image:tag) as a scalar to spec.values.workload.container.image
replaces the mapping and causes the chart to render 'image: :'.
If the field path ends in .tag, write only INPUT_TAG (e.g. dev-abc123)
instead of the full IMAGE URI. The repository stays in the base
HelmRelease untouched.
Backwards compatible: no existing Apperator-style caller uses a field
path ending in .tag. All existing callers receive the full URI as before.
Callers migrating to staffbase-application chart use:
spec.values.workload.container.image.tag
instead of:
spec.values.workload.container.image
Assisted-by: pi:claude-sonnet-4-51 parent da1135d commit 094516a
2 files changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
54 | 70 | | |
55 | 71 | | |
56 | 72 | | |
| |||
0 commit comments