Beispiel #1
0
 public KubernetesSecretsRepository(IEnvironment environment, IKubernetesClient kubernetesClient)
 {
     _environment      = environment;
     _kubernetesClient = kubernetesClient;
     _kubernetesClient.OnSecretChange(() =>
     {
         SecretsChanged?.Invoke(this, new SecretsChangedEventArgs {
             SecretsType = ScriptSecretsType.Host
         });
         SecretsChanged?.Invoke(this, new SecretsChangedEventArgs {
             SecretsType = ScriptSecretsType.Function
         });
     });
 }
Beispiel #2
0
 private void BlobStorageSecretsMigrationRepository_SecretsChanged(object sender, SecretsChangedEventArgs e)
 {
     SecretsChanged?.Invoke(this, e);
 }