Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "pack/k8s/sync/startup"

Index

Functions

sdmRepoSync

Const syncRepoStartupListener

  • If the SDM is registered with one or more workspaces and not running in local mode, query cortex for the sync repo and replace the sdm.k8s.options.sync.repo property with a RemoteRepoRef for that repo. If this is the cluster master, it will create a job to perform a sync. If this is the cluster master and the SDM configuration has a KubernetesSyncOptions with a positive value of intervalMinutes, it will set up an interval timer to apply the specs from the sync repo periodically.

    Parameters

    Returns Promise<void>

Generated using TypeDoc