c12s-kubespray/roles/kubernetes-apps/local_volume_provisioner/templates/configmap.yml.j2
2018-02-01 14:14:18 +08:00

13 lines
392 B
Django/Jinja

---
# 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/"