mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
Merge pull request #405 from humblec/driver-version
Driver version updated to 1.1.0
This commit is contained in:
commit
c7ba26d23d
11
deploy.sh
11
deploy.sh
@ -5,10 +5,10 @@ push_helm_charts() {
|
||||
CHANGED=0
|
||||
VERSION=$(grep 'version:' deploy/"$PACKAGE"/helm/Chart.yaml | awk '{print $2}')
|
||||
|
||||
if [ ! -f "tmp/csi-charts/docs/$PACKAGE/ceph-csi-$PACKAGE-$VERSION.tgz" ]; then
|
||||
if [ ! -f "tmp/csi-charts/docs/$PACKAGE/v$VERSION/ceph-csi-$PACKAGE-$VERSION.tgz" ]; then
|
||||
CHANGED=1
|
||||
ln -s helm deploy/"$PACKAGE"/ceph-csi-"$PACKAGE"
|
||||
mkdir -p tmp/csi-charts/docs/"$PACKAGE"
|
||||
mkdir -p tmp/csi-charts/docs/"$PACKAGE/v$VERSION"
|
||||
pushd tmp/csi-charts/docs/"$PACKAGE" >/dev/null
|
||||
helm init --client-only
|
||||
helm package ../../../../deploy/"$PACKAGE"/ceph-csi-"$PACKAGE"
|
||||
@ -24,11 +24,8 @@ push_helm_charts() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [ "${TRAVIS_BRANCH}" == 'csi-v0.3' ]; then
|
||||
export ENV_RBD_IMAGE_VERSION='v0.3-canary'
|
||||
export ENV_CEPHFS_IMAGE_VERSION='v0.3-canary'
|
||||
elif [ "${TRAVIS_BRANCH}" == 'master' ]; then
|
||||
export ENV_CSI_IMAGE_VERSION='canary'
|
||||
if [ "${TRAVIS_BRANCH}" == 'release-v1.1.0' ]; then
|
||||
export ENV_CSI_IMAGE_VERSION='v1.1.0'
|
||||
else
|
||||
echo "!!! Branch ${TRAVIS_BRANCH} is not a deployable branch; exiting"
|
||||
exit 0 # Exiting 0 so that this isn't marked as failing
|
||||
|
@ -1,10 +1,10 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
appVersion: "1.0.0"
|
||||
appVersion: "1.1.0"
|
||||
description: "Container Storage Interface (CSI) driver,
|
||||
provisioner, and attacher for Ceph cephfs"
|
||||
name: ceph-csi-cephfs
|
||||
version: 0.8.0
|
||||
version: 1.1.0
|
||||
keywords:
|
||||
- ceph
|
||||
- cephfs
|
||||
|
@ -51,8 +51,8 @@ nodeplugin:
|
||||
plugin:
|
||||
image:
|
||||
repository: quay.io/cephcsi/cephcsi
|
||||
# for stable functionality replace canary with latest release version
|
||||
tag: canary
|
||||
# for stable functionality replace v1.1.0 with latest release version
|
||||
tag: v1.1.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
resources: {}
|
||||
|
@ -61,8 +61,8 @@ spec:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
# for stable functionality replace canary with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:canary
|
||||
# for stable functionality replace v1.1.0 with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:v1.1.0
|
||||
args:
|
||||
- "--nodeid=$(NODE_ID)"
|
||||
- "--type=cephfs"
|
||||
|
@ -48,8 +48,8 @@ spec:
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
allowPrivilegeEscalation: true
|
||||
# for stable functionality replace canary with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:canary
|
||||
# for stable functionality replace v1.1.0 with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:v1.1.0
|
||||
args:
|
||||
- "--nodeid=$(NODE_ID)"
|
||||
- "--type=cephfs"
|
||||
|
@ -1,10 +1,10 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
appVersion: "1.0.0"
|
||||
appVersion: "1.1.0"
|
||||
description: "Container Storage Interface (CSI) driver,
|
||||
provisioner, snapshotter, and attacher for Ceph RBD"
|
||||
name: ceph-csi-rbd
|
||||
version: 0.8.0
|
||||
version: 1.1.0
|
||||
keywords:
|
||||
- ceph
|
||||
- rbd
|
||||
|
@ -52,8 +52,8 @@ nodeplugin:
|
||||
plugin:
|
||||
image:
|
||||
repository: quay.io/cephcsi/cephcsi
|
||||
# for stable functionality replace canary with latest release version
|
||||
tag: canary
|
||||
# for stable functionality replace v1.1.0 with latest release version
|
||||
tag: v1.1.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
resources: {}
|
||||
|
@ -76,8 +76,8 @@ spec:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
# for stable functionality replace canary with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:canary
|
||||
# for stable functionality replace v1.1.0 with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:v1.1.0
|
||||
args:
|
||||
- "--nodeid=$(NODE_ID)"
|
||||
- "--type=rbd"
|
||||
|
@ -49,8 +49,8 @@ spec:
|
||||
capabilities:
|
||||
add: ["SYS_ADMIN"]
|
||||
allowPrivilegeEscalation: true
|
||||
# for stable functionality replace canary with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:canary
|
||||
# for stable functionality replace v1.1.0 with latest release version
|
||||
image: quay.io/cephcsi/cephcsi:v1.1.0
|
||||
args:
|
||||
- "--nodeid=$(NODE_ID)"
|
||||
- "--type=rbd"
|
||||
|
@ -27,7 +27,7 @@ import (
|
||||
|
||||
const (
|
||||
// version of ceph driver
|
||||
version = "1.0.0"
|
||||
version = "1.1.0"
|
||||
|
||||
// volIDVersion is the version number of volume ID encoding scheme
|
||||
volIDVersion uint16 = 1
|
||||
|
@ -46,7 +46,7 @@ type Driver struct {
|
||||
}
|
||||
|
||||
var (
|
||||
version = "1.0.0"
|
||||
version = "1.1.0"
|
||||
|
||||
// PluginFolder defines the location of ceph plugin
|
||||
PluginFolder = "/var/lib/kubelet/plugins/"
|
||||
|
Loading…
Reference in New Issue
Block a user