Skip to content

Commit

Permalink
fix(azure-pg): set spec.ttlSecondsAfterFinished to 24h (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Nov 5, 2020
1 parent b26ca0a commit e4d5748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/azure-pg/__snapshots__/index.test.ts.snap
Expand Up @@ -100,6 +100,7 @@ Array [
"restartPolicy": "Never",
},
},
"ttlSecondsAfterFinished": 86400,
},
},
Object {
Expand Down Expand Up @@ -236,6 +237,7 @@ Array [
"restartPolicy": "Never",
},
},
"ttlSecondsAfterFinished": 86400,
},
},
Object {
Expand Down
1 change: 1 addition & 0 deletions src/components/azure-pg/create-db.job.ts
Expand Up @@ -22,6 +22,7 @@ export const createDbJob = ({
// ...metadataFromParams(params),
},
spec: {
ttlSecondsAfterFinished: 86400,
backoffLimit: 0,
template: {
spec: {
Expand Down

0 comments on commit e4d5748

Please sign in to comment.