github freelensapp/freelens-fluxcd-extension v6.2.0

one hour ago

The Overview as cards on Freelens 2.1, the suspended state shown as the flux CLI shows it, the fields of the Flux Operator v0.64, and details panels that show every field of the Flux 2.10 APIs.

Requirements

  • Freelens >= 2.0.0 (the Overview cards need Freelens >= 2.1.0)
  • Flux >= v2.0.0, <= 2.10.x
  • flux-operator >= v0.6.0, for the fluxcd.controlplane.io kinds
  • source-watcher >= v2.0.0, for ArtifactGenerator (optional)

Install or upgrade

In Freelens 2.0, open Extensions, enter @freelensapp/fluxcd-extension and press Install. You can also install the .tgz of this release by its URL: Freelens checks it against the .tgz.sha256 next to it.

Changed

  • Suspended in place of Resumed: the list pages and the details panels say whether an object is suspended as the SUSPENDED column of the flux CLI does. A Suspended column and a Suspended item replace Resumed, Enabled and Reconciliation Enabled. False shows in the color of success and True in the color of an error. The Flux Operator kinds and ArtifactGenerator show the item in their details only, because their Condition column already shows a suspended object. The Suspended column of FluxReport is still the number of suspended objects that its reconcilers count.
  • Alert and Provider v1beta3 and v1: these objects are static from notification-controller v1.2.0 (Flux v2.2.0) on, so they no longer get a Reconcile item, which did nothing, and they no longer model a status, which the API server never returns. The Overview counts them as Ready unless they are suspended. v1beta2 keeps Reconcile and is counted by its Ready condition.

New

  • Overview cards: with the Cards overview style of Freelens 2.1 (Preferences -> Personalization -> Overview style), the Overview shows a status card per kind in place of its pie chart, and switches while it is open. A click on a card opens the page of the kind.
  • Flux Operator v0.64:
    • FluxInstance shows the Source Watcher settings of the cluster.
    • ResourceSetInputProvider shows the namespaceSelector of a selector and the last handled force request.
  • Sources v1:
    • Every kind shows the last handled reconcile request.
    • GitRepository shows the URL, the observed ignore, the observed recurse submodules and the observed sparse checkout, and the included artifacts with their revisions and digests.
    • HelmRepository shows the type and the URL.
    • HelmChart shows the observed chart name, source revision and values files.
    • Bucket shows the endpoint and the observed ignore.
    • OCIRepository shows the URL, the source ignore and its observed value, and the observed layer selector.
    • The four artifact kinds show the latest artifact URL.
  • HelmRelease v2: the details show every field of helm-controller v1.7. The install, upgrade, rollback, test and uninstall settings each get a section with their remediation. The panel also shows:
    • the kubeconfig, the persistent client and the drift detection ignore rules;
    • the chart metadata, reconcile strategy and verification;
    • the full OCIRepository template;
    • the failure counters and the last attempted release;
    • the history action, deleted and OCI digest columns, and the test hooks.
  • Kustomization v1: the key of the kubeconfig Secret, value or value.yaml by default.
  • Alert v1: an event source shows its namespace when it differs from the Alert's, and its matchLabels.
  • Provider v1: the type, in the details too.
  • Image kinds v1: the short names of the CRDs, such as imgrepo, imgpol and iua.
  • SBOM: the release has a CycloneDX SBOM next to the SPDX one, and attests the build provenance of its assets.

Fixed

  • HelmRelease and Kustomization details: a ConfigMap and a Secret of the same name in valuesFrom or postBuild.substituteFrom no longer show each other's contents. The same goes for two keys of one source.
  • Alert details: event sources named * that differ only in their namespace or matchLabels no longer share a React key, in v1 and v1beta2.
  • OCIRepository, HelmChart and the OCI chart template of HelmRelease:
    • an empty matchOIDCIdentity no longer shows an empty OIDC Identity;
    • identities whose issuer and subject join to the same text no longer share a React key.
  • ImageRepository: Timeout shows the interval, its default, when it is not set.
  • ImageUpdateAutomation: Update Path shows ./, its default, when it is not set.
  • OCIRepository layer selector: without a media type the item is hidden, and without an operation it shows extract, the default.

What's Changed

  • Show the Overview as cards when the user chooses the Cards overview style in #368
  • No Reconcile for Alert and Provider, and count them as Ready on the Overview in #371
  • Tell sources of the same name apart in valuesFrom and substituteFrom, and hide an empty OIDC Identity in #372
  • Model and show the flux-operator v0.64 fields, and test against its CRDs in #374
  • Fix the remaining details and model bugs of #256 in #376
  • Show the missing fields of the source-controller v1 kinds in their details in #378
  • Show the missing fields of HelmRelease v2 in its details in #382
  • Show the last missing fields of Kustomization, Provider and Alert, and name the enum aliases of ArtifactGenerator and ImagePolicy in #381
  • Show the suspended state as Suspended, as the flux CLI does in #385

The rest are dependency updates, the integration tests against Freelens v2.1.0, and changes to the build, the release and the workflows (#355, #360, #361, #362, #366, #369, #383, #386).

Full Changelog: v6.1.0...v6.2.0

Don't miss a new freelens-fluxcd-extension release

NewReleases is sending notifications on new releases.