Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The flux plugin doesn't work because of a duplicate key #2642

Open
SmaineTF1 opened this issue Mar 22, 2024 · 0 comments
Open

The flux plugin doesn't work because of a duplicate key #2642

SmaineTF1 opened this issue Mar 22, 2024 · 0 comments

Comments

@SmaineTF1
Copy link




Describe the bug
The flux plugin describes a shotcut that is already used, so it doesn't work as it is.
I had this error log

WRN Plugins load failed: duplicate plugin key found for "Shift-A" in "trace"

And removing the following block helped me get the other shortcuts working

   trace:                                                                                                                                                                                                                                                                                                                                                                                   
     shortCut: Shift-A                                                                                                                                                                                                                                                                                                                                                                      
     confirm: false                                                                                                                                                                                                                                                                                                                                                                         
     description: Flux trace                                                                                                                                                                                                                                                                                                                                                                
     scopes:                                                                                                                                                                                                                                                                                                                                                                                
       - all                                                                                                                                                                                                                                                                                                                                                                                
     command: bash                                                                                                                                                                                                                                                                                                                                                                          
     background: false                                                                                                                                                                                                                                                                                                                                                                      
     args:                                                                                                                                                                                                                                                                                                                                                                                  
       - -c                                                                                                                                                                                                                                                                                                                                                                                 
       - >-                                                                                                                                                                                                                                                                                                                                                                                 
         resource=$(echo $RESOURCE_NAME | sed -E 's/ies$/y/' | sed -E 's/ses$/se/' | sed -E 's/(s|es)$//g')                                                                                                                                                                                                                                                                                 
         flux                                                                                                                                                                                                                                                                                                                                                                               
         trace                                                                                                                                                                                                                                                                                                                                                                              
         --context $CONTEXT                                                                                                                                                                                                                                                                                                                                                                 
         --kind $resource                                                                                                                                                                                                                                                                                                                                                                   
         --api-version $RESOURCE_GROUP/$RESOURCE_VERSION                                                                                                                                                                                                                                                                                                                                    
         --namespace $NAMESPACE $NAME                                                                                                                                                                                                                                                                                                                                                       
         | less -K

Versions (please complete the following information):

  • OS: Linux Archlinux kernel 6.8.1-arch1-1
  • K9s: v0.32.4
  • K8s: v1.29 (eks)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant