code: func applyConfigDefaults(config map[string]string) {
  	b, err := strconv.ParseBool(config[confKey.sslEnabled])
  	if err != nil {
  		klog.Warning(log("failed to parse param sslEnabled, setting it to false"))
  		b = false
  	}
  	config[confKey.sslEnabled] = strconv.FormatBool(b)
  	config[confKey.storageMode] = defaultString(config[confKey.storageMode], "ThinProvisioned")
  	config[confKey.fsType] = defaultString(config[confKey.fsType], "xfs")
  	b, err = strconv.ParseBool(config[confKey.readOnly])
  	if err != nil {
  		klog.Warning(log("failed to parse param readOnly, setting it to false"))
  		b = false
  	}
  	config[confKey.readOnly] = strconv.FormatBool(b)
  }
docs: // applyConfigDefaults apply known defaults to incoming spec for dynamic PVCs.