Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltachaos authored Jul 21, 2024
1 parent 8c22f5f commit f0eaea7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def main():
configmap_name = os.getenv('JOB_CONFIGMAP')
job_name_env = os.getenv('JOB_NAME')

if not job_name_env:
job_name_env = "job"

v1 = client.CoreV1Api()

if configmap_name:
Expand Down

0 comments on commit f0eaea7

Please sign in to comment.