qontract-reconcile 0.10.2.dev80__py3-none-any.whl → 0.10.2.dev82__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.
- {qontract_reconcile-0.10.2.dev80.dist-info → qontract_reconcile-0.10.2.dev82.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev80.dist-info → qontract_reconcile-0.10.2.dev82.dist-info}/RECORD +6 -6
- reconcile/external_resources/secrets_sync.py +6 -12
- reconcile/utils/terrascript_aws_client.py +1 -0
- {qontract_reconcile-0.10.2.dev80.dist-info → qontract_reconcile-0.10.2.dev82.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev80.dist-info → qontract_reconcile-0.10.2.dev82.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev80.dist-info → qontract_reconcile-0.10.2.dev82.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev82
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
|
6
6
|
Project-URL: repository, https://github.com/app-sre/qontract-reconcile
|
{qontract_reconcile-0.10.2.dev80.dist-info → qontract_reconcile-0.10.2.dev82.dist-info}/RECORD
RENAMED
@@ -204,7 +204,7 @@ reconcile/external_resources/meta.py,sha256=noaytFzmShpzLA_ebGh7wuP45mOfHIOnnoUx
|
|
204
204
|
reconcile/external_resources/metrics.py,sha256=KiBjMUaN_z0cSkF_7Ar_a8RiuiwVqjyMcVdISlxhzXE,3898
|
205
205
|
reconcile/external_resources/model.py,sha256=dxwiyI3J9xyLeue8_W9NJoap-CkKLMAoY0S0ml5-NbU,13450
|
206
206
|
reconcile/external_resources/reconciler.py,sha256=-0trp1K-iUgOQn3mm1ZUSmfaReRrUT0eHzPkUhNPolQ,9583
|
207
|
-
reconcile/external_resources/secrets_sync.py,sha256=
|
207
|
+
reconcile/external_resources/secrets_sync.py,sha256=ZDxzGZ6wC4zxLhA7-L39xDRH6rzUM285gytuzmRQdlw,16208
|
208
208
|
reconcile/external_resources/state.py,sha256=gF3ACdl7YiUlbQ4uEGrD6i_Txxqr6mT9f8IFlTQ-8dY,13176
|
209
209
|
reconcile/fleet_labeler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
210
210
|
reconcile/fleet_labeler/dependencies.py,sha256=Ta-SLnrHRN4OBAmhE_mTk1P7y1X7AInIiQsIYaY6hY0,2910
|
@@ -646,7 +646,7 @@ reconcile/utils/state.py,sha256=az4tBmZ0EdbFcAGiBVUxs3cr2-BVWsuDQiNTvjjQq8s,1637
|
|
646
646
|
reconcile/utils/structs.py,sha256=LcbLEg8WxfRqM6nW7NhcWN0YeqF7SQzxOgntmLs1SgY,352
|
647
647
|
reconcile/utils/template.py,sha256=wTvRU4AnAV_o042tD4Mwls2dwWMuk7MKnde3MaCjaYg,331
|
648
648
|
reconcile/utils/terraform_client.py,sha256=H8frsS370y8xfivKLNBD1dwlBLHvfuR6JSN_syBL5Qc,36033
|
649
|
-
reconcile/utils/terrascript_aws_client.py,sha256
|
649
|
+
reconcile/utils/terrascript_aws_client.py,sha256=-l2a8Sa5FIzFwVDgHEHcqQeqBGTMn7nacb1p5B8junI,286242
|
650
650
|
reconcile/utils/three_way_diff_strategy.py,sha256=oQcHXd9LVhirJfoaOBoHUYuZVGfyL2voKr6KVI34zZE,4833
|
651
651
|
reconcile/utils/throughput.py,sha256=iP4UWAe2LVhDo69mPPmgo9nQ7RxHD6_GS8MZe-aSiuM,344
|
652
652
|
reconcile/utils/vault.py,sha256=aSA8l9cJlPUHpChFGl27nSY-Mpq9FMjBo7Dcgb1BVfM,15036
|
@@ -786,7 +786,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
786
786
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
787
787
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
788
788
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
789
|
-
qontract_reconcile-0.10.2.
|
790
|
-
qontract_reconcile-0.10.2.
|
791
|
-
qontract_reconcile-0.10.2.
|
792
|
-
qontract_reconcile-0.10.2.
|
789
|
+
qontract_reconcile-0.10.2.dev82.dist-info/METADATA,sha256=FwBFzjJ63yxyQKIdkLoz5yKi1BjdhtY7GphWfQPNI0M,24565
|
790
|
+
qontract_reconcile-0.10.2.dev82.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
791
|
+
qontract_reconcile-0.10.2.dev82.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
792
|
+
qontract_reconcile-0.10.2.dev82.dist-info/RECORD,,
|
@@ -104,18 +104,13 @@ class OutputSecretsFormatter:
|
|
104
104
|
def __init__(self, secret_reader: SecretReaderBase) -> None:
|
105
105
|
self.secret_reader = secret_reader
|
106
106
|
|
107
|
-
def _key_must_be_populated(self, key: str) -> bool:
|
108
|
-
"Only keys containing '__' must be populated to Secrets"
|
109
|
-
return "__" in key
|
110
|
-
|
111
107
|
def _format_key(self, key: str) -> str:
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
return output_key
|
108
|
+
# The "__" separator is a legacy feature of terraform resources
|
109
|
+
# This should be removed once all modules don't have outputs with this format.
|
110
|
+
if "__" in key:
|
111
|
+
_, key = key.split("__", 1)
|
112
|
+
|
113
|
+
return key.replace("db_", "db.", 1) if key.startswith("db_") else key
|
119
114
|
|
120
115
|
def _format_value(self, value: str) -> str:
|
121
116
|
decoded_value = base64.b64decode(value).decode("utf-8")
|
@@ -130,7 +125,6 @@ class OutputSecretsFormatter:
|
|
130
125
|
return {
|
131
126
|
self._format_key(key): self._format_value(value)
|
132
127
|
for key, value in data.items()
|
133
|
-
if self._key_must_be_populated(key)
|
134
128
|
}
|
135
129
|
|
136
130
|
|
@@ -5295,6 +5295,7 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
|
|
5295
5295
|
lb_access_logs_s3_bucket_values = {
|
5296
5296
|
"provider": provider,
|
5297
5297
|
"bucket": bucket_identifier,
|
5298
|
+
"force_destroy": True,
|
5298
5299
|
}
|
5299
5300
|
lb_access_logs_s3_bucket_tf_resource = aws_s3_bucket(
|
5300
5301
|
bucket_identifier, **lb_access_logs_s3_bucket_values
|
{qontract_reconcile-0.10.2.dev80.dist-info → qontract_reconcile-0.10.2.dev82.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|