qontract-reconcile 0.10.1rc712__py3-none-any.whl → 0.10.1rc713__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc712
3
+ Version: 0.10.1rc713
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -678,7 +678,7 @@ reconcile/utils/internal_groups/models.py,sha256=jlkH_hyyyuwS0J1IpuS7W1AyQSKQ2Qp
678
678
  reconcile/utils/jinja2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
679
679
  reconcile/utils/jinja2/extensions.py,sha256=zV_x8MhSHAynKhFnG3fULXrwsm5fUG_88IygZHSnN0o,1284
680
680
  reconcile/utils/jinja2/filters.py,sha256=_kJjdMsY3lGS5PUn4NnpXUQDNrL1IwiKsB-0MhTMGYM,4521
681
- reconcile/utils/jinja2/utils.py,sha256=OxpzvN5nUIm0juwqHzg4JwNRDF-dygrIwSx_pvvLxX0,6624
681
+ reconcile/utils/jinja2/utils.py,sha256=ywoHM4hr1vGjfd37C9LS1QDscg0unF3jo2xT7gZqMZ4,6701
682
682
  reconcile/utils/jobcontroller/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
683
683
  reconcile/utils/jobcontroller/controller.py,sha256=J_Usf3B4hmQmIseWqnAzam3oku8z7EUP0KCwdSTy9Lw,14514
684
684
  reconcile/utils/jobcontroller/models.py,sha256=z0gRJy8Ow1leYS-GrvTUv-t-mQDPHTJVDoHb1nVcZ_8,6349
@@ -764,8 +764,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
764
764
  tools/test/test_qontract_cli.py,sha256=UEwAW7PA_GIrbqzaLxpkCxbuVjEFLNvnVG-6VyoCGIc,4147
765
765
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
766
766
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
767
- qontract_reconcile-0.10.1rc712.dist-info/METADATA,sha256=MeTu0tcuNA_jlvS3yM5lz9s0oR5AQtaXj5SbIG8_qjk,2382
768
- qontract_reconcile-0.10.1rc712.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
769
- qontract_reconcile-0.10.1rc712.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
770
- qontract_reconcile-0.10.1rc712.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
771
- qontract_reconcile-0.10.1rc712.dist-info/RECORD,,
767
+ qontract_reconcile-0.10.1rc713.dist-info/METADATA,sha256=eUDlHDf0sCCDR2ANdbmDSLklilUj8fPPT0MiZK2XoJk,2382
768
+ qontract_reconcile-0.10.1rc713.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
769
+ qontract_reconcile-0.10.1rc713.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
770
+ qontract_reconcile-0.10.1rc713.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
771
+ qontract_reconcile-0.10.1rc713.dist-info/RECORD,,
@@ -22,6 +22,7 @@ from reconcile.utils.jinja2.filters import (
22
22
  urlunescape,
23
23
  )
24
24
  from reconcile.utils.secret_reader import SecretNotFound, SecretReader, SecretReaderBase
25
+ from reconcile.utils.vault import SecretFieldNotFound
25
26
 
26
27
 
27
28
  class Jinja2TemplateError(Exception):
@@ -138,7 +139,7 @@ def lookup_secret(
138
139
  if not secret_reader:
139
140
  secret_reader = SecretReader(settings)
140
141
  return secret_reader.read(secret)
141
- except SecretNotFound as e:
142
+ except (SecretNotFound, SecretFieldNotFound) as e:
142
143
  if allow_not_found:
143
144
  return None
144
145
  raise FetchSecretError(e)