Skip to content

Commit

Permalink
Addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobbins228 committed Feb 22, 2024
1 parent dad8155 commit 65e543c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion torchx/schedulers/kubernetes_mcad_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def role_to_pod(
config_map=V1ConfigMapVolumeSource(
name="odh-trusted-ca-bundle",
items=[
V1KeyToPath(key="ca-bundle.crt", path="odh-custom-ca-bundle.crt")
V1KeyToPath(key="ca-bundle.crt", path="odh-trusted-ca-bundle.crt")
],
optional=True,
),
Expand Down
8 changes: 4 additions & 4 deletions torchx/schedulers/test/kubernetes_mcad_scheduler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def test_role_to_pod(self) -> None:
name="odh-trusted-ca-bundle",
items=[
V1KeyToPath(
key="ca-bundle.crt", path="odh-custom-ca-bundle.crt"
key="ca-bundle.crt", path="odh-trusted-ca-bundle.crt"
)
],
optional=True,
Expand Down Expand Up @@ -702,7 +702,7 @@ def test_submit_dryrun(self) -> None:
- configMap:
items:
- key: ca-bundle.crt
path: odh-custom-ca-bundle.crt
path: odh-trusted-ca-bundle.crt
name: odh-trusted-ca-bundle
optional: true
name: odh-trusted-ca-cert
Expand Down Expand Up @@ -1371,7 +1371,7 @@ def test_volume_mounts(self) -> None:
name="odh-trusted-ca-bundle",
items=[
V1KeyToPath(
key="ca-bundle.crt", path="odh-custom-ca-bundle.crt"
key="ca-bundle.crt", path="odh-trusted-ca-bundle.crt"
)
],
optional=True,
Expand Down Expand Up @@ -1470,7 +1470,7 @@ def test_device_mounts(self) -> None:
name="odh-trusted-ca-bundle",
items=[
V1KeyToPath(
key="ca-bundle.crt", path="odh-custom-ca-bundle.crt"
key="ca-bundle.crt", path="odh-trusted-ca-bundle.crt"
)
],
optional=True,
Expand Down

0 comments on commit 65e543c

Please sign in to comment.