Skip to content

Commit

Permalink
rm defaults for command/args
Browse files Browse the repository at this point in the history
  • Loading branch information
breimers committed Mar 30, 2020
1 parent 65b90cf commit 262244f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_kubernetes_manager/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ class KubernetesContainer(KubernetesBase):
image_name = models.CharField(max_length=200, db_index=True, help_text="Properly qualified image name to execute this job within", default="debian")
image_tag = models.CharField(max_length=100, db_index=True, help_text="Tag name for the image to be used for this job", default="latest")
image_pull_policy = models.CharField(max_length=16, choices=PULL_POLICY, default='IfNotPresent')
command = models.TextField(help_text="Command to run when instantiating container", null=True, blank=True, default="/bin/sh")
args = models.TextField(help_text="Comma separated args to run with command when instantiating container.", null=True, blank=True, default="-c,sleep 6000")
command = models.TextField(help_text="Command to run when instantiating container", null=True, blank=True)
args = models.TextField(help_text="Comma separated args to run with command when instantiating container.", null=True, blank=True)
port = models.IntegerField(default=80)
volume_mount = models.ForeignKey('KubernetesVolumeMount', null=True, blank=True, on_delete=models.SET_NULL)

Expand Down

0 comments on commit 262244f

Please sign in to comment.