Merge pull request #4 from airhorns/patch-1

Update CSI yaml to allow using k8s service DNS to contact the filer
This commit is contained in:
Chris Lu 2020-10-02 13:18:23 -07:00 committed by GitHub
commit db1439327a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,6 +330,7 @@ spec:
priorityClassName: system-node-critical
serviceAccount: csi-seaweedfs-node-sa
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: driver-registrar
image: quay.io/k8scsi/csi-node-driver-registrar:v1.0.1
@ -366,7 +367,7 @@ spec:
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
- name: SEAWEEDFS_FILER
value: "192.168.2.7:8888" # host and port of your SeaweedFs filer
value: "192.168.2.7:8888" # host and port of your SeaweedFs filer, could also be K8S DNS entry like seaweedfs-filer.seaweed-namespace.svc:8888
- name: NODE_ID
valueFrom:
fieldRef: