Shell Integration Details
About 120 wordsLess than 1 minute
2025-09-07
This documentation will go more in detail about the inner workings of the Shell Integration
Integration Details
What the Wrapper Does
- Intercepts Commands: Catches
tka login,tka refresh, andtka logout - Executes TKA: Runs the actual TKA binary
- Parses Output: Extracts environment variable exports
- Updates Environment: Sets variables in your current shell
- Shows Status: Displays success/failure messages
Environment Variables Managed
KUBECONFIG- Path to the temporary kubeconfig file- Custom variables (if added in future versions)
Temporary File Management
The wrapper tracks temporary kubeconfig files and cleans them up during:
tka logout- Explicit cleanup- Shell exit - Automatic cleanup (if supported by shell)
