Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-3888

run universal:scripts/dockerDeleteExpiredAccessTokens.sh in Kubernetes

    Details

    • Type: Task
    • Status: Pull request
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Pilot CC 1
    • Component/s: APCP Infrastructure
    • Labels:
      None
    • Story Points:
      2

      Description

      cc Cindy Qi Li Joseph Scheuhammer

      https://github.com/GPII/universal/pull/777 introduces a script to delete expired tokens from the database. We need to run the script periodically via Kubernetes.

      This ticket is complete when:

      • gpii-infra deploys a Kubernetes CronJob that runs the delete script
      • The CronJob is deployed to production
      • The logs and other observations (e.g. checking the database manually) show that the CronJob is running correctly

      Tactically, the approach I would take:

      • Make a copy of the gpii-dataloader chart, modules, etc. called gpii-dataunloader (or something)
      • Modify the copy to work for dataunloader, including changing it from a Job to a CronJob

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                clown Joseph Scheuhammer
                Reporter:
                tyler Tyler Roscoe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: