File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
run/src/main/kotlin/com/cosmotech/run/workflow/argo Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ internal fun buildTemplate(
7474 listOf (
7575 V1VolumeMount ()
7676 .name(" coal-config" )
77- .mountPath(VOLUME_COAL_PATH )
78- .subPath(VOLUME_COAL_PATH + " / " + " ${organizationId} - ${workspaceId} - coal-config" )
77+ .mountPath(VOLUME_COAL_PATH + " /coal-config.toml " )
78+ .subPath(" coal-config.toml " )
7979 )
8080 val secretVolumeMount =
8181 csmPlatformProperties.argo.workflows.secrets.map { secret ->
@@ -208,8 +208,13 @@ internal fun buildWorkflowSpec(
208208 .name(" coal-config" )
209209 .configMap(
210210 V1ConfigMapVolumeSource ()
211- .name(" ${organizationId} -${workspaceId} -coal-config" )
212211 .optional(true )
212+ .name(" ${organizationId} -${workspaceId} -coal-config" )
213+ .addItemsItem(
214+ V1KeyToPath ()
215+ .key(" coal-config.toml" )
216+ .path(" coal-config.toml" )
217+ )
213218 )
214219 )
215220
You can’t perform that action at this time.
0 commit comments