Commit Graph

1602 Commits (ecb253622e86146265393a4411c17bc584d56ad5)

Author SHA1 Message Date
derailed 694159b857 K9s release v0.28.2
- Restore delete shortcut
2023-11-11 23:18:34 -07:00
derailed eb7460e8d8 restore delete shortcut 2023-11-11 23:16:14 -07:00
Jayson Wang 7af4b2d890 try to get the os name form the pod assigned node (#2282)
* get the os name from the node when needed

* code quality

* remove err sentinel

---------

Co-authored-by: Fernand Galiana <fernand.galiana@gmail.com>
2023-11-11 18:51:46 -07:00
Fernand Galiana 5540b5a825 Add sanitize command (#2286)
- Sanitize provides for clearing out pods in either completed/failed
  state #2277
2023-11-11 10:33:33 -07:00
Alexandru Placinta 19952cd282
Delete port forwards when pods get deleted or killed (#2247) 2023-11-10 17:51:26 -07:00
Alexandru Placinta a3155d015d
Add prompt border color customization (#2234) 2023-11-10 08:54:40 -07:00
Jayson Wang 893f15f802
check if the Node already cordoned when executing Drain (#2275)
* check if the Node already cordoned when executing Drain

* ensure node cordoned
2023-11-09 17:15:20 -07:00
Jérémie Tarot b3e85e9bbc
README.md: fix typo in netshoot URL (#2278) 2023-11-09 17:11:46 -07:00
Eng Zer Jun 458517fc14
chore: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml` (#2280)
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-11-09 17:10:42 -07:00
Artem Gorbatiuk a34d7ae6bf
feat: add autoRefresh config field (#2256) (#2257)
* feat: add autoRefresh config field

Add autoRefresh: true to config test scenarios
Update all instances of NewLiveView() to pass autoRefresh config value to LiveView

* fix: rename generic autoRefresh config field to liveViewAutoRefresh

* docs: document liveViewAutoRefresh config field

* fix: use app config for NewLiveView creation

---------

Co-authored-by: Artem Gorbatiuk <wfrced@gmail.com>
2023-11-08 12:45:22 -07:00
Jayson Wang 68afb3d9ef
return the correct benchamrk path (#2272) 2023-11-08 08:37:16 -07:00
Fernand Galiana d19c792feb
K9s/rel v0.28.0 (#2274)
* check for plausible overflow when seting up env

* Various fixes and clean up

* Introduce File transfer command

- Add ability to upload/download files from/to pods

* release v0.28.0
2023-11-07 17:22:41 -07:00
dependabot[bot] f4d2ca621a
chore(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 (#2269)
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:19:21 -07:00
dependabot[bot] c651ec57c9
chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#2270)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:19:05 -07:00
dependabot[bot] 79b1841daa
chore(deps): bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 (#2271)
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog) from 2.100.1 to 2.110.1.
- [Release notes](https://github.com/kubernetes/klog/releases)
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md)
- [Commits](https://github.com/kubernetes/klog/compare/v2.100.1...v2.110.1)

---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 17:18:40 -07:00
Jayson Wang a8615d9f19
fix manual sorting not working when sortColumn is configured (#2253)
* fix manual sorting not working when sortColumn is configured

* using manualSort to indicate has modified the sort col

* make user changes to the sortColumn take effect
2023-11-05 07:50:45 -07:00
dependabot[bot] 536ee08247
chore(deps): bump github.com/rs/zerolog from 1.29.1 to 1.31.0 (#2241)
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.29.1 to 1.31.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.29.1...v1.31.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 07:47:50 -07:00
dependabot[bot] 62239f9415
chore(deps): bump github.com/docker/docker (#2266)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.6+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.6...v24.0.7)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 07:38:41 -07:00
Jayson Wang 09719eb16b
fix fsnotify not fully working (#2258) 2023-10-29 13:32:41 -06:00
dependabot[bot] 85c0f26158
chore(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 (#2259)
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 13:09:07 -06:00
dependabot[bot] cf95ebd5ce
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1 (#2260)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 13:08:40 -06:00
dependabot[bot] a93acbd28e
chore(deps): bump google.golang.org/grpc from 1.54.0 to 1.56.3 (#2263)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.54.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.54.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 13:08:24 -06:00
dependabot[bot] 981f9cc796
chore(deps): bump k8s.io/metrics from 0.28.2 to 0.28.3 (#2254)
Bumps [k8s.io/metrics](https://github.com/kubernetes/metrics) from 0.28.2 to 0.28.3.
- [Commits](https://github.com/kubernetes/metrics/compare/v0.28.2...v0.28.3)

---
updated-dependencies:
- dependency-name: k8s.io/metrics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 16:33:05 -06:00
dependabot[bot] 9114a8ce27
chore(deps): bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 (#2250)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.13.0...v3.13.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 16:14:53 -06:00
Jayson Wang b2be433637
consider units when sorting capacity (#2252) 2023-10-18 10:19:05 -06:00
Felipe Galindo Sanchez e906fa606f
fix: honor defaults from drain dialog in request (#2239)
* fix: honor defaults from dialog into request

* reuse options/defaults from arg

* fix additional references for defaults
2023-10-12 11:27:56 -06:00
dependabot[bot] e326b41c31
chore(deps): bump golang.org/x/text from 0.12.0 to 0.13.0 (#2242)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 11:26:21 -06:00
dependabot[bot] bac74572ab
chore(deps): bump golang.org/x/net from 0.13.0 to 0.17.0 (#2245)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.13.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 11:26:05 -06:00
yinheli 67b5da1732
fix(typo): pdb header typo (#2243) 2023-10-12 08:22:57 -06:00
Julien Bouquillon 46b725d934
docs: add plugin.yml JSON schema (#2235) 2023-10-08 08:09:20 -06:00
Mike 13c25dd000
fix(log): clear bold log format after timestamp (#2229) 2023-10-04 08:28:16 -06:00
dependabot[bot] 4061c03851
Bump actions/checkout from 3.5.2 to 4.1.0 (#2232)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 08:25:31 -06:00
dependabot[bot] fbad3e23a6
Bump helm.sh/helm/v3 from 3.12.0 to 3.13.0 (#2236)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 07:00:25 -06:00
dependabot[bot] e8f2450edc
Bump alpine from 3.18.3 to 3.18.4 (#2237)
Bumps alpine from 3.18.3 to 3.18.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 07:00:05 -06:00
dependabot[bot] b5961a5feb
Bump k8s.io/metrics from 0.27.1 to 0.27.4 (#2172)
Bumps [k8s.io/metrics](https://github.com/kubernetes/metrics) from 0.27.1 to 0.27.4.
- [Commits](https://github.com/kubernetes/metrics/compare/v0.27.1...v0.27.4)

---
updated-dependencies:
- dependency-name: k8s.io/metrics
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 09:08:39 -06:00
graelo 44340618f5
chore(skins): add solarized-16 (dark/light) (#2176) 2023-08-12 09:08:07 -06:00
dependabot[bot] 2729cb7b97
Bump golang.org/x/text from 0.11.0 to 0.12.0 (#2191)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 09:04:13 -06:00
dependabot[bot] 255589d7e4
Bump alpine from 3.18.2 to 3.18.3 (#2192)
Bumps alpine from 3.18.2 to 3.18.3.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-12 09:02:24 -06:00
Guillaume Berche 0002fef5e3
Update flux.yml with shortcuts for helm repo and oci repos (#2141) 2023-08-05 08:55:15 -06:00
Pawan Kumar cd98cdc9b0
feat: Added support for arm in dockerfile (#2180)
* Added support for arm in dockerfile

* Removed echo statement

* Capitalised arch variable
2023-08-05 08:44:53 -06:00
Kyle Huggins 12b1d28c9d
feat(alias): add `qa` for quit (#2188)
This adds an additional alias for "quit". `qa` is muscle memory for
vimmers, and fits in well alongside `q` and `q!`.

Resolves #856
2023-08-05 08:44:37 -06:00
Yarek T c67093807b
Focus command bar if active on startup (#2179)
If the command bar was activated with `:` before or during the splash
delay, the main page would steal focus from it, breaking the UI.

This patch re-focuses the command bar if its active after switching
focus to the main page.

Fixes issue #2178
2023-08-05 08:43:27 -06:00
dependabot[bot] 6f74374291
Bump golang.org/x/text from 0.9.0 to 0.11.0 (#2182)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.9.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-05 08:39:38 -06:00
dependabot[bot] e7dc4ae0e7
Bump alpine from 3.18.0 to 3.18.2 (#2142)
Bumps alpine from 3.18.0 to 3.18.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 12:48:49 -06:00
dependabot[bot] 310da33636
Bump k8s.io/cli-runtime from 0.27.2 to 0.27.4 (#2174)
Bumps [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime) from 0.27.2 to 0.27.4.
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.27.2...v0.27.4)

---
updated-dependencies:
- dependency-name: k8s.io/cli-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 12:46:54 -06:00
Felix Geyer 062e7ef439
Show the default container as the first entry (#2158)
* Switch to new default-container pod annotation

kubectl.kubernetes.io/default-logs-container has been deprecated and
removed in kubectl, see
3a9c6f2a2f

* Show the default container as the first entry

In container selections show the default container as the first entry of
the list.
2023-07-26 12:46:35 -06:00
Adam Sranko 8af2956d61
Changed checksums extension to checksums.sha256 (#2153) 2023-07-26 12:46:19 -06:00
Thomas Dy 55c1905eb1
Only apply keyConv to mnemonic in menus (#2161)
This fixes an issue where namespaces with "alt" in the name get replaced
by "opt" when running on macOS.
2023-07-26 12:40:03 -06:00
Vlad Fratila f42f19bbce
Add namespace for rolebinding on a clusterrole (#2170)
* add namespace for rolebinding on a clusterrole

Signed-off-by: Vlad Fratila <vlad.fratila@gmail.com>

* remove unused function

Signed-off-by: Vlad Fratila <vlad.fratila@gmail.com>

---------

Signed-off-by: Vlad Fratila <vlad.fratila@gmail.com>
2023-07-26 12:39:37 -06:00
Guillaume Berche c1e16e338a
feat: plugin for adding an ephemeral debug container (#2147)
* docs: refactor plugins table

* feat: plugin for adding an ephemeral debug container

Uses https://github.com/nicolaka/netshoot container
2023-07-12 08:14:05 -06:00