added eks support for kubernetes prompt

This commit is contained in:
Dor Munis 2023-05-12 18:06:09 +03:00
parent a787cd1f4a
commit 31327163a1
3 changed files with 54 additions and 4 deletions

View file

@ -273,3 +273,29 @@ Set the label when there is one client, or more than one client
set -g @dracula-clients-singular client
set -g @dracula-clients-plural clients
```
#### Kubernetes options
Add prefix label before the context
```bash
set -g @dracula-kubernetes-context-label "Some Label"
```
Hide user from the context string
```
set -g @dracula-kubernetes-hide-user true
```
Hide ARN (show only cluster name) - Available for EKS only (only available for cluster names that are ARNs)
```
set -g @dracula-kubernetes-eks-hide-arn true
```
Extract the account as a prefix to the cluster name - Available for EKS only (only available for cluster names that are ARNs)
```
set -g @dracula-kubernetes-eks-extract-account true
```