Releases: dag-andersen/argocd-diff-preview
Releases · dag-andersen/argocd-diff-preview
v0.0.25
v0.0.24
Changes:
- Added an option to specify the kind cluster name (user-requested feature) (PR - Thanks to @davidfrickert).
- Fixed the
--repo
option andrepoURL
being case sensitive when compared (PR - Thanks to @SIMULATAN).
v0.0.23
v0.0.22
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, runargocd-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
Changes:
- Fixed a crash caused by a missing
argocd
namespace when applying credentials through thesecrets
folder.
v0.0.20
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
Changes:
- Fixed crash due to missing
argocd-config
folder when runningargued-diff-preview
as a binary.
v0.0.18
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 Helmvalues.yaml
file. For more information on how to do this, refer to the README
v0.0.17
-
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 issueExample:
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.