Flux: Renovate incorrectly pins OCIRepository #42033
-
How are you running Renovate?Self-hosted Renovate CLI Which platform you running Renovate on?GitHub.com Which version of Renovate are you using?v43.59.0 Please tell us more about your question or problemWhen best-practices preset is used, Renovate tries to pin docker dependencies, including in FluxCD OCIRepositories resources. The issue is that it tries to do the following: apiVersion: source.toolkit.fluxcd.io/v1
kind: OCIRepository
metadata:
name: my-ocirepository
namespace: flux-system
spec:
interval: 5m
url: oci://my-artifact
ref:
- tag: 1.1.0
+ tag: 1.1.0@sha256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f
secretRef:
name: my-secretBut that is not supported and cause errors in FluxCD: I think it should either don't pin OCIRepositories, or it should do the following: apiVersion: source.toolkit.fluxcd.io/v1
kind: OCIRepository
metadata:
name: my-ocirepository
namespace: flux-system
spec:
interval: 5m
url: oci://my-artifact
ref:
tag: 1.1.0
+ digest: sha256:aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f
secretRef:
name: my-secretThe Logs (if relevant)No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
If the |
Beta Was this translation helpful? Give feedback.
I've raised #42082 to cover this