Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Commit

Permalink
Fixes example.
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-fritz committed Mar 6, 2019
1 parent 7cb63be commit 910057b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions example/kubernetes/nginx.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: data-nfsplugin
name: data-sshfs
labels:
name: data-nfsplugin
name: data-sshfs
spec:
accessModes:
- ReadWriteMany
Expand All @@ -13,15 +13,15 @@ spec:
driver: csi-sshfs
volumeHandle: data-id
volumeAttributes:
server: 127.0.0.1
server: 10.135.35.241
port: 22
path: /export
privateKey: de
path: /root/export
privateKey: default/testvol
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data-nfsplugin
name: data-sshfs
spec:
accessModes:
- ReadWriteMany
Expand All @@ -32,7 +32,7 @@ spec:
matchExpressions:
- key: name
operator: In
values: ["data-nfsplugin"]
values: ["data-sshfs"]
---
apiVersion: v1
kind: Pod
Expand All @@ -48,8 +48,8 @@ spec:
protocol: TCP
volumeMounts:
- mountPath: /var/www
name: data-nfsplugin
name: data-sshfs
volumes:
- name: data-nfsplugin
- name: data-sshfs
persistentVolumeClaim:
claimName: data-nfsplugin
claimName: data-sshfs

0 comments on commit 910057b

Please sign in to comment.