Use semantic versioning
This commit is contained in:
parent
c895312131
commit
13a16e70f6
@ -2,7 +2,7 @@
|
||||
set -ex
|
||||
|
||||
slugify() {
|
||||
echo "$1" | sed -r 's/[^a-zA-Z0-9]+/-/g'
|
||||
echo "$1" | sed -r 's/[^.a-zA-Z0-9]+/-/g'
|
||||
}
|
||||
|
||||
export IMAGE="openebs/rawfile-localpv"
|
||||
|
@ -2,5 +2,4 @@ apiVersion: v2
|
||||
name: rawfile-csi
|
||||
description: RawFile Driver Container Storage Interface
|
||||
type: application
|
||||
version: 0.1.6
|
||||
appVersion: 0.0.1
|
||||
version: 0.3.0
|
||||
|
@ -1,7 +1,7 @@
|
||||
defaults: &defaults
|
||||
image:
|
||||
repository: docker.io/openebs/rawfile-localpv
|
||||
tag: master
|
||||
tag: 0.3.0
|
||||
pullPolicy: Always
|
||||
resources:
|
||||
limits:
|
||||
|
@ -4,6 +4,7 @@ import grpc
|
||||
from google.protobuf.wrappers_pb2 import BoolValue
|
||||
|
||||
import rawfile_util
|
||||
from consts import PROVISIONER_VERSION
|
||||
from csi import csi_pb2, csi_pb2_grpc
|
||||
from declarative import be_mounted, be_unmounted, be_symlink, be_absent
|
||||
from metrics import volume_stats
|
||||
@ -19,7 +20,7 @@ class RawFileIdentityServicer(csi_pb2_grpc.IdentityServicer):
|
||||
@log_grpc_request
|
||||
def GetPluginInfo(self, request, context):
|
||||
return csi_pb2.GetPluginInfoResponse(
|
||||
name="rawfile.hamravesh.com", vendor_version="0.0.1"
|
||||
name="rawfile.hamravesh.com", vendor_version=PROVISIONER_VERSION
|
||||
)
|
||||
|
||||
@log_grpc_request
|
||||
|
Loading…
Reference in New Issue
Block a user