Skip to content

Commit

Permalink
Merge pull request #342 from rackerlabs/argo_python_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cardoe authored Sep 25, 2024
2 parents e791374 + 768d5ef commit 7a4ab38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/argo_utils/code/argo_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def create_secret(self, name: str, data: Dict, persist=False) -> str:
try:
# if KUBERNETES_POD_UID is not explicitly defined in the container env, pod get permissions will need
# be set for the service account running this workflow
owner_name = os.environ["DEVICE_ID"]
owner_name = os.environ["HOSTNAME"]
owner_id = os.getenv("KUBERNETES_POD_UID")
if not owner_id:
owner_metadata = self.get_pod(owner_name)
Expand Down

0 comments on commit 7a4ab38

Please sign in to comment.