Commit 88c9db61 by Guangbo Chen

update nfs nodename to use hostip

parent c3826f1c
...@@ -2,4 +2,4 @@ apiVersion: v1 ...@@ -2,4 +2,4 @@ apiVersion: v1
description: nfs-provisioner is an out-of-tree dynamic provisioner for Kubernetes. description: nfs-provisioner is an out-of-tree dynamic provisioner for Kubernetes.
name: nfs-provisioner name: nfs-provisioner
version: 0.1.0 version: 0.1.0
icon: https://cdn1.iconfinder.com/data/icons/bnw/128x128/devices/nfs_mount.png icon: https://wiki.amahi.org/images/a/a9/Nfs-logo.png
...@@ -45,7 +45,7 @@ spec: ...@@ -45,7 +45,7 @@ spec:
- name: NODE_NAME - name: NODE_NAME
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: status.hostIP
volumeMounts: volumeMounts:
- name: export-volume - name: export-volume
mountPath: /export mountPath: /export
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment