From dd25fd6df3d1779933da64d00106424e9d2f98fe Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 4 Dec 2018 12:37:12 +0100 Subject: [PATCH] deploy: add README, fix typos The csi-hostpath-snapshotter.yaml was misspelled when creating the file. The upstream driver-registrar RBAC file uses "csi-driver-registrar" as service account name and therefore the hostpath plugin should also use that instead of the (now obsolete) "csi-node-sa" name from the Kubernetes E2E testing. This dependency on the upstream RBAC rules should be mentioned. For the sake of avoiding yet another copy of URLs the new README just refers to other documentation. --- deploy/hostpath/README.md | 6 ++++++ ...stpath-snpshotter.yaml => csi-hostpath-snapshotter.yaml} | 0 deploy/hostpath/csi-hostpathplugin.yaml | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 deploy/hostpath/README.md rename deploy/hostpath/{csi-hostpath-snpshotter.yaml => csi-hostpath-snapshotter.yaml} (100%) diff --git a/deploy/hostpath/README.md b/deploy/hostpath/README.md new file mode 100644 index 000000000..50d0df8ab --- /dev/null +++ b/deploy/hostpath/README.md @@ -0,0 +1,6 @@ +The .yaml files in this directory depend on the RBAC files that were +released together the CSI sidecar containers. Check the repos and/or +release notes for the CSI sidecar containers for details. + +https://kubernetes-csi.github.io/docs/ has an example that puts all +pieces together. diff --git a/deploy/hostpath/csi-hostpath-snpshotter.yaml b/deploy/hostpath/csi-hostpath-snapshotter.yaml similarity index 100% rename from deploy/hostpath/csi-hostpath-snpshotter.yaml rename to deploy/hostpath/csi-hostpath-snapshotter.yaml diff --git a/deploy/hostpath/csi-hostpathplugin.yaml b/deploy/hostpath/csi-hostpathplugin.yaml index 237b759a1..0ac5fb770 100644 --- a/deploy/hostpath/csi-hostpathplugin.yaml +++ b/deploy/hostpath/csi-hostpathplugin.yaml @@ -11,7 +11,7 @@ spec: labels: app: csi-hostpathplugin spec: - serviceAccountName: csi-node-sa + serviceAccountName: csi-driver-registrar hostNetwork: true containers: - name: driver-registrar