Commit Graph

10 Commits (e00fa357ceb2adda9a501eba5ae5848481458b12)

Author SHA1 Message Date
markafarrell e00fa357ce
add flux-operator resources to flux plugin (#3536) 2025-09-17 11:19:05 -06:00
Alexandre Veyrenc a6fbf984cb
Make "flux trace" more generic (#3543) 2025-09-16 17:49:52 -06:00
Alexandre Veyrenc 4f78ab77ec
Fix Flux trace plugin command (#3041) 2025-01-12 08:41:12 -07:00
fragolinux 88547dcc81
fixed conflicting plugin shortcuts, and added 2 new plugins (#2930)
* added flux suspended resources retrieval plugin

using this plugin, you can press Shift-S in "kustomizations" and "helmreleases" k9s sections to get a list of all suspended resources... a temporary patch till k9s will allow custom columns based on .spec in its views...

* Create rm-ns.yml

to test: create an "undeletable" namespace, with wrong finalizers:

```
apiVersion: v1
kind: Namespace
metadata:
  name: test
spec:
  finalizers:
    - foregroundDeletion
```

apply to cluster: `kubectl create -f test.yaml`

go in NS view in k9s, then select the test NS and press CTRL-D to delete it... it will stay in terminating state, because of the finalizers... now press "n", and confirm, to remove the finalizers... the NS should now be gone...

do NOT run on the "all+" ns, it will crash k9s...

* Update log-full.yaml

* Update log-loki.yaml

* Update log-stern.yaml

* Update crossplane.yaml

* Update duplik8s.yaml

* Update flux.yaml

* Update log-full.yaml

* Delete plugins/rm-ns.yml

* Update and rename get_suspended.yml to get_suspended.yaml

* Delete plugins/get_suspended.yaml
2024-10-27 18:20:53 -06:00
Pierce Staab dae2590e0f
Update flux plugin to handle inactive context (#2542)
* Update flux.yaml

* Update flux.yaml
2024-02-21 17:53:35 -07:00
Fernand Galiana f0d0e62b70
K9s/release v0.30.1 (#2369)
* [Bug] Fix #2368

* [Bug] Fix #2363

* [Bug] Fix #2364

* [Bug] Fix #2366

* [Bug] Fix #2367

* Release docs + rebase fixes
2023-12-24 11:29:22 -07:00
Fernand Galiana dcec53e061
K9s/rel v0.30.0 (#2361)
* [Maint] Refactor VS col handling

* [Bug] Add helm hist <enter> values cmd

* [Bug] Add context specific skins within a given cluster config.

* [Maint] Image scan controls

* [Bug] Fix fwd+bench timestamp

* [Refact] all-ns const

* [Maint] update tabledefs from metav1beta1 to metav1

* [Feat] Introduce workload view

* [Maint] Add convenience to map out ns names

- Refactor allnamespaces

* [Cleanup] axe pegomock

* [Refact] Use gvr type vs string

* [Feat] Add blacklist scans exclusions

* [Feat] setLabels for stored commands

* [Maint] Rename api-group column

* [Refact] gvr type refactor

* [Maint] Cleaning up

* [Bug] Add ability to skin based on context

- Handles cluster spanning *contexts

* [Maint] Cleaning up

* [Feat] Cmd interpreter

* [Maint] Clean up + bug fixes

* [Feat] Changed k9s config loader

> NOTE: !!Breaking change!!

- Make k9s config readonly
- Move writable artifacts to XDG data dir
- Move transient artifacts to XDG state dir
- Add per context skin option
- Add per context readonly option
- Consistent pluralization file names to yaml section

* [Docs] Update release and README docs

* [Maint] Rebase + cleanup

* [Maint] Normalize config extensions all yml -> yaml

* [Maint] Cleaning up + fixes
2023-12-23 14:29:55 -07:00
RichieSams 309465e2b6
Fix the flux plugin to use the context of the currently running instance (#1366)
Rather than the default context.

This means if you run k9s --context XXX, any flux commands run by the plugin will run on the correct context
2022-01-24 17:07:12 -07:00
Guillaume Berche 08ee61a298
Add flux trace shortcut to flux plugin (#1356)
* Add flux trace shortcut to flux plugin

Implementation notes: $RESOURCE_NAME is exported in plural form (e.g. cronjobs, pods) so the script trims the trailing s if any.

* Generalize to support other resource name plural forms

such as Ingresses
2021-12-13 12:33:00 -07:00
fragolinux 66bce23f42
add support for flux reconcile/suspend/resume (#1125)
# Shift-T (with confirmation) to toggle helm releases or kustomizations suspend and resume
# Shift-R (no confirmation) to reconcile a git source or a helm release or a kustomization
2021-07-24 08:22:46 -06:00