Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

cloudfoundry-attic/smb-csi-driver

Repository files navigation

Installation

Installing alpha version

kubectl apply --kustomize "https://github.com/cloudfoundry/smb-csi-driver/deploy/overlays/alpha/?ref=master"

Installing latest dev version

kubectl apply --kustomize "https://github.com/cloudfoundry/smb-csi-driver/deploy/overlays/dev/?ref=master"

Usage example

  1. Edit the example (in ./example/pv.yaml) to use your SMB server:
  • //SERVER/SHARE: the SMB address of your server and share
  • USERNAME: username for the share
  • PASSWORD: password for the share
  • mountOptions: (optional) supported mount options are uid, gid and vers
  1. Deploy the example
kubectl apply -f ./example/pv.yaml
  1. Use the example nginx app by writing a file to the mounted directory
kubectl exec -it nginx bash
> echo hello > /usr/share/nginx/html/index.html
> apt-get update && apt-get install -y curl
> curl localhost:80
> hello

Testing

make fly

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published