Update flux.yml with shortcuts for helm repo and oci repos (#2141)

mine
Guillaume Berche 2023-08-05 16:55:15 +02:00 committed by GitHub
parent cd98cdc9b0
commit 0002fef5e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 0 deletions

View File

@ -47,6 +47,28 @@ plugin:
args:
- -c
- "flux --context $CONTEXT reconcile helmrelease -n $NAMESPACE $NAME |& less"
reconcile-helm-repo:
shortCut: Shift-Z
description: Flux reconcile
scopes:
- helmrepositories
command: bash
background: false
confirm: false
args:
- -c
- "flux reconcile source helm --context $CONTEXT -n $NAMESPACE $NAME |& less"
reconcile-oci-repo:
shortCut: Shift-Z
description: Flux reconcile
scopes:
- ocirepositories
command: bash
background: false
confirm: false
args:
- -c
- "flux reconcile source oci --context $CONTEXT -n $NAMESPACE $NAME |& less"
reconcile-ks:
shortCut: Shift-R
confirm: false