Fix: plugin external-secrets.yaml context (#3546)

* fix when switching contexts

* Link external-secrets

# Conflicts:
#	plugins/README.md

* external-secret background true
mine
Lucas BODIN 2025-09-19 00:53:31 +02:00 committed by GitHub
parent 5c5fcba6d8
commit ab839ed11e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 29 deletions

View File

@ -6,14 +6,14 @@ your Kubernetes clusters.
Following is an example of some plugin files in this directory. Other files are not listed in this table. Following is an example of some plugin files in this directory. Other files are not listed in this table.
| Plugin-Name | Description | Available on Views | Shortcut | Kubectl plugin, external dependencies | | Plugin-Name | Description | Available on Views | Shortcut | Kubectl plugin, external dependencies |
| ------------------------------ | ----------------------------------------------------------------------------------------- | ----------------------------------- | --------- | ------------------------------------------------------------------------------------- | |--------------------------------|-------------------------------------------------------------------------------------------|-------------------------------------|-------------|---------------------------------------------------------------------------------------|
| ai-incident-investigation.yaml | Run AI investigation on application issues to find the root cause in seconds | all | Shift-h/o | [HolmesGPT](https://github.com/robusta-dev/holmesgpt) | | ai-incident-investigation.yaml | Run AI investigation on application issues to find the root cause in seconds | all | Shift-h/o | [HolmesGPT](https://github.com/robusta-dev/holmesgpt) |
| argocd.yaml | Perform argocd operation quickly | applications | Shift-r | [ArgoCD](https://argo-cd.readthedocs.io/en/stable/getting_started/) | | argocd.yaml | Perform argocd operation quickly | applications | Shift-r | [ArgoCD](https://argo-cd.readthedocs.io/en/stable/getting_started/) |
| crd-wizard.yaml | Clear and intuitive interface for visualizing and exploring CR(D)s | applications | Shift-w | [crd-wizard](https://github.com/pehlicd/crd-wizard) | | crd-wizard.yaml | Clear and intuitive interface for visualizing and exploring CR(D)s | applications | Shift-w | [crd-wizard](https://github.com/pehlicd/crd-wizard) |
| debug-container.yaml | Add [ephemeral debug container](1)<br>([nicolaka/netshoot](2)) | containers | Shift-d | | | debug-container.yaml | Add [ephemeral debug container](1)<br>([nicolaka/netshoot](2)) | containers | Shift-d | |
| dive.yaml | Dive image layers | containers | d | [Dive](https://github.com/wagoodman/dive) | | dive.yaml | Dive image layers | containers | d | [Dive](https://github.com/wagoodman/dive) |
| dup.yaml | Duplicate, edit and Debug resources | all | Shift-d/e/v | [dup](https://github.com/vash/dup) | | dup.yaml | Duplicate, edit and Debug resources | all | Shift-d/e/v | [dup](https://github.com/vash/dup) |
| external-secrets.yaml | Refresh external/push-secrets | externalsecrets/pushsecrets | Shift-R | | | external-secrets.yaml | Refresh external/push-secrets | externalsecrets/pushsecrets | Shift-R | [External Secrets](https://external-secrets.io) |
| get-all.yaml | get all resources in a namespace | all | g | [Krew](https://krew.sigs.k8s.io/), [ketall](https://github.com/corneliusweig/ketall/) | | get-all.yaml | get all resources in a namespace | all | g | [Krew](https://krew.sigs.k8s.io/), [ketall](https://github.com/corneliusweig/ketall/) |
| helm-diff.yaml | Diff with previous revision / current revision | helm/history | Shift-D/Q | [helm-diff](https://github.com/databus23/helm-diff) | | helm-diff.yaml | Diff with previous revision / current revision | helm/history | Shift-D/Q | [helm-diff](https://github.com/databus23/helm-diff) |
| job-suspend.yaml | Suspends a running cronjob | cronjobs | Ctrl-s | | | job-suspend.yaml | Suspends a running cronjob | cronjobs | Ctrl-s | |

View File

@ -6,10 +6,10 @@ plugins:
- externalsecrets - externalsecrets
description: Refresh the externalsecret description: Refresh the externalsecret
command: bash command: bash
background: false background: true
args: args:
- -c - -c
- "kubectl annotate externalsecrets.external-secrets.io -n $NAMESPACE $NAME force-sync=$(date +%s) --overwrite" - "kubectl annotate externalsecrets.external-secrets.io --context $CONTEXT -n $NAMESPACE $NAME force-sync=$(date +%s) --overwrite"
refresh-push-secrets: refresh-push-secrets:
shortCut: Shift-R shortCut: Shift-R
confirm: false confirm: false
@ -17,7 +17,7 @@ plugins:
- pushsecrets - pushsecrets
description: Refresh the pushsecret description: Refresh the pushsecret
command: bash command: bash
background: false background: true
args: args:
- -c - -c
- "kubectl annotate pushsecrets.external-secrets.io -n $NAMESPACE $NAME force-sync=$(date +%s) --overwrite" - "kubectl annotate pushsecrets.external-secrets.io --context $CONTEXT -n $NAMESPACE $NAME force-sync=$(date +%s) --overwrite"