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 }); }); }
private void BlobStorageSecretsMigrationRepository_SecretsChanged(object sender, SecretsChangedEventArgs e) { SecretsChanged?.Invoke(this, e); }