Actually update the default version of aws ebs to 0.7.0
This commit is contained in:
parent
004503d633
commit
fea850afcc
1
charts/kubezero-aws-ebs-csi-driver/.gitignore
vendored
Normal file
1
charts/kubezero-aws-ebs-csi-driver/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
git
|
@ -1,22 +0,0 @@
|
|||||||
# Patterns to ignore when building packages.
|
|
||||||
# This supports shell glob matching, relative path matching, and
|
|
||||||
# negation (prefixed with !). Only one pattern per line.
|
|
||||||
.DS_Store
|
|
||||||
# Common VCS dirs
|
|
||||||
.git/
|
|
||||||
.gitignore
|
|
||||||
.bzr/
|
|
||||||
.bzrignore
|
|
||||||
.hg/
|
|
||||||
.hgignore
|
|
||||||
.svn/
|
|
||||||
# Common backup files
|
|
||||||
*.swp
|
|
||||||
*.bak
|
|
||||||
*.tmp
|
|
||||||
*~
|
|
||||||
# Various IDEs
|
|
||||||
.project
|
|
||||||
.idea/
|
|
||||||
*.tmproj
|
|
||||||
.vscode/
|
|
@ -6,7 +6,7 @@ replicaCount: 2
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: amazon/aws-ebs-csi-driver
|
repository: amazon/aws-ebs-csi-driver
|
||||||
tag: "v0.6.0"
|
tag: "v0.7.0"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
sidecars:
|
sidecars:
|
||||||
|
@ -4,9 +4,11 @@ set -ex
|
|||||||
# Upstream doesnt have proper Helm repo yet so we just download latest release and stuff it into charts
|
# Upstream doesnt have proper Helm repo yet so we just download latest release and stuff it into charts
|
||||||
|
|
||||||
REPO="kubernetes-sigs/aws-ebs-csi-driver"
|
REPO="kubernetes-sigs/aws-ebs-csi-driver"
|
||||||
LATEST_RELEASE=$(curl -sL -s https://api.github.com/repos/${REPO}/releases | grep '"tag_name":' | cut -d'"' -f4 | grep -v -E "(alpha|beta|rc)" | sort -t"." -k 1,1 -k 2,2 -k 3,3 -k 4,4 | tail -n 1)
|
[ -z "$RELEASE" ] && RELEASE=$(curl -sL -s https://api.github.com/repos/${REPO}/releases | grep '"tag_name":' | cut -d'"' -f4 | grep -v -E "(alpha|beta|rc)" | sort -t"." -k 1,1 -k 2,2 -k 3,3 -k 4,4 | tail -n 1)
|
||||||
|
|
||||||
URL="https://github.com/${REPO}/releases/download/${LATEST_RELEASE}/helm-chart.tgz"
|
rm -rf git
|
||||||
|
git clone https://github.com/$REPO.git git
|
||||||
|
cd git && git checkout $RELEASE && cd -
|
||||||
|
|
||||||
rm -rf charts/aws-ebs-csi-driver
|
rm -rf charts/aws-ebs-csi-driver && mkdir -p charts/aws-ebs-csi-driver
|
||||||
curl -sL "$URL" | tar xz -C charts
|
mv git/aws-ebs-csi-driver/* charts/aws-ebs-csi-driver
|
||||||
|
Loading…
Reference in New Issue
Block a user