Files
charts/clustertool
Oliver Simons 2eb7770519 fix(devcontainer): Export KREW_PATH to fish shell (#40021)
**Description**

This allow us to actually use krew and installed plugins from fish
shells inside our devcontainer

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**

On local vs-code install, I was hitting
```
talos_clustertool on  main [$] 
⬢ [Docker] ❯ kubectl krew
error: unknown command "krew" for "kubectl"

talos_clustertool on  main [$] 
⬢ [Docker] ❯ kubectl pv-mounter
error: unknown command "pv-mounter" for "kubectl"
```
before fix inside a devcontainer. After exporting the krew path to fish,
we can find the installed plugins.

```
talos_clustertool on  main [!] 
⬢ [Docker] ❯ kubectl pv-mounter
pv-mounter is a kubectl plugin that allows you to easily mount and unmount
Kubernetes PersistentVolumeClaims (PVCs) locally via SSHFS.

It transparently manages proxy pods, ephemeral containers, port-forwarding,
and SSHFS connections.
...
``` 

**📃 Notes:**
Not sure if relevant, but I used:
```
(base) ➜  truecharts git:(orippler/export_krew_path_to_fish) code --version
1.104.1
0f0d87fa9e96c856c5212fc86db137ac0d783365
x64
```
on Ubuntu 22.04
**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2025-09-26 06:05:35 +02:00
..

clustertool

GitHub release (release name instead of tag name) GitHub issues

A helper tool to help building TrueCharts helm charts
· Report Bug · Request Feature

About The Project

CLA: Before contributing

Our CLA applies to this repository as well.

Please ensure it's signed before submitting a PR: https://cla-assistant.io/truecharts/charts

We use the truecharts/charts link, as CLA assistant does not allow for creating a custom link to a private repository. However, they all sign the same CLA that applies project-wide

License

This tool is released as "All Rights reserved" and hence it's code should NOT be shared. This includes binaries that are modified to remove TrueCharts specific code, unless approved by Kjeld Schouten "The Owner". Those that are invited to have access to repository, are free to edit and use this code for testing purposes, as long as its sourcecode is not shared or saved in-the-cloud.