Skip to content

Commit

Permalink
chore: rename var
Browse files Browse the repository at this point in the history
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
  • Loading branch information
guilhem-barthes committed Apr 10, 2024
1 parent 1e7dac4 commit d71fdc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/substrapp/compute_tasks/image_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ def _build_container(dockerfile_mount_path: str, image_tag: str) -> kubernetes.c
volume_mounts.append(docker_config)

if PRIVATE_CA_ENABLED:
docker_config = kubernetes.client.V1VolumeMount(name=CA_SECRET_NAME, mount_path="/kaniko/ssl/certs")
volume_mounts.append(docker_config)
certs_mount = kubernetes.client.V1VolumeMount(name=CA_SECRET_NAME, mount_path="/kaniko/ssl/certs")
volume_mounts.append(certs_mount)

return kubernetes.client.V1Container(
name=KANIKO_CONTAINER_NAME,
Expand Down

0 comments on commit d71fdc4

Please sign in to comment.