lint and cleanup local_volume_provisioner

This commit is contained in:
Wong Hoi Sing Edison
2018-02-01 14:14:18 +08:00
parent f7d52564aa
commit fd80013917
9 changed files with 75 additions and 70 deletions

View File

@@ -0,0 +1,13 @@
---
# The config map is used to configure local volume discovery for Local SSDs on GCE and GKE.
# It is a map from storage class to its mount configuration.
kind: ConfigMap
apiVersion: v1
metadata:
name: local-volume-config
namespace: {{ system_namespace }}
data:
storageClassMap: |
local-storage:
hostDir: "{{ local_volume_base_dir }}"
mountDir: "/mnt/local-storage/"