From 0002fef5e33ec556d8c48659392ffa30bca8172b Mon Sep 17 00:00:00 2001 From: Guillaume Berche Date: Sat, 5 Aug 2023 16:55:15 +0200 Subject: [PATCH] Update flux.yml with shortcuts for helm repo and oci repos (#2141) --- plugins/flux.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/plugins/flux.yml b/plugins/flux.yml index 454069a6..d997e387 100644 --- a/plugins/flux.yml +++ b/plugins/flux.yml @@ -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