Skip to content

K8S Deploy

Deploy kubernetes manifest changes to cluster when changes are pushed to the deploys/k8s-manifests branch in Github

Configuration

Environment Variables

  • BRANCH_RELEASE Used in Run Deploy step to determine changes
  • BRANCH_DEPLOY Used in Run Deploy step to determine changes
  • DB_BACKUP_CRONJOB Used when determining which K8S cronjob to create a job from when backing up
  • KUBE_CONFIG_DATA Deprecated (Was used for original deploy steps)
  • STAGING_DB_NAME Used in Run DB Restore step for determining which database to restore to
  • STAGING_DB_HOST Used in Run DB Restore step for determining which database to restore to
  • STAGING_DB_PASSWORD Used in Run DB Restore step for determining which database to restore to

Repository Secrets

  • AWS_SECRET_ACCESS_KEY Used in Run DB Restore step for connecting to Object Storage (Linode)
  • AWS_ACCESS_KEY_ID Used in Run DB Restore step for connecting to Object Storage (Linode)
  • DOCKER_CONFIG_BASE64 Used in Run DB Restore step for creating a RegCred secret for connecting pulling images
  • KUBECONFIG_BASE64 Used in Run DB Restore step for connecting to K8S cluster
  • RESTIC_PASSWORD Used in Run DB Restore step for connecting to Restic
  • RESTIC_REPOSITORY Used in Run DB Restore step for connecting to Restic