summarylogtreecommitdiffstats
path: root/k9s-flux-plugins.yaml
blob: 89d91ba24cc9031211fb34c71646ca2bb761ffb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins:
  flux-helmrelease-reconcile:
    shortCut: r
    confirm: false
    description: Reconcile Flux HelmRelease
    scopes:
      - helmrelease
    background: true
    command: bash
    args:
      - -c
      - |
        flux -n $NAMESPACE suspend helmrelease $NAME
        flux -n $NAMESPACE resume helmrelease $NAME
        flux -n $NAMESPACE reconcile helmrelease $NAME --with-source
  flux-kustomization-reconcile:
    shortCut: r
    confirm: false
    description: Reconcile Flux Kustomization
    scopes:
      - kustomization
    background: true
    command: bash
    args:
      - -c
      - |
        flux -n $NAMESPACE suspend kustomization $NAME
        flux -n $NAMESPACE resume kustomization $NAME
        flux -n $NAMESPACE reconcile kustomization $NAME --with-source
  flux-gitrepo-reconcile:
    shortCut: r
    confirm: false
    description: Reconcile Flux gitrepository
    scopes:
      - gitrepository
    background: true
    command: bash
    args:
      - -c
      - |
        flux -n $NAMESPACE suspend source git $NAME
        flux -n $NAMESPACE resume source git $NAME