Skip to content

Commit

Permalink
Change description output format
Browse files Browse the repository at this point in the history
  • Loading branch information
lmq1999 committed Aug 30, 2021
1 parent d625edf commit b31d2ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (cs *controllerServer) CreateVolume(ctx context.Context, req *csi.CreateVol
}
volPVCName := req.GetParameters()["csi.storage.k8s.io/pvc/name"]
volPVCNamespace := req.GetParameters()["csi.storage.k8s.io/pvc/namespace"]
Description := "bke_pvc_name: " + volPVCName + " ; bke_namespaces: " + volPVCNamespace
Description := volPVCNamespace + "/" + volPVCName + " by csi-bizflycloud"
client := cs.Client

// Verify a volume with the provided name doesn't already exist for this tenant
Expand Down
3 changes: 2 additions & 1 deletion examples/pvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ spec:
resources:
requests:
storage: 50Gi
storageClassName: premium-hdd
storageClassName: premium-hdd

0 comments on commit b31d2ef

Please sign in to comment.