Skip to content

Commit

Permalink
Fix build errors introduced in #87
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenlj committed Aug 1, 2020
1 parent 08959b2 commit 14e4512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions k8s/models/pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class Container(Model):
command = ListField(six.text_type)
args = ListField(six.text_type)


class SecretVolumeSource(Model):
secretName = Field(six.text_type)
optional = Field(bool)
Expand Down
2 changes: 1 addition & 1 deletion tests/k8s/test_cronjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def _create_default_cronjob():
pod_template_spec = PodTemplateSpec(metadata=object_meta, spec=pod_spec)
job_spec = JobSpec(template=pod_template_spec)
job_template_spec = JobTemplateSpec(metadata=object_meta, spec=job_spec)
cronjob_spec = CronJobSpec(concurencyPolicy="Allow", failedJobsHistoryLimit=0, jobTemplate=job_template_spec,
cronjob_spec = CronJobSpec(concurrencyPolicy="Allow", failedJobsHistoryLimit=0, jobTemplate=job_template_spec,
schedule="*/1 * * * *", startingDeadlineSeconds=5, successfulJobsHistoryLimit=100,
suspend=True)
cronjob = CronJob(metadata=object_meta, spec=cronjob_spec)
Expand Down

0 comments on commit 14e4512

Please sign in to comment.