Move to helm 3 CLI in cluster
Signed-off-by: Sean Eagan <seaneagan1@gmail.com> Change-Id: I3c385547d30796aecb67aaa6482da34765052c47
This commit is contained in:
parent
731deccf05
commit
1017536b9f
|
@ -22,7 +22,7 @@ Sample Document to run containers in Docker runtime
|
|||
images:
|
||||
haproxy: haproxy:1.8.3
|
||||
helm:
|
||||
helm: lachlanevenson/k8s-helm:v2.14.0
|
||||
helm: lachlanevenson/k8s-helm:v3.6.2
|
||||
monitoring_image: busybox:1.28.3
|
||||
packages:
|
||||
repositories:
|
||||
|
@ -121,7 +121,7 @@ Sample Document to run containers in Containerd runtime
|
|||
images:
|
||||
haproxy: haproxy:1.8.3
|
||||
helm:
|
||||
helm: lachlanevenson/k8s-helm:v2.14.0
|
||||
helm: lachlanevenson/k8s-helm:v3.6.2
|
||||
monitoring_image: busybox:1.28.3
|
||||
packages:
|
||||
additional:
|
||||
|
|
|
@ -77,7 +77,7 @@ data:
|
|||
monitoring_image: &busybox busybox:1.28.3
|
||||
haproxy: haproxy:1.8.3
|
||||
helm:
|
||||
helm: lachlanevenson/k8s-helm:v2.14.0
|
||||
helm: lachlanevenson/k8s-helm:v3.6.2
|
||||
packages:
|
||||
common:
|
||||
repositories:
|
||||
|
|
|
@ -42,7 +42,7 @@ data:
|
|||
monitoring_image: busybox:1.28.3
|
||||
haproxy: haproxy:1.8.3
|
||||
helm:
|
||||
helm: lachlanevenson/k8s-helm:v2.14.0
|
||||
helm: lachlanevenson/k8s-helm:v3.6.2
|
||||
packages:
|
||||
common:
|
||||
repositories:
|
||||
|
|
|
@ -85,7 +85,7 @@ data:
|
|||
monitoring_image: &busybox busybox:1.28.3
|
||||
haproxy: haproxy:1.8.3
|
||||
helm:
|
||||
helm: lachlanevenson/k8s-helm:v2.14.0
|
||||
helm: lachlanevenson/k8s-helm:v3.6.2
|
||||
packages:
|
||||
common:
|
||||
additional:
|
||||
|
|
|
@ -77,7 +77,7 @@ data:
|
|||
monitoring_image: &busybox busybox:1.28.3
|
||||
haproxy: haproxy:1.8.3
|
||||
helm:
|
||||
helm: lachlanevenson/k8s-helm:v2.14.0
|
||||
helm: lachlanevenson/k8s-helm:v3.6.2
|
||||
packages:
|
||||
common:
|
||||
repositories:
|
||||
|
|
|
@ -92,20 +92,22 @@ function get_objects () {
|
|||
export -f get_objects
|
||||
|
||||
function get_releases () {
|
||||
helm list --all --short
|
||||
helm list --all-namespaces --all | awk 'NR>1 { print $1, $2 }'
|
||||
}
|
||||
|
||||
function get_release () {
|
||||
input=($1)
|
||||
RELEASE=${input[0]}
|
||||
helm status "${RELEASE}" > "${HELM_DIR}/${RELEASE}.txt"
|
||||
|
||||
NAMESPACE=${input[1]}
|
||||
NAMESPACE_DIR="${HELM_DIR}/${NAMESPACE}"
|
||||
mkdir -p "${NAMESPACE_DIR}"
|
||||
helm status -n "${NAMESPACE}" "${RELEASE}" > "${NAMESPACE_DIR}/${RELEASE}.txt"
|
||||
}
|
||||
export -f get_release
|
||||
|
||||
if which helm; then
|
||||
mkdir -p "${HELM_DIR}"
|
||||
helm list --all > "${HELM_DIR}/list" &
|
||||
helm list --all-namespaces --all > "${HELM_DIR}/list" &
|
||||
get_releases | \
|
||||
xargs -r -n 1 -P "${PARALLELISM_FACTOR}" -I {} bash -c 'get_release "$@"' _ {}
|
||||
fi
|
||||
|
|
|
@ -162,7 +162,7 @@ VALID_DOCS = [
|
|||
'images': {
|
||||
'haproxy': 'haproxy:1.8.3',
|
||||
'helm': {
|
||||
'helm': 'lachlanevenson/k8s-helm:v2.14.0'
|
||||
'helm': 'lachlanevenson/k8s-helm:v3.6.2'
|
||||
}
|
||||
},
|
||||
'packages': {
|
||||
|
|
|
@ -38,7 +38,7 @@ data:
|
|||
monitoring_image: &busybox busybox:1.28.3
|
||||
haproxy: haproxy:1.8.3
|
||||
helm:
|
||||
helm: lachlanevenson/k8s-helm:v2.14.0
|
||||
helm: lachlanevenson/k8s-helm:v3.6.2
|
||||
packages:
|
||||
common:
|
||||
repositories:
|
||||
|
|
|
@ -7,7 +7,7 @@ IMAGE_COREDNS=coredns/coredns:1.7.0
|
|||
IMAGE_DEP_CHECK=quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
|
||||
IMAGE_ETCD=quay.io/coreos/etcd:v3.4.13
|
||||
IMAGE_HAPROXY=haproxy:1.8.3
|
||||
IMAGE_HELM=lachlanevenson/k8s-helm:v2.14.0
|
||||
IMAGE_HELM=lachlanevenson/k8s-helm:v3.6.2
|
||||
IMAGE_APISERVER=k8s.gcr.io/kube-apiserver-amd64:v1.20.5
|
||||
IMAGE_CONTROLLER_MANAGER=k8s.gcr.io/kube-controller-manager-amd64:v1.20.5
|
||||
IMAGE_SCHEDULER=k8s.gcr.io/kube-scheduler-amd64:v1.20.5
|
||||
|
|
|
@ -9,7 +9,7 @@ k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64,1.14.4,k8s-dns-dnsmasq-nanny-amd64
|
|||
k8s.gcr.io/k8s-dns-kube-dns-amd64,1.14.4,k8s-dns-kube-dns-amd64
|
||||
k8s.gcr.io/k8s-dns-sidecar-amd64,1.14.4,k8s-dns-sidecar-amd64
|
||||
gcr.io/kubernetes-helm/tiller,v2.14.0,tiller
|
||||
lachlanevenson/k8s-helm,v2.14.0,helm
|
||||
lachlanevenson/k8s-helm,v3.6.3,helm
|
||||
quay.io/airshipit/armada,master,armada
|
||||
quay.io/calico/cni,v1.11.0,calico-cni
|
||||
quay.io/calico/ctl,v1.6.1,calico-ctl
|
||||
|
|
Loading…
Reference in New Issue