Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 14:23
· 30 commits to main since this release
4d9933b

Added

  • Events view. Press e on an Application, or on a resource card in the dependency view, to see its Kubernetes events. A workload's events include those of the ReplicaSets and Pods under it. Search them with /.
  • Marking. Space marks Applications on the list and resource cards in the dependency view. s, R, D, x and X act on everything marked. In the dependency view s syncs only the marked resources (a selective sync). Esc clears the marks.
  • Deployment history and rollback. h lists an Application's deployments, newest first, and Enter rolls back to one, with prune and dry-run options.
  • Following logs. f follows a Pod's log. On a Deployment, StatefulSet, DaemonSet, ReplicaSet or Job, l follows the logs of all its Pods, and opening a Pod's log from its workload filters to that Pod.
  • Log controls. c chooses the container, p chooses the Pod, and / keeps only the lines that contain the text.
  • Restart and delete from the dependency view. x restarts a Deployment, StatefulSet or DaemonSet with a rolling restart. X deletes a Pod so its workload replaces it.

Changed

  • Every action now asks first. A confirmation replaces the view and lists each Application or resource the action will touch. Enter or y confirms, Esc or n cancels.
  • Hard refresh (R) now asks for confirmation. It used to run immediately.
  • Several marked items run one after another. If some fail, the status line reports how many and why, and the rest still run. A marked card that cannot take the action (x on a Pod, X on a Deployment) refuses the whole selection instead of being skipped.

Fixed

  • Rollback is refused while the Application has another operation in progress, and when it has no history.

Permissions

  • Viewing events needs list on events in the namespaces involved, and in the Argo CD namespace for an Application's own events (--source kubeconfig).
  • Restarting a workload needs patch on it, deleting a Pod needs delete on pods, and viewing a Pod's log needs pods/log.
  • With --source api, the token needs Argo CD's action/…/restart and resource delete permissions to restart and delete, and permission to sync for selective syncs.

Commits

Features

  • 4c8cc42 feat(logs): follow workload logs and choose containers
  • d2db4ba feat: follow pod logs with f
  • fa7c312 feat(events): show Kubernetes events for Applications and resources
  • 1e543ba feat(select): mark items with Space and confirm every action in one dialog
  • 078b15d feat(workloads): restart workloads and delete pods from the dependency view
  • 434882a feat: add deployment history and rollback
  • 708c0c1 feat: filter workload logs by pod, search log lines, and open a pod's log from its workload.

Fixes

  • 22dbebc fix: guard rollback against pending operations and an empty history

Others

  • 4d9933b Merge pull request #1 from awcodify/feat/v0.2.0

Full changelog: https://github.com/awcodify/argoxd/blob/main/CHANGELOG.md