Skip to content

Commit

Permalink
Add maximum execution time default
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-br committed Feb 10, 2024
1 parent 5f928a7 commit 7c2e9b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pulumi-operator-kubernetes-job/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.71-buster as chef
FROM rust:1.76-buster as chef
WORKDIR /usr/src/pulumi-operator
USER root
ENV CARGO_HOME=/root/.cargo
Expand Down
3 changes: 2 additions & 1 deletion pulumi-operator-kubernetes/src/stack/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl KubernetesPulumiStackService {

let mut main_container: Container = serde_json::from_value(json!({
"name": "pulumi",
"image": "ghcr.io/stromee/pulumi-operator/pulumi-operator-kubernetes-job:1.0.27",
"image": "ghcr.io/stromee/pulumi-operator/pulumi-operator-kubernetes-job:1.0.28",
"env": [{
"name": "PULUMI_STACK",
"value": name
Expand Down Expand Up @@ -112,6 +112,7 @@ impl KubernetesPulumiStackService {
"concurrencyPolicy": "Forbid",
"jobTemplate": {
"spec": {
"activeDeadlineSeconds": 300,
"template": {
"metadata": {
"name": "pulumi",
Expand Down

0 comments on commit 7c2e9b5

Please sign in to comment.