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