Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wind57 committed Nov 25, 2024
1 parent b452236 commit dd2db12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ AbstractEnvironment environment() {
// KubernetesClientConfigMapPropertySource,
// otherwise we can't properly test reload functionality
ConfigMapConfigProperties configMapConfigProperties = new ConfigMapConfigProperties(true, List.of(),
List.of(), Map.of(), true, CONFIG_MAP_NAME, NAMESPACE, false, true, true, RetryProperties.DEFAULT);
List.of(), Map.of(), true, CONFIG_MAP_NAME, NAMESPACE, false, true, true,
RetryProperties.DEFAULT, false);
KubernetesNamespaceProvider namespaceProvider = new KubernetesNamespaceProvider(mockEnvironment);

PropertySource<?> propertySource = new KubernetesClientConfigMapPropertySourceLocator(coreV1Api,
Expand All @@ -204,7 +205,7 @@ ConfigReloadProperties configReloadProperties() {
@Primary
ConfigMapConfigProperties configMapConfigProperties() {
return new ConfigMapConfigProperties(true, List.of(), List.of(), Map.of(), true, CONFIG_MAP_NAME, NAMESPACE,
false, true, FAIL_FAST, RetryProperties.DEFAULT);
false, true, FAIL_FAST, RetryProperties.DEFAULT, false);
}

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ AbstractEnvironment environment() {
// KubernetesClientSecretPropertySource,
// otherwise we can't properly test reload functionality
SecretsConfigProperties secretsConfigProperties = new SecretsConfigProperties(true, Map.of(), List.of(),
List.of(), true, SECRET_NAME, NAMESPACE, false, true, false, RetryProperties.DEFAULT);
List.of(), true, SECRET_NAME, NAMESPACE, false, true, false, RetryProperties.DEFAULT, false);
KubernetesNamespaceProvider namespaceProvider = new KubernetesNamespaceProvider(mockEnvironment);

PropertySource<?> propertySource = new KubernetesClientSecretsPropertySourceLocator(coreV1Api,
Expand All @@ -210,7 +210,7 @@ ConfigReloadProperties configReloadProperties() {
@Primary
SecretsConfigProperties secretsConfigProperties() {
return new SecretsConfigProperties(true, Map.of(), List.of(), List.of(), true, SECRET_NAME, NAMESPACE,
false, true, FAIL_FAST, RetryProperties.DEFAULT);
false, true, FAIL_FAST, RetryProperties.DEFAULT, false);
}

@Bean
Expand Down

0 comments on commit dd2db12

Please sign in to comment.