Helm: Difference between revisions
Jump to navigation
Jump to search
(→helm) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=helm= | |||
Install helm cli | |||
sudo curl -vL https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/helm/latest/helm-linux-amd64 -o /usr/local/bin/helm ; sudo chmod 755 /usr/local/bin/helm | |||
Autocompletion | |||
. <(helm completion bash) | |||
List all helm charts in all namespaces | |||
helm list -aA | |||
Status | |||
helm status -n openshift-marketplace cecp-infra-operatorhub -o yaml | |||
==remove/uninstall/delete== | |||
helm uninstall <release> -n <namespace> | |||
==install helm chart== | |||
helm upgrade --install akhq akhq/akhq | |||
==repo== | |||
Add repo | |||
helm repo add akhq https://akhq.io/ | |||
List repos | |||
helm repo list | |||
=read helm secrets= | =read helm secrets= | ||
kubectl get secret sh.helm.release.v1.strimzi.v4 -o json | jq -r '.data.release| @base64d ' | base64 -d | zcat | sed 's/\\n/\n/g' | kubectl get secret sh.helm.release.v1.strimzi.v4 -o json | jq -r '.data.release| @base64d ' | base64 -d | zcat | sed 's/\\n/\n/g' | ||
kubectl get secret sh.helm.release.v1.strimzi.v4 -o go-template='{{.data.release | base64decode | base64decode}}' | gzip -d | jq . | kubectl get secret sh.helm.release.v1.strimzi.v4 -o go-template='{{.data.release | base64decode | base64decode}}' | gzip -d | jq . |
Latest revision as of 08:40, 18 April 2024
helm
Install helm cli
sudo curl -vL https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/helm/latest/helm-linux-amd64 -o /usr/local/bin/helm ; sudo chmod 755 /usr/local/bin/helm
Autocompletion
. <(helm completion bash)
List all helm charts in all namespaces
helm list -aA
Status
helm status -n openshift-marketplace cecp-infra-operatorhub -o yaml
remove/uninstall/delete
helm uninstall <release> -n <namespace>
install helm chart
helm upgrade --install akhq akhq/akhq
repo
Add repo
helm repo add akhq https://akhq.io/
List repos
helm repo list
read helm secrets
kubectl get secret sh.helm.release.v1.strimzi.v4 -o json | jq -r '.data.release| @base64d ' | base64 -d | zcat | sed 's/\\n/\n/g' kubectl get secret sh.helm.release.v1.strimzi.v4 -o go-template='Template:.data.release' | gzip -d | jq .