Skip to content

Releases: nobbs/kubectl-mapr-ticket

v0.4.1

27 Feb 21:44
5021031
Compare
Choose a tag to compare

0.4.1 (2024-02-27)

Bug Fixes

  • deps: update golang.org/x/exp digest to 2c58cdc (#58) (2fcef6d)
  • deps: update golang.org/x/exp digest to 814bf88 (#63) (1aaf728)
  • deps: update golang.org/x/exp digest to ec58324 (#60) (702c0d0)
  • deps: update kubernetes packages to v0.29.2 (#61) (6023551)

Tests

  • add more tests for various code paths (#55) (4931b3d)

Miscellaneous Chores

  • deps: update codecov/codecov-action action to v4 (#56) (d05da5e)
  • deps: update dependency golang to v1.22.0 (#62) (629f544)
  • deps: update golangci/golangci-lint-action action to v4 (#59) (da53337)

v0.4.0

27 Jan 22:51
e6b1e79
Compare
Choose a tag to compare

0.4.0 (2024-01-27)

Features

Bug Fixes

  • ci not properly updating version (c066e8a)
  • complete multiple values for sort-by flags (8f4bf49)
  • deps: update module github.com/nobbs/mapr-ticket-parser to v0.1.3 (f4bd4bc)

Continuous Integration

  • use gotestsum for tests (f4bd4bc)

Documentation

  • add godoc comments to cmd packages (f4bd4bc)
  • add inspect subcommand to README (f4bd4bc)
  • add some more go doc strings (f4bd4bc)

Miscellaneous Chores

  • add license header to all files (f4bd4bc)
  • deps: upgrade all dependencies (b376b29)
  • switch to direnv for managing local dev env (f4bd4bc)
  • switch to prerelease version of mapr-ticket-parser (f4bd4bc)
  • typo in SPDX license header (9120486)
  • update pre-commit config (03df59a)

v0.3.0

25 Jan 13:58
e94035b
Compare
Choose a tag to compare

0.3.0 (2024-01-25)

Features

  • add --all-namespaces flag to used-by command, also tests (#40) (7c1af4c)
  • add claim command to list all PVCs using tickets (#44) (0e2eefd)
  • add sort option to volume command (a8f52ee)
  • add ticket status to volume command (07f6ce0)
  • implement claim sorting (#50) (3499c07)

Bug Fixes

  • add pvc alias to claim command (cbeb8c9)
  • deps: update kubernetes packages to v0.29.1 (#46) (d757733)
  • rename commands, list to secret and usedby to volume (868b96a)
  • streamline sort options for all commands (3499c07)
  • ticket status not properly parsed in claim command (#48) (901b82a)
  • volume sort options (7c0288b)

Tests

  • add test for cli completion functions (7875ffd)
  • add tests for version.String() (5253528)
  • add tests for duration pflag type (7875ffd)
  • add tests for types (3499c07)
  • add tests for util/cli.go (7875ffd)
  • run in parallel (3499c07)

Continuous Integration

  • add pre-commit config (7875ffd)
  • exclude test files from funlen check (7875ffd)
  • lint: tune golangci-lint, add gci linter (69d7edd)
  • only build if test and lint pass (3499c07)

Documentation

  • add badges to README.md (fba5b28)
  • add documentation for completion functions (5253528)
  • update README.md (3499c07)

Code Refactoring

  • cleaning up the codebase even more (#49) (a39fb61)
  • major code reorganization (#47) (03258b5)
  • move cli to internal package (5253528)
  • move duration functions util functions (7875ffd)
  • remove --all flag from volume command (04d7a82)
  • remove duplicate util definitions (7875ffd)
  • rename ListItem to TicketSecret (5253528)
  • simplify namespace handling (5253528)
  • update secret filter implementation (5253528)

Miscellaneous Chores

  • major refactoring and test coverage improvements (#39) (5253528)
  • prepare debug logging (#37) (7875ffd)
  • use charmbracelet/log for debug logging (7875ffd)

v0.2.1

08 Jan 22:16
84ed2de
Compare
Choose a tag to compare

0.2.1 (2024-01-08)

Bug Fixes

  • add option to sort secrets by number of PVCs using them (#36) (cc43942)
  • set namespace correctly for used-by command (#33) (b6163fa), closes #31

Documentation

v0.2.0

07 Jan 12:42
6ce6063
Compare
Choose a tag to compare

0.2.0 (2024-01-07)

Features

  • add shell completions for cli flags and args (6264bfd)
  • clean up cli implementation, add completions (#30) (6264bfd)

Bug Fixes

  • remove --all-namespaces flag from usedby (6264bfd)

Continuous Integration

  • release: add krew update action (ea72720)

Documentation

  • add krew installation method (ea72720)

Code Refactoring

  • move cli help text to constants (6264bfd)

Miscellaneous Chores

  • add krew release manifest template (#5) (ea72720)
  • add helper script to enable kubectl completion (6264bfd)
  • fix changelog section order (#27) (7d27551)

v0.1.2

02 Jan 21:58
4a41a86
Compare
Choose a tag to compare

0.1.2 (2024-01-02)

🚀 Release Highlights

This release adds a bunch of filtering and sorting options to the list command. Also, a new used-by command provides an easy way to list all persistent volumes that use a specific ticket secret.

Both additions really help with finding tickets that are no longer used or are about to expire.

Features

  • add --expires-before <duration> to list (#17) (3b802ff), closes #16
  • add json and yaml output options to list (f72175e)
  • add used-by command (#13) (30bacf4)
  • add used-by option to list command (30bacf4)
  • add wide output option (f72175e)
  • add filtering options to list command (#10) (98728bc)
  • add sort option to list command (#25) (0ea6727), closes #19
  • add uid and gid filters to list command (f72175e)
  • implement used-by command to find ticket using pvs (30bacf4)
  • improve list output (30bacf4)
  • more output options for list command (#12) (f72175e)
  • show number of PVs using a ticket on list -i (#24) (48cd830), closes #20

Bug Fixes

  • deps: update k8s.io/utils digest to e7106e6 (#18) (599fb42)
  • deps: update module sigs.k8s.io/yaml to v1.4.0 (#14) (d0ab4f5)
  • global flags now properly global (98728bc)
  • handle duration overflow (> 292 years) (#26) (c6bc824), closes #23
  • list dereferenced from secret in loop (ad3b089)
  • ticket expiry check inverted (98728bc)

Continuous Integration

  • release: also update versions in README (30bacf4)
  • renovate: run go mod tidy before PRs (951d01e)

Documentation

Code Refactoring

  • rename some packages (4df6597)
  • restructure internal code to support filtering (98728bc)

Tests

  • add empty tests to fix coverage reporting (#22) (47bce7a), closes #21

Miscellaneous Chores

  • deps: update go.mod (30bacf4)
  • deps: use v0.1.1 of mapr-ticket-parser (844f00e)
  • lint: disable complexity linters for now (30bacf4)

v0.1.1

30 Dec 20:15
66c09b8
Compare
Choose a tag to compare

0.1.1 (2023-12-30)

🔖 This release contains no real user-facing changes - it's setting up additional CI/CD tooling and adding a proper README.

Continuous Integration

  • add codecov reporting (#8) (05f0d65)
  • build: also package LICENSE and README into release assets (#6) (030e4c1)
  • tests: use CGO as race won't work otherwise (05f0d65)

Documentation

Code Refactoring

  • add proper usage string to cli (dca7660)

v0.1.0

30 Dec 11:35
16659fe
Compare
Choose a tag to compare

0.1.0 (2023-12-30)

Build System

  • fix go version in go.mod (471b8db)

Miscellaneous Chores

Continuous Integration

  • add build on release (763f003)
  • build: disable CGO (1608ca2)
  • build: multi-arch and multi-os build (2ff900b)
  • build: overwrite release assets (de50d0c)

Features

  • initial implementation of ticket list command (8043689)