Skip to content

Releases: dag-andersen/argocd-diff-preview

v0.0.25

05 Dec 15:43
61b647d
Compare
Choose a tag to compare

Changes:

  • The cluster is now cleaned up when the tool encounters an error (Feature request: [link]) 🚀

v0.0.24

07 Nov 17:04
c2e3952
Compare
Choose a tag to compare

Changes:

  • Added an option to specify the kind cluster name (user-requested feature) (PR - Thanks to @davidfrickert).
  • Fixed the --repo option and repoURL being case sensitive when compared (PR - Thanks to @SIMULATAN).

v0.0.23

03 Nov 09:23
23ec4be
Compare
Choose a tag to compare

Changes

  • Reduced the container image size by 66%, bringing it down from 1.5 GB to 0.5 GB. This should make your pipelines a bit faster 🚀 Thanks to @ponkio-o!

v0.0.22

30 Oct 10:55
940c5ff
Compare
Choose a tag to compare

Changes:

  • The argocd-diff-preview/watch-pattern-annotation is now a comma-separated list of regex patterns. For more information, see the documentation.
  • The tool will now exit if an invalid regex is specified in the argocd-diff-preview/watch-pattern-annotation. Previously, it would fail silently. To retain the old behavior, run argocd-diff-preview with --ignore-invalid-watch-pattern.
  • The tool now skips even more applications when it is certain that no changes have occurred between branches.

v0.0.21

26 Oct 18:21
53cc3fc
Compare
Choose a tag to compare

Changes:

  • Fixed a crash caused by a missing argocd namespace when applying credentials through the secrets folder.

v0.0.20

24 Oct 08:39
b7c9b42
Compare
Choose a tag to compare

Changes:

  • Argo CD applications are now patched before argocd-diff-preview boots up a local cluster. If no applications need to be rendered, the tool will skip starting the cluster and installing Argo CD.
  • You can now provide the tool with a list of changed files, and it will only render applications that monitor the paths of those changed files. See the example here. However, you need to annotate which files each application should monitor.
    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
      name: my-app
      namespace: argocd
      annotations:
        argocd-diff-preview/watch-pattern: "examples/.*" # Regex
    spec:
      ...

v0.0.19

09 Oct 14:17
6c1d49b
Compare
Choose a tag to compare

Changes:

  • Fixed crash due to missing argocd-config folder when running argued-diff-preview as a binary.

v0.0.18

21 Sep 13:41
a78515a
Compare
Choose a tag to compare

Changes:

  • Added support for custom Argo CD installations, allowing users to override any Argo CD configuration supported by the Argo CD Helm Chart.
  • Added support for Config Management Plugins (CMP). Since users can now modify the Argo CD installation, they can, by extension, also install CMPs. However, there is no guarantee that a plugin will work with the tool, as this depends on the plugin and its specific implementation.
  • Removed the --kustomize-build-options option. This parameter should now be specified through a Helm values.yaml file. For more information on how to do this, refer to the README

v0.0.17

20 Sep 20:13
ea6cdce
Compare
Choose a tag to compare
  • Added support for Label Selectors. You can now choose which applications to render based on labels. It works similarly to selectors in: kubectl get pods --selector=..., which Kubernetes users are already familiar with. For more information, see this issue

    Example:

    argocd-diff-preview --selector "team=a"

    This command ⬆️ will target the following application ⬇️ and ignore all applications that do not have the label team: a.

    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
      name: my-app
      labels:
        team: a
    spec:
      ...
  • Breaking change ⚠️ Option -l, --line-count <line-count> has been changed to -c, --line-count <line-count> to make room for the new -l, --selector <selector> option.

v0.0.16

20 Sep 14:33
802c64b
Compare
Choose a tag to compare
  • Fixed issues related to being unable to resolve the hostname github.com. These errors should now trigger a re-sync instead of timing out.
    Example of this issue: issue