Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flux-style Helm Release versions including OCI artifact ID are not recognized by Nova #354

Open
2 tasks done
fibbs opened this issue Dec 26, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working triage This bug needs triage

Comments

@fibbs
Copy link

fibbs commented Dec 26, 2024

What happened?

I am using Flux to manage my clusters. When using a Flux HelmRelease resource together with a OCIRepository, having the HelmRelease referencing to an artifact in the OCI repository which is the helm chart, which is the new standard, the Helm Release version is represented concatenating the Chart version from the chart's Chart.yaml with the OCI artifact hash (or something like that):

helm ls
NAME    	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                       	APP VERSION
keycloak	keycloak 	11      	2024-12-26 19:21:36.413229479 +0000 UTC	deployed	keycloak-24.3.1+dbae01c0bd1d	26.0.7

Now, when using nova, it doesn't recognize this version as being the same as the upstream one:

Release Name              Installed              Latest           Old     Deprecated
============              =========              ======           ===     ==========
keycloak                  24.3.1+dbae01c0bd1d    24.3.1           true    false

What did you expect to happen?

I would have liked Nova to recognize this special versioning and "understand" it. Or to be able to configure this somehow (see #353).

How can we reproduce this?

apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: keycloak
  namespace: keycloak
spec:
  interval: 12h
  provider: generic
  ref:
    tag: 24.3.1
  timeout: 1m
  url: oci://registry-1.docker.io/bitnamicharts/keycloak
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: keycloak
  namespace: keycloak
spec:
  chartRef:
    kind: OCIRepository
    name: keycloak
  interval: 1m0s
  releaseName: keycloak
  valuesFrom:
  - kind: ConfigMap
    name: keycloak-values-4bdk7cdk69
    valuesKey: keycloak-values.yaml

Version

Version:3.11.1 Commit:0affeff0b28c8482e449da5dcaec02915bec2f78

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

@fibbs fibbs added bug Something isn't working triage This bug needs triage labels Dec 26, 2024
@sudermanjr
Copy link
Member

Is this versioning string specific to flux, or is it how Helm shows the version when installing from an OCI registry? I don't believe I've seen this before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This bug needs triage
Projects
None yet
Development

No branches or pull requests

2 participants