apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: busybox
|
|
namespace: default
|
|
spec:
|
|
containers:
|
|
- name: busybox
|
|
image: busybox
|
|
command:
|
|
- sleep
|
|
- "3600"
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
- name: test
|
|
mountPath: /data
|
|
volumes:
|
|
- name: test
|
|
flexVolume:
|
|
driver: "fstab/cifs"
|
|
fsType: "cifs"
|
|
secretRef:
|
|
name: "cifs-secret"
|
|
options:
|
|
networkPath: "//192.168.1.34/Tino"
|
|
mountOptions: "dir_mode=0777,vers=1.0,file_mode=0666,noperm"
|