Skip to content

Commit

Permalink
fix: remove job TTL
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Nov 22, 2023
1 parent 1f500ff commit bedfb1d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions infra/root_chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Root Chart to a single Service
| maindb.nameOverride | string | `"main-database"` | |
| maindb.primary.persistence.enabled | bool | `false` | |
| migration.affinity | object | `{}` | |
| migration.annotations."argocd.argoproj.io/hook-delete-policy" | string | `"HookSucceeded"` | |
| migration.annotations."argocd.argoproj.io/sync-wave" | string | `"3"` | |
| migration.appSettings.App.Mode | string | `"Migration"` | |
| migration.aspNetEnv | string | `"Development"` | |
Expand Down
2 changes: 1 addition & 1 deletion infra/root_chart/values.pichu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ migration:
securityContext: *migrateSecurityContext
podSecurityContext: *podSecurityContext
configMountPath: /app/Config
ttlSecondsAfterFinished: 60

image:
repository: ghcr.io/atomicloud/sulfone.zinc/migrate-amd
serviceTree:
Expand Down
2 changes: 1 addition & 1 deletion infra/root_chart/values.pikachu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ migration:
securityContext: *migrateSecurityContext
podSecurityContext: *podSecurityContext
configMountPath: /app/Config
ttlSecondsAfterFinished: 60

image:
repository: ghcr.io/atomicloud/sulfone.zinc/migrate-amd
serviceTree:
Expand Down
2 changes: 1 addition & 1 deletion infra/root_chart/values.raichu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ migration:
securityContext: *migrateSecurityContext
podSecurityContext: *podSecurityContext
configMountPath: /app/Config
ttlSecondsAfterFinished: 60

image:
repository: ghcr.io/atomicloud/sulfone.zinc/migrate-amd
serviceTree:
Expand Down
2 changes: 2 additions & 0 deletions infra/root_chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ api:
migration:
annotations:
argocd.argoproj.io/sync-wave: "3"
argocd.argoproj.io/hook-delete-policy: HookSucceeded

enabled: false
nameOverride: "migration"
fullnameOverride: ""
Expand Down

0 comments on commit bedfb1d

Please sign in to comment.