outposts: regularly ensure that all outposts have a valid service account and token

This commit is contained in:
Jens Langhammer
2020-12-13 17:10:56 +01:00
parent 76764c4374
commit 3e49acf7ae
2 changed files with 15 additions and 0 deletions

View File

@ -12,4 +12,9 @@ CELERY_BEAT_SCHEDULE = {
"schedule": crontab(minute=0, hour="*"),
"options": {"queue": "authentik_scheduled"},
},
"outpost_token_ensurer": {
"task": "authentik.outposts.tasks.outpost_token_ensurer",
"schedule": crontab(minute="*/5"),
"options": {"queue": "authentik_scheduled"},
},
}