Add externalsecrets plugin (#3143)

* Add externalsecrets plugin

* Adjust externalsecrets descriptions and formatting

---------

Co-authored-by: Lorenz Boguhn <Lorenz.Boguhn@ppi.de>
mine
lorenzboguhn 2025-03-01 01:50:59 +01:00 committed by GitHub
parent 36eb83b6f4
commit 1e9f85dd15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Following is an example of some plugin files in this directory. Other files are
| 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) |
| 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) |
| external-secrets.yaml | Refresh external/push-secrets | externalsecrets/pushsecrets | Shift-R | |
| 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

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