@@ -74,7 +74,7 @@ void namedSingleSecretFails(CapturedOutput output) {
7474 mockServer .expect ().withPath (path ).andReturn (500 , "Internal Server Error" ).once ();
7575
7676 SecretsConfigProperties secretsConfigProperties = new SecretsConfigProperties (true , Map .of (), List .of (),
77- List .of (), true , name , namespace , false , true , false , RetryProperties .DEFAULT );
77+ List .of (), true , name , namespace , false , true , false , RetryProperties .DEFAULT , false );
7878
7979 Fabric8SecretsPropertySourceLocator locator = new Fabric8SecretsPropertySourceLocator (mockClient ,
8080 secretsConfigProperties , new KubernetesNamespaceProvider (new MockEnvironment ()));
@@ -113,7 +113,8 @@ void namedTwoSecretsOneFails() {
113113 Source sourceTwo = new Source (secretNameTwo , namespace , Map .of (), null , null , null );
114114
115115 SecretsConfigProperties secretsConfigProperties = new SecretsConfigProperties (true , Map .of (), List .of (),
116- List .of (sourceOne , sourceTwo ), true , null , namespace , false , true , false , RetryProperties .DEFAULT );
116+ List .of (sourceOne , sourceTwo ), true , null , namespace , false , true , false , RetryProperties .DEFAULT ,
117+ false );
117118
118119 Fabric8SecretsPropertySourceLocator locator = new Fabric8SecretsPropertySourceLocator (mockClient ,
119120 secretsConfigProperties , new KubernetesNamespaceProvider (new MockEnvironment ()));
@@ -147,7 +148,8 @@ void namedTwoSecretsBothFail() {
147148 Source sourceTwo = new Source (secretNameTwo , namespace , Map .of (), null , null , null );
148149
149150 SecretsConfigProperties secretsConfigProperties = new SecretsConfigProperties (true , Map .of (), List .of (),
150- List .of (sourceOne , sourceTwo ), true , null , namespace , false , true , false , RetryProperties .DEFAULT );
151+ List .of (sourceOne , sourceTwo ), true , null , namespace , false , true , false , RetryProperties .DEFAULT ,
152+ false );
151153
152154 Fabric8SecretsPropertySourceLocator locator = new Fabric8SecretsPropertySourceLocator (mockClient ,
153155 secretsConfigProperties , new KubernetesNamespaceProvider (new MockEnvironment ()));
@@ -179,7 +181,8 @@ void labeledSingleSecretFails(CapturedOutput output) {
179181 Source secretSource = new Source (null , namespace , labels , null , null , null );
180182
181183 SecretsConfigProperties secretsConfigProperties = new SecretsConfigProperties (true , labels , List .of (),
182- List .of (secretSource ), true , null , namespace , false , true , false , RetryProperties .DEFAULT );
184+ List .of (secretSource ), true , null , namespace , false , true , false , RetryProperties .DEFAULT ,
185+ false );
183186
184187 Fabric8SecretsPropertySourceLocator locator = new Fabric8SecretsPropertySourceLocator (mockClient ,
185188 secretsConfigProperties , new KubernetesNamespaceProvider (new MockEnvironment ()));
@@ -225,7 +228,7 @@ void labeledTwoSecretsOneFails(CapturedOutput output) {
225228
226229 SecretsConfigProperties secretsConfigProperties = new SecretsConfigProperties (true ,
227230 Map .of ("one" , "1" , "two" , "2" ), List .of (), List .of (sourceOne , sourceTwo ), true , null , namespace , false ,
228- true , false , RetryProperties .DEFAULT );
231+ true , false , RetryProperties .DEFAULT , false );
229232
230233 Fabric8SecretsPropertySourceLocator locator = new Fabric8SecretsPropertySourceLocator (mockClient ,
231234 secretsConfigProperties , new KubernetesNamespaceProvider (new MockEnvironment ()));
@@ -265,7 +268,7 @@ void labeledTwoConfigMapsBothFail(CapturedOutput output) {
265268
266269 SecretsConfigProperties secretsConfigProperties = new SecretsConfigProperties (true ,
267270 Map .of ("one" , "1" , "two" , "2" ), List .of (), List .of (sourceOne , sourceTwo ), true , null , namespace , false ,
268- true , false , RetryProperties .DEFAULT );
271+ true , false , RetryProperties .DEFAULT , false );
269272
270273 Fabric8SecretsPropertySourceLocator locator = new Fabric8SecretsPropertySourceLocator (mockClient ,
271274 secretsConfigProperties , new KubernetesNamespaceProvider (new MockEnvironment ()));
0 commit comments