Skip to content

Commit

Permalink
change volumeMounts to volume_mounts (flyteorg#202)
Browse files Browse the repository at this point in the history
Signed-off-by: ajsalow <[email protected]>
  • Loading branch information
ajsalow authored May 10, 2021
1 parent cb0f537 commit 0b8e1a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/integrations/kubernetes/pod/pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def generate_pod_spec_for_task():
secondary_container.resources = resources

shared_volume_mount = V1VolumeMount(name="shared-data", mount_path="/data",)
secondary_container.volumeMounts = [shared_volume_mount]
primary_container.volumeMounts = [shared_volume_mount]
secondary_container.volume_mounts = [shared_volume_mount]
primary_container.volume_mounts = [shared_volume_mount]

pod_spec = V1PodSpec(
containers=[primary_container, secondary_container],
Expand Down

0 comments on commit 0b8e1a4

Please sign in to comment.