Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
scripts/find-updates.sh: aws provider change
Browse files Browse the repository at this point in the history
It has been shifted to hashicorp repo.

metrics-server component helm stable repo location updated.

closes: #1209
Signed-off-by: knrt10 <kautilya@kinvolk.io>
  • Loading branch information
knrt10 committed Nov 24, 2020
1 parent 9018f80 commit a28be08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/find-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ current_version=$(grep version assets/charts/components/metrics-server/Chart.yam
tmpdir=$(mktemp -d)
cd "${tmpdir}"

helm repo add stable https://kubernetes-charts.storage.googleapis.com >/dev/null 2>&1
helm repo add stable https://charts.helm.sh/stable >/dev/null 2>&1
helm repo update >/dev/null 2>&1
helm fetch --untar --untardir ./ stable/metrics-server
version=$(grep version "${tmpdir}/metrics-server/Chart.yaml" | cut -d":" -f2)
Expand Down Expand Up @@ -236,7 +236,7 @@ printf "${format}" "Packet" "${current_version}" "${version}"
cd "${workdir}"
current_version=$(grep aws -A1 assets/terraform-modules/aws/flatcar-linux/kubernetes/versions.tf | tail -1 | cut -d"\"" -f2 | sed 's|~>||g' | sed 's| ||g')

get_latest_release terraform-providers/terraform-provider-aws
get_latest_release hashicorp/terraform-provider-aws
printf "${format}" "AWS" "${current_version}" "${version}"

###########################
Expand Down

0 comments on commit a28be08

Please sign in to comment.