mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-27 20:36:44 -08:00
update comment
This commit is contained in:
1 file changed
+1
-1
@@ -173,7 +173,7 @@ class MountedConfigMap(SourceOfMountedPaths):
|
||||
@classmethod
|
||||
def from_template(cls, template, volume_mount):
|
||||
assert template["kind"] == "ConfigMap"
|
||||
# When secret data is empty, `data:` is None, so use `get_or_empty`
|
||||
# When configmap data is empty, `data:` is None, so use `get_or_empty`
|
||||
template_data = get_or_empty(template, "data")
|
||||
if "subPath" in volume_mount:
|
||||
return cls(
|
||||
|
||||
Reference in new issue
Block a user