This commit is contained in:
2023-07-23 11:35:49 +02:00
parent aefbd47299
commit dad89747b1
2 changed files with 137 additions and 137 deletions

View File

@@ -62,6 +62,7 @@ resource "kubectl_manifest" "authentik_cleanup_logs_job" {
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- image: "${var.postgres.cleanlogs.image}"
imagePullPolicy: IfNotPresent
@@ -86,6 +87,5 @@ resource "kubectl_manifest" "authentik_cleanup_logs_job" {
claimName: pgdata-${var.instance}-${var.component}-0
schedule: "${var.postgres.cleanlogs.schedule}"
successfulJobsHistoryLimit: 3
restartPolicy: OnFailure
EOF
}