Skip to content

Commit

Permalink
Merge pull request #43 from gman0/fix-manifests-driverroles
Browse files Browse the repository at this point in the history
manifests: fix driver roles
  • Loading branch information
gman0 authored Oct 14, 2022
2 parents 1e30ea6 + f710e10 commit af750d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployments/kubernetes/controllerplugin-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- --nodeid=$(NODE_ID)
- --endpoint=$(CSI_ENDPOINT)
- --drivername=$(CSI_DRIVERNAME)
- --role=controller
- --role=identity,controller
env:
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
Expand Down
2 changes: 1 addition & 1 deletion deployments/kubernetes/nodeplugin-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
- --nodeid=$(NODE_ID)
- --endpoint=$(CSI_ENDPOINT)
- --drivername=$(CSI_DRIVERNAME)
- --role=all
- --role=identity,node
imagePullPolicy: IfNotPresent
securityContext:
privileged: true
Expand Down
2 changes: 1 addition & 1 deletion docs/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ CVMFS CSI driver executable accepts following set of command line arguments:
|`--nodeid`|_none, required_|(string value) Unique identifier of the node on which the CVMFS CSI node plugin pod is running. Should be set to the value of `Pod.spec.nodeName`.|
|`--has-alien-cache`|_false_|(boolean value) CVMFS client is using alien cache volume. The volume will be `chmod`'d with correct permissions.|
|`--start-automount-daemon`|_true_|(boolean value) Whether CVMFS CSI nodeplugin Pod should run automount daemon. This is required for automounts to work. If however worker nodes are already running automount daemon (e.g. as a systemd service), you may disable running yet another instance of the daemon using this switch.|
|`--role`|`all`|Enable driver service role (comma-separated list or repeated `--role` flags). Allowed values are: `all`, `identity`, `node`, `controller`.|
|`--role`|_none, required_|Enable driver service role (comma-separated list or repeated `--role` flags). Allowed values are: `identity`, `node`, `controller`.|
|`--version`|_false_|(boolean value) Print driver version and exit.|

0 comments on commit af750d4

Please sign in to comment.