Skip to content

Commit 9ce8088

Browse files
davefu113lacroixthomas
authored andcommitted
fix(argo-rollouts plugin): resolve improper piping in watch command (#3009)
The `-w` or `--watch` flag is designed for continuous monitoring and should not pipe to `less` to avoid unnecessary screen rolling. chore(deps): bump github.com/anchore/grype from 0.84.0 to 0.85.0 (#3008) Bumps [github.com/anchore/grype](https://github.com/anchore/grype) from 0.84.0 to 0.85.0. - [Release notes](https://github.com/anchore/grype/releases) - [Changelog](https://github.com/anchore/grype/blob/main/.goreleaser.yaml) - [Commits](anchore/grype@v0.84.0...v0.85.0) --- updated-dependencies: - dependency-name: github.com/anchore/grype dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump k8s.io/kubectl from 0.31.1 to 0.31.3 (#3007) Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl) from 0.31.1 to 0.31.3. - [Commits](kubernetes/kubectl@v0.31.1...v0.31.3) --- updated-dependencies: - dependency-name: k8s.io/kubectl dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump helm.sh/helm/v3 from 3.16.2 to 3.16.3 (#3006) Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.16.2 to 3.16.3. - [Release notes](https://github.com/helm/helm/releases) - [Commits](helm/helm@v3.16.2...v3.16.3) --- updated-dependencies: - dependency-name: helm.sh/helm/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat: Adding new config for workload view feat: Add config and add some documentation feat: Refactor getValidity feat: Refactor getValidity feat: refactor the get replicas complexity feat: trigger pipeline feat: refactor workload list feat: delete log feat: unblock unit tests (will come back to it) feat: fix unit tests and add k9s.json new schema feat: add comment on the dao/workload feat: remove todo feat: add header on new file feat: add new view with crud for custom gvr and rollback config feat: add comments and flashing errors feat: add comments feat: update readme feat: add comments feat: cleanup cluster context feat: update order of actions feat: fix unit test
1 parent c07ea1d commit 9ce8088

19 files changed

+1104
-178
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,20 @@ k9s:
10561056
10571057
---
10581058
1059+
## Custom Workload View
1060+
1061+
You can customize the workload view with CRDs or any resources you want to see on this view.
1062+
1063+
To do so, you can go to the `workloadGVR` view, you'll be able to see all your custom GVRs. You can also create, edit, delete them.
1064+
1065+
You can also describe by pressing `d` or simulate them by pressing `enter`.
1066+
1067+
You can create new one from this view, this will ask you for a custom GVR name and will set default values (to comment or uncomment).
1068+
1069+
There is a way to add a custom GVR to you cluster context or to delete them, they will be added on top of the default workloads GVRS.
1070+
1071+
---
1072+
10591073
## Contributors
10601074
10611075
Without the contributions from these fine folks, this project would be a total dud!

go.mod

+22-21
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ go 1.23.0
44

55
require (
66
github.com/adrg/xdg v0.5.3
7-
github.com/anchore/clio v0.0.0-20241015191535-f538a9016e10
8-
github.com/anchore/grype v0.84.0
9-
github.com/anchore/syft v1.16.0
7+
github.com/anchore/clio v0.0.0-20241115144204-29e89f9fa837
8+
github.com/anchore/grype v0.85.0
9+
github.com/anchore/syft v1.17.0
1010
github.com/atotto/clipboard v0.1.4
1111
github.com/cenkalti/backoff/v4 v4.3.0
1212
github.com/derailed/popeye v0.11.3
@@ -26,18 +26,18 @@ require (
2626
github.com/spf13/cobra v1.8.1
2727
github.com/stretchr/testify v1.9.0
2828
github.com/xeipuuv/gojsonschema v1.2.0
29-
golang.org/x/text v0.19.0
29+
golang.org/x/text v0.20.0
3030
gopkg.in/yaml.v2 v2.4.0
3131
gopkg.in/yaml.v3 v3.0.1
32-
helm.sh/helm/v3 v3.16.2
32+
helm.sh/helm/v3 v3.16.3
3333
k8s.io/api v0.31.3
3434
k8s.io/apiextensions-apiserver v0.31.3
3535
k8s.io/apimachinery v0.31.3
3636
k8s.io/cli-runtime v0.31.3
3737
k8s.io/client-go v0.31.3
3838
k8s.io/klog/v2 v2.130.1
39-
k8s.io/kubectl v0.31.1
40-
k8s.io/metrics v0.31.2
39+
k8s.io/kubectl v0.31.3
40+
k8s.io/metrics v0.31.3
4141
sigs.k8s.io/yaml v1.4.0
4242
)
4343

@@ -61,7 +61,8 @@ require (
6161
github.com/Masterminds/squirrel v1.5.4 // indirect
6262
github.com/Microsoft/go-winio v0.6.2 // indirect
6363
github.com/Microsoft/hcsshim v0.11.7 // indirect
64-
github.com/ProtonMail/go-crypto v1.0.0 // indirect
64+
github.com/OneOfOne/xxhash v1.2.8 // indirect
65+
github.com/ProtonMail/go-crypto v1.1.2 // indirect
6566
github.com/acobaugh/osrelease v0.1.0 // indirect
6667
github.com/anchore/fangs v0.0.0-20241014225144-4e1713cafd77 // indirect
6768
github.com/anchore/go-collections v0.0.0-20240216171411-9321230ce537 // indirect
@@ -70,7 +71,7 @@ require (
7071
github.com/anchore/go-struct-converter v0.0.0-20221118182256-c68fdcfa2092 // indirect
7172
github.com/anchore/go-version v1.2.2-0.20210903204242-51efa5b487c4 // indirect
7273
github.com/anchore/packageurl-go v0.1.1-0.20241018175412-5c22e6360c4f // indirect
73-
github.com/anchore/stereoscope v0.0.6-0.20241101185849-cbd43fb4e5d3 // indirect
74+
github.com/anchore/stereoscope v0.0.9 // indirect
7475
github.com/andybalholm/brotli v1.0.4 // indirect
7576
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
7677
github.com/aquasecurity/go-pep440-version v0.0.0-20210121094942-22b2f8951d46 // indirect
@@ -87,7 +88,7 @@ require (
8788
github.com/cespare/xxhash/v2 v2.3.0 // indirect
8889
github.com/chai2010/gettext-go v1.0.2 // indirect
8990
github.com/charmbracelet/lipgloss v1.0.0 // indirect
90-
github.com/charmbracelet/x/ansi v0.4.2 // indirect
91+
github.com/charmbracelet/x/ansi v0.4.5 // indirect
9192
github.com/cloudflare/circl v1.3.8 // indirect
9293
github.com/containerd/cgroups v1.1.0 // indirect
9394
github.com/containerd/containerd v1.7.23 // indirect
@@ -100,7 +101,7 @@ require (
100101
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
101102
github.com/containerd/ttrpc v1.2.5 // indirect
102103
github.com/containerd/typeurl/v2 v2.1.1 // indirect
103-
github.com/cyphar/filepath-securejoin v0.3.1 // indirect
104+
github.com/cyphar/filepath-securejoin v0.3.4 // indirect
104105
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
105106
github.com/deitch/magic v0.0.0-20230404182410-1ff89d7342da // indirect
106107
github.com/distribution/reference v0.6.0 // indirect
@@ -125,7 +126,7 @@ require (
125126
github.com/felixge/fgprof v0.9.3 // indirect
126127
github.com/felixge/httpsnoop v1.0.4 // indirect
127128
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
128-
github.com/gabriel-vasile/mimetype v1.4.6 // indirect
129+
github.com/gabriel-vasile/mimetype v1.4.7 // indirect
129130
github.com/gdamore/encoding v1.0.1 // indirect
130131
github.com/github/go-spdx/v2 v2.3.2 // indirect
131132
github.com/glebarez/go-sqlite v1.21.2 // indirect
@@ -253,7 +254,7 @@ require (
253254
github.com/rivo/uniseg v0.4.7 // indirect
254255
github.com/rubenv/sql-migrate v1.7.0 // indirect
255256
github.com/russross/blackfriday/v2 v2.1.0 // indirect
256-
github.com/saferwall/pe v1.5.4 // indirect
257+
github.com/saferwall/pe v1.5.5 // indirect
257258
github.com/sagikazarmark/locafero v0.4.0 // indirect
258259
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
259260
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
@@ -271,7 +272,7 @@ require (
271272
github.com/spf13/pflag v1.0.5 // indirect
272273
github.com/spf13/viper v1.19.0 // indirect
273274
github.com/subosito/gotenv v1.6.0 // indirect
274-
github.com/sylabs/sif/v2 v2.19.2 // indirect
275+
github.com/sylabs/sif/v2 v2.20.0 // indirect
275276
github.com/sylabs/squashfs v1.0.0 // indirect
276277
github.com/therootcompany/xz v1.0.1 // indirect
277278
github.com/ulikunitz/xz v0.5.12 // indirect
@@ -297,14 +298,14 @@ require (
297298
go.opentelemetry.io/otel/trace v1.28.0 // indirect
298299
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
299300
go.uber.org/multierr v1.11.0 // indirect
300-
golang.org/x/crypto v0.28.0 // indirect
301+
golang.org/x/crypto v0.29.0 // indirect
301302
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
302-
golang.org/x/mod v0.21.0 // indirect
303-
golang.org/x/net v0.30.0 // indirect
303+
golang.org/x/mod v0.22.0 // indirect
304+
golang.org/x/net v0.31.0 // indirect
304305
golang.org/x/oauth2 v0.21.0 // indirect
305-
golang.org/x/sync v0.8.0 // indirect
306-
golang.org/x/sys v0.26.0 // indirect
307-
golang.org/x/term v0.25.0 // indirect
306+
golang.org/x/sync v0.9.0 // indirect
307+
golang.org/x/sys v0.27.0 // indirect
308+
golang.org/x/term v0.26.0 // indirect
308309
golang.org/x/time v0.5.0 // indirect
309310
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
310311
google.golang.org/api v0.171.0 // indirect
@@ -325,7 +326,7 @@ require (
325326
modernc.org/libc v1.55.3 // indirect
326327
modernc.org/mathutil v1.6.0 // indirect
327328
modernc.org/memory v1.8.0 // indirect
328-
modernc.org/sqlite v1.33.1 // indirect
329+
modernc.org/sqlite v1.34.1 // indirect
329330
oras.land/oras-go v1.2.5 // indirect
330331
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
331332
sigs.k8s.io/kustomize/api v0.17.2 // indirect

0 commit comments

Comments
 (0)