Skip to content

Commit

Permalink
append method params to pod spec
Browse files Browse the repository at this point in the history
  • Loading branch information
marekliszka committed Apr 4, 2023
1 parent c3dd0ff commit f135236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubeluigi/k8s.py
Expand Up @@ -76,6 +76,8 @@ def pod_spec_from_dict(
if "restart_policy" not in spec_schema:
spec["restart_policy"] = restart_policy

spec.update(kwargs)

pod_template = V1PodTemplateSpec(
metadata=V1ObjectMeta(name=name, labels=labels), spec=V1PodSpec(**spec)
)
Expand Down

0 comments on commit f135236

Please sign in to comment.