Skip to content

Latest commit

 

History

History
516 lines (307 loc) · 22.4 KB

CHANGELOG.md

File metadata and controls

516 lines (307 loc) · 22.4 KB

Changelog:

v0.4.18

  • [chore] update golang to 1.23 #598
  • [chore] code.gitea.io/sdk/gitea v0.17.1 => v0.19.0 #598
  • [chore] upgraded github.com/argoproj/argo-cd/v2 v2.10.0 => v2.13.1 #598
  • [chore] upgraded github.com/briandowns/spinner v1.23.0 => v1.23.1 #598
  • [chore] upgraded github.com/go-git/go-git/v5 v5.11.0 => v5.12.0 #598
  • [chore] upgraded github.com/ktrysmt/go-bitbucket v0.9.75 => v0.9.81 #598
  • [chore] upgraded github.com/spf13/cobra v1.8.0 => v1.8.1 #598
  • [chore] upgraded github.com/spf13/viper v1.18.2 => v1.19.0 #598
  • [chore] upgraded github.com/stretchr/testify v1.8.4 => v1.10.0 #598
  • [chore] upgraded github.com/xanzy/go-gitlab v0.97.0 => v0.114.0 #598
  • [chore] upgraded k8s.io/api v0.26.11 => v0.31.0 #598
  • [chore] upgraded k8s.io/apimachinery v0.26.11 => v0.31.0 #598
  • [chore] upgraded k8s.io/cli-runtime v0.26.11 => v0.31.0 #598
  • [chore] upgraded k8s.io/client-go v0.26.11 => v0.31.0 #598
  • [chore] upgraded k8s.io/kubectl v0.26.11 => v0.31.2 #598
  • [chore] upgraded sigs.k8s.io/kustomize/api v0.12.1 => v0.17.2 #598
  • [chore] upgraded sigs.k8s.io/kustomize/kyaml v0.13.9 => v0.17.1 #598
  • [chore] replaced github.com/ghodss/yaml v1.0.0 with sigs.k8s.io/yaml v1.4.0 #598
  • [chore] Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc #525
  • [chore] Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 #528
  • [chore] Bump golang.org/x/crypto from 0.16.0 to 0.17.1 #542 #544
  • [chore] Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 #546

v0.4.17

  • [chore] Bump code.gitea.io/sdk/gitea from 0.15.1 to 0.16.0 #503
  • [chore] Bump github.com/argoproj/argo-cd/v2 from 2.8.3 to 2.8.4 #503
  • [chore] Bump github.com/briandowns/spinner from 1.18.1 to 1.23.0 #499
  • [chore] Bump github.com/go-git/go-git/v5 from 5.7.0 to 5.9.0 #505
  • [chore] Bump github.com/ktrysmt/go-bitbucket from 0.9.60 to 0.9.70 #502 #506 #514
  • [chore] Bump github.com/spf13/viper from 1.16.0 to 1.17.0 #511
  • [chore] Bump github.com/xanzy/go-gitlab from 0.86.0 to 0.93.1 #500 #508 #512
  • [chore] Bump golang.org/x/net from 0.15.0 to 0.17.0 #513
  • [chore] Bump k8s.io/* deps to v0.24.17 #513
  • [chore] removed git-lfs from docker image #513

v0.4.16

  • [fix] Fix gitea repo bootstrap failure #495
  • [chore] updated image to 1.20.3 #477
  • [chore] updated golangci-lint from v1.50.1 to v1.53.1 #479
  • [chore] Bump github.com/spf13/viper from 1.10.1 to 1.16.0 #475
  • [chore] Bump go.mongodb.org/mongo-driver from 1.1.2 to 1.5.1 #433
  • [chore] Bump github.com/xanzy/go-gitlab from 0.71.0 to 0.86.0 #487
  • [chore] Bump k8s.io/* from 0.24.2 to 0.24.15 #489
  • [chore] Bump github.com/argoproj/argo-cd/v2 from 2.5.9 to 2.8.3 #488
  • [chore] Bump github.com/go-git/go-billy/v5 5.3.1 to 5.4.1 #488
  • [chore] Bump github.com/go-git/go-git/v5 5.4.2 to 5.7.0 #488
  • [chore] Bump github.com/ktrysmt/go-bitbucket 0.9.55 to 0.9.60 #488
  • [chore] Bump github.com/sirupsen/logrus 1.8.1 to 1.9.3 #488
  • [chore] Bump github.com/spf13/cobra 1.5.0 to 1.7.0 #488
  • [chore] Bump sigs.k8s.io/kustomize/api 0.11.4 to 0.11.5 #488
  • [chore] Bump sigs.k8s.io/kustomize/kyaml 0.13.6 to 0.13.7 #488
  • [chore] Bump github.com/go-git/go-billy/v5 from 5.4.1 to 5.5.0 #497
  • [chore] Bump pygments from 2.7.4 to 2.15.0 in /docs #493
  • [docs] add missing requirement in getting started docs #459
  • [docs] fix a typo #460
  • [docs] Quoting variable expansions #391

v0.4.17

  • [docs] fix small typo in Getting Started docs #445
  • [chore] fixed security vulnerabilities #446

v0.4.14

  • [docs] improved and organized official docs #440
  • [fix] redundant validation of write permission when using --recover #443

v0.4.13

  • [docs] docs: fix wordings and typos in Getting-Started #431
  • [fix] when bootstrap repo contains a port, argocd-tls-certs-cm is invalid #434

v0.4.12

  • [fix] Validate that repo name is not empty #426

v0.4.11

  • [fix] Cannot bootstrap on windows #221
  • [chore] bump github.com/argoproj/argo-cd/v2 to 2.5.9 #416

v0.4.10

  • [fix] Fail early on repo bootstrap when there is no repo write permission #409

v0.4.9

  • [fix] fix nil pointer deref in provider code when there are network errors #403

v0.4.8

  • [chore] bumped argo-cd to 2.5.2, removed applicationset pkg (already in argo-cd), updated golang to 1.19 #394
  • [fix] add support for git servers with self-signed certificates #392

v0.4.7

  • [fix] 0.4.6 fix caused a regression when --repo contained path and/or ref #375

v0.4.6

  • [fix] When creating a new repo, sometimes getDefaultBranch fails #372

v0.4.5

  • Added support for bitbucket cloud

v0.4.4

  • [fix] find GitLab group by name, instead of searching in 1st page of list

v0.4.3

  • [chore] bumped ubuntu to 22.04 (LTS) #354
  • [fix] fix github-enterprise client creation #353
  • [fix] --provider not respected "WARNING --provider not specified, assuming provider from url: github" always displayed #352

v0.4.2

  • [fix] uninstall from bitbucket-server does not clean the repository #347

v0.4.1

  • Added option for adding annotations on generated applications

v0.4.0

  • Fixed security issue by bumping argo-cd dependency to v2.4.6
  • added support for Bitbucket-server (on-prem only)

v0.3.9

Changes

  • Sending --kube-context flag to argocd login cmd in argocd pkg (#326)

v0.3.8

Changes

  • Added Mac Silicon binary build target for release (#320)

Security Fixes

  • Fixed security issue by bumping argo-cd dependency to v2.4.1

v0.3.7

  • docs: fix edit url to use main branch (#300)
  • adding --recover flag to bootstrap command for installing from an existing repo

v0.3.6

  • fixed extracting email from github token
  • support labels for bootstrap namespace

v0.3.5

Changes

  • adding flags for include/exclude files for app create

v0.3.4

bumping version to fix release (no code changes)

v0.3.3

Changes

  • importing argoproj/applicationset separately
  • bumping argo-cd version to v2.3.3
  • removed kube-context from being sent to argocd login command

v0.3.2

Changes

  • Updated project create to include --labels flag
  • Updated app create to include --labels flag
  • format config.json and config_dir.json for readability
  • extract committer username and email from token, as a fallback from git config data
  • fixed azure repo bootstrap failure #267
  • send --kube-context to argocd login command

v0.3.1

Changes

  • Added SECURITY.md file. #253
  • Updated golangci-lint to v1.45.2. #256
  • Moved from mockery tool to mockgen. #256
  • Added snyk security scan in CI and Release pipelines. #256
  • Bumped github.com/argoproj/argo-cd dependency to v2.3.2. #256

v0.3.0

Security Fixes

  • Moved to using Argo-CD and ApplicationSet stable versions (currently: argocd-v2.3.1 and applicationset-v0.4.1). #247

Changes

v0.2.31

Features

  • Added --force flag to the repo uninstall command which allows you to skip failed steps in the uninstall process to ensure a clean cluster. #243

Bug Fixes

  • Fixed "already up-to-date" error when trying to bootstrap on a different branch. #243

v0.2.30

Features

  • Added bootstrap apps labels. #235

v0.2.29

Bug Fixes

  • Ignore resource not found errors when running argocd-autopilot repo uninstall. #234

v0.2.28

Features

  • Added support for Azure DevOps git provider. #217

v0.2.27

Features

  • Added option to create a git-src repo in case it doesn't already exist. #209

v0.2.26

Features

  • Added support for gitlab git provider. #209

v0.2.25

Bug Fixes

  • Fixed failed installation into a repo sub-directory #206

v0.2.24

Features

  • Added --context flag to repo bootstrap, repo uninstall and app create. #199

v0.2.23

Features

  • Use default branch from git config instead of master #196

v0.2.22

Features

  • Added a --force flag to argocd-autopilot repo uninstall: not allowing cluster and repo deletion errors from stopping the uninstall flow.
  • Added a --fast-exit flag to argocd-autopilot repo uninstall: not waiting for full deletion of cluster resources.

v0.2.21

Bug Fixes

  • Fixed sporadic "repository not found" errors when cloning or pushing #191.

v0.2.19

Features

  • Change directory app to recurse mode by default #185.

v0.2.18

Internal features:

  • Allow controlling the output of git clone and push progress #178

v0.2.17

Bug fixes:

  • Getting Cluster.server has invalid type: got string, want pointer when creating project on a different cluster #154

v0.2.16

Bug fixes:

  • Support Bitbucket stash as provider. #171 Added --git-user flag (and GIT_USER env variable) to support sending username for git authentication during clone/push

v0.2.15

Bug fixes:

  • Typo in error message #162
  • The cluster-resources application-set should not have an empty project value #165
  • Creating a DirApp with an existing name overwrites the previous application #158
  • Creating a DirApp with no path in the repo causes app to not be created in the cluster #166

Dependencies:

  • Default bootstrap now installs Argo-CD 2.1.1 and ApplicationSet 0.2.0 #168

v0.2.14

New featues:

  • Allow adding labels for the ArgoCD app created during the bootstrap #159

Dependencies:

  • Bump k8s.io/api from 0.21.1 to 0.21.3 #135
  • Bump k8s.io/kubectl from 0.21.1 to 0.21.3 #137
  • Bump github.com/briandowns/spinner from 1.13.0 to 1.16.0 #149

v0.2.13

New Features:

  • Allow installation of Argo-CD in insecure mode (useful when you want the SSL termination to happen in the ingress controller)#144

Breaking Changes:

  • Removed the --namespaced option from repo bootstrap. Installing argo-cd in namespaced mode cannot be used for bootstraping as the bootstrap installation contains CRDs, which are cluster scoped resources, which cannot be created by argo-cd in namespaced mode. Bottom line: it was never useable.

v0.2.12

New Features:

  • Allow sending extra key-value pairs to app create 138

Documentation fixes:

  • update url path to core_concepts docs #141

v0.2.11

Bug fixes:

  • fixed provider sort order in field description text #131

v0.2.10

New Features:

  • Support gitea as a SCM provider #129

Bug fixes:

  • repo bootstrap fails when running argocd login if passing different --kubeconfig argument #125

v0.2.9

New Features:

  • Add an repo uninstall command to argocd-autopilot #42 - Running this command will delete all manifest files and directory structure from the GitOps Repository, and all the resources from the k8s cluster

Additional Features:

  • improve sanity check #119 - runs repo bootstrap on every push. Also fixed ClusterRoleBinding now being applied correctly

v0.2.8

Breaking Changes:

  • Removed repo create command. From now on, the repo bootstrap command will automatically create the repository if it currently does not exist. A new --provider flag was added to this command, in order to specificy the git cloud provider to use when creating the repository. Autopilot currently only supports github. Without the flag value, autopilot will try to infer the provider from the repo URL. 116

New Features:

  • The app create now supports waiting for the Application to be fully Synced to the k8s cluster. The standard kubeclient flags were added in order to specificy which context is expected to recieve the new Application, and a --wait-timeout flag can set the duration to wait before returning an error. The default value of 0 will not perform any wait, nor require access to the cluster at all. 117

v0.2.7

Bug Fixes:

  • url_parse_fix #106

Additional Changes:

v0.2.6

Bug Fixes:

  • getting "failed to build bootstrap manifests" since v0.2.5 #106

Breaking Changes:

  • when sending --app flag value, use either ?sha=<sha_value>, ?tag=<tag_name> or ?ref=<branch_name> to specificy sha|tag|branch to clone from ~ #98 - REVERTED in #107

Additional Changes:

  • fixed help text typos #105

v0.2.2

Bug fixes:

  • App type infer fails when --app value references a tag #97
  • Deleting the bootstrap app hangs while deleting the entire hierarchy #99

Breaking Changes:

  • when sending --app flag value, use either ?sha=<sha_value>, ?tag=<tag_name> or ?ref=<branch_name> to specificy sha|tag|branch to clone from #98

Additional changes:

  • update docs about secrets not yet supported #93
  • Support using 2 repos for Kustomize apps #97

v0.2.1

Bug fixes:

  • app create does not work with local path (tries to infer application type by cloning) #87
  • Clone logs not displaying correct values
  • Debug logs not showing

Additional changes:

  • Updated k8s dependencies from v0.20.4 to v0.21.1
  • Added --progress flag to redirect the git operations
  • CloneOptions.FS is now fs.FS instead of billy.Filesystem

v0.2.0

Breaking Changes:

  • Combined --repo, --installation-path and --revision into a single url, set by --repo with the following syntax:
argocd-autopilot <command> --repo https://github.com/owner/name/path/to/installation_path?ref=branch

The REPO_URL environment variable also uses the new syntax

Bug fixes:

  • failed to build bootstrap manifests #82
  • Adding two applications with the same ns causes sync ping-pong #23

Additional changes:

  • The RunRepoCreate func now returns (*git.CloneOptions, error)

v0.1.10

Bug fixes:

  • removed dependency on packr for compiling source with additional assets required by argo-cd dependency.

v0.1.9

Bug fixes:

  • --project flag shows in unrelated commands and not marked as required where it should be.

Additional changes

  • Added brew formula for argocd-autopilot #31

v0.1.8

  • Fix -p option in README.md
  • renamed module from argoproj/argocd-autopilot to argoproj-labs/argocd-autopilot

v0.1.7

  • Fixed --namespaced bootstrap
  • fix typo in auth error message
  • Support for directory type application
  • Renamed the binary archive from just .gz zo .tar.gz

v0.1.6

  • new logo!
  • updated docs

v0.1.5

  • doc fixes
  • you no longer need to run argocd login after running repo bootstrap
  • added app delete command

v0.1.4

  • doc fixes
  • fixed adding application on a remote cluster

v0.1.3

  • fixed docker image creation

v0.1.2

  • added documentation
  • improved CI-CD flow

v0.1.0

This is the first release of the argocd-autopilot tool.