|
13 | 13 | PythonModuleProbeWithProcessStatusTolerance, \ |
14 | 14 | PythonModuleProbeWithProcessFailedStatusTolerance, \ |
15 | 15 | PythonModuleProbeWithProcesStdoutTolerance, \ |
16 | | - PythonModuleProbeWithHTTPStatusToleranceDeviation, FailProbe |
| 16 | + PythonModuleProbeWithHTTPStatusToleranceDeviation, FailProbe, \ |
| 17 | + GenerateSecretTokenProbe, ReadSecretTokenProbe, \ |
| 18 | + ReadSecretTokenFromSecretsProbe |
17 | 19 |
|
18 | 20 | Secrets = {} |
19 | 21 |
|
|
308 | 310 | } |
309 | 311 | ] |
310 | 312 |
|
| 313 | +ExperimentWithControlsThatUpdatedConfiguration = deepcopy(ExperimentNoControls) |
| 314 | +ExperimentWithControlsThatUpdatedConfiguration["configuration"] = { |
| 315 | + "my_token": "UNSET" |
| 316 | +} |
| 317 | +ExperimentWithControlsThatUpdatedConfiguration["method"] = [ |
| 318 | + deepcopy(GenerateSecretTokenProbe), |
| 319 | + deepcopy(ReadSecretTokenProbe) |
| 320 | +] |
| 321 | +ExperimentWithControlsThatUpdatedConfiguration["controls"] = [ |
| 322 | + { |
| 323 | + "name": "dummy", |
| 324 | + "provider": { |
| 325 | + "type": "python", |
| 326 | + "module": "fixtures.controls.dummy_changed_configuration" |
| 327 | + } |
| 328 | + } |
| 329 | +] |
| 330 | + |
| 331 | +ExperimentWithControlsThatUpdatedSecrets = deepcopy(ExperimentNoControls) |
| 332 | +ExperimentWithControlsThatUpdatedSecrets["secrets"] = { |
| 333 | + "mytokens": { |
| 334 | + "my_token": "UNSET" |
| 335 | + } |
| 336 | +} |
| 337 | +ExperimentWithControlsThatUpdatedSecrets["method"] = [ |
| 338 | + deepcopy(GenerateSecretTokenProbe), |
| 339 | + deepcopy(ReadSecretTokenFromSecretsProbe) |
| 340 | +] |
| 341 | +ExperimentWithControlsThatUpdatedSecrets["controls"] = [ |
| 342 | + { |
| 343 | + "name": "dummy", |
| 344 | + "provider": { |
| 345 | + "type": "python", |
| 346 | + "module": "fixtures.controls.dummy_changed_secrets" |
| 347 | + } |
| 348 | + } |
| 349 | +] |
| 350 | + |
311 | 351 | ExperimentWithArgumentsControls = deepcopy(ExperimentNoControls) |
312 | 352 | ExperimentWithArgumentsControls["controls"] = [ |
313 | 353 | { |
|
0 commit comments