[media-common] Image values separate organisation #106
Comments
Actually the proposed workaround does not seem to work with Flux. I tried for example for radarr: ...
metadata:
name: radarr
namespace: media
annotations:
fluxcd.io/automated: "true"
repository.fluxcd.io/app: image.repo
tag.fluxcd.io/app: image.tag
filter.fluxcd.io/app: regexp:^3\.\d+\.\d+\.\d+-ls.*
spec:
values:
radarr:
image:
# those are chart values concatenated in the pod definition as organization/repository
organization: linuxserver
repository: radarr
# repo is a dummy value(not used by the chart) using the correct notation for a repository
repo: linuxserver/radarr
tag: 3.0.0.3624-ls21
... Flux just ignores this and tries to query dockerhub for
I can't actually workaround that without changing the chart itself. BTW: Non dockerhub registries can and do contain a longer paths not only consisting of a organisation and a image name, like |
We just added the k8s@home |
Not a big fan of the dependency umbrella (makes hard to track changes affecting a chart) but yeah it's merged together again and should be fixed after merge. |
In the
media-common
chart the image definitions are as follows:Which separates the organisation part from the image name part. For update automation flux requires the repository value to be in the
owner/image-name
format. I think it would be possible to workaround that, by creating a dummy value for the repository and point flux to use that, but this makes it very hacky and one would need to maintain three repetitive fields for custom images and additional annotations for flux. Were there any specific design decisions to separate them?The text was updated successfully, but these errors were encountered: