Skip to content

Commit

Permalink
Fix worker pull policy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
APErebus committed Dec 16, 2024
1 parent f5b8142 commit 92e6523
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ tests:
path: spec.template.spec.containers[0].env[?(@.name == 'OCTOPUS__K8STENTACLE__SCRIPTPODIMAGETAG')].value
value: "1.0.0-worker"
- equal:
path: spec.template.spec.containers[0].env[?(@.name == 'OCTOPUS__K8STENTACLE__SCRIPTPODIMAGEPULLPOLICY')].value
path: spec.template.spec.containers[0].env[?(@.name == 'OCTOPUS__K8STENTACLE__SCRIPTPODPULLPOLICY')].value
value: "IfNotPresent"

- it: "When running as a worker, the script-pod image fields are already populated"
Expand All @@ -445,7 +445,7 @@ tests:
path: spec.template.spec.containers[0].env[?(@.name == 'OCTOPUS__K8STENTACLE__SCRIPTPODIMAGETAG')].value
value: "ubuntu.22.04"
- equal:
path: spec.template.spec.containers[0].env[?(@.name == 'OCTOPUS__K8STENTACLE__SCRIPTPODIMAGEPULLPOLICY')].value
path: spec.template.spec.containers[0].env[?(@.name == 'OCTOPUS__K8STENTACLE__SCRIPTPODPULLPOLICY')].value
value: "IfNotPresent"

- it: "When running as a deployment Target, script pod image is not set by default"
Expand Down

0 comments on commit 92e6523

Please sign in to comment.