Skip to content

Commit

Permalink
Merge ef07b70 into bd325f2
Browse files Browse the repository at this point in the history
  • Loading branch information
blockjesper committed Apr 15, 2024
2 parents bd325f2 + ef07b70 commit d3d1b8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions k8s/models/pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ class PodSpec(Model):
automountServiceAccountToken = Field(bool)
imagePullSecrets = ListField(LocalObjectReference)
initContainers = ListField(Container)
enableServiceLinks = Field(bool)


class PodTemplateSpec(Model):
Expand Down
1 change: 1 addition & 0 deletions tests/k8s/test_pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def test_get_or_create_pod_not_new(self, put, get):
'serviceAccount': 'default',
'serviceAccountName': 'default',
'terminationGracePeriodSeconds': 30,
'enableServiceLinks': True,
'volumes': [{
'name': 'my-name',
'secret': {
Expand Down

0 comments on commit d3d1b8c

Please sign in to comment.