plugin to allow default chart values retrieval (#1539)

@fragolinux Thank you for this update!
mine
fragolinux 2022-05-19 08:13:52 -07:00 committed by GitHub
parent b24759e6fe
commit 838174a0cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
plugin:
helm-default-values:
shortCut: Shift-V
confirm: false
description: Chart Default Values
scopes:
- helm
command: sh
background: false
args:
- -c
- "kubectl get secrets --context $CONTEXT -n $NAMESPACE sh.helm.release.v1.$COL-NAME.v$(helm history -n $NAMESPACE --kube-context $CONTEXT $COL-NAME | grep deployed | cut -d$'\\t' -f1 | tr -d ' \\t') -o yaml | yq e '.data.release' - | base64 -d | base64 -d | gunzip | jq -r '.chart.values' | yq -P | less"