qontract-reconcile 0.10.2.dev103__py3-none-any.whl → 0.10.2.dev105__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.dev103.dist-info → qontract_reconcile-0.10.2.dev105.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev103.dist-info → qontract_reconcile-0.10.2.dev105.dist-info}/RECORD +8 -8
- reconcile/external_resources/aws.py +6 -0
- reconcile/external_resources/integration.py +3 -0
- reconcile/gql_definitions/external_resources/external_resources_namespaces.py +32 -0
- reconcile/gql_definitions/introspection.json +166 -0
- {qontract_reconcile-0.10.2.dev103.dist-info → qontract_reconcile-0.10.2.dev105.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev103.dist-info → qontract_reconcile-0.10.2.dev105.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev103.dist-info → qontract_reconcile-0.10.2.dev105.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.dev105
|
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.dev103.dist-info → qontract_reconcile-0.10.2.dev105.dist-info}/RECORD
RENAMED
@@ -195,9 +195,9 @@ reconcile/endpoints_discovery/integration.py,sha256=ecjIZK_h6JO2wUhUmJlZ9pjOh60n
|
|
195
195
|
reconcile/endpoints_discovery/merge_request.py,sha256=_yLb4tnvoZMCko8rta2C_CvOInJa9pa3HzSmHNtjgGU,2978
|
196
196
|
reconcile/endpoints_discovery/merge_request_manager.py,sha256=a8zTIQIpRrUwXexZClwpQnnkEoS6XNZLJziI9x7ly0s,6389
|
197
197
|
reconcile/external_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
198
|
-
reconcile/external_resources/aws.py,sha256=
|
198
|
+
reconcile/external_resources/aws.py,sha256=KAZo-PcreAJ8gMPJU4d5ZaN2lo2OXvOfIF1kN1x8F38,11932
|
199
199
|
reconcile/external_resources/factories.py,sha256=C0QHT0soEv6z99-ELAAE19S5MaMHhV0t1fSiQn0Coc4,5970
|
200
|
-
reconcile/external_resources/integration.py,sha256=
|
200
|
+
reconcile/external_resources/integration.py,sha256=WF6O4rT0oUHbNaWEemjLLzCqdNSQIUaymUuj08VsIl8,7034
|
201
201
|
reconcile/external_resources/integration_secrets_sync.py,sha256=CImwt_tyS3MMGpkjI_0gZqYt4XgqIw4BtdJiDH2xrCk,1700
|
202
202
|
reconcile/external_resources/manager.py,sha256=mvFfcXPzvNqDWDgKTK8eiSe6C_FUvBtben3bSqrqSoc,18246
|
203
203
|
reconcile/external_resources/meta.py,sha256=noaytFzmShpzLA_ebGh7wuP45mOfHIOnnoUxivjDa1I,672
|
@@ -224,7 +224,7 @@ reconcile/glitchtip_project_alerts/integration.py,sha256=BgMx-NyV9mTuv7Sotb2OioC
|
|
224
224
|
reconcile/glitchtip_project_dsn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
225
225
|
reconcile/glitchtip_project_dsn/integration.py,sha256=2iugub-kHYkHNK33n0v9_TeWonuxCPah_VkoTPvaajE,8077
|
226
226
|
reconcile/gql_definitions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
227
|
-
reconcile/gql_definitions/introspection.json,sha256
|
227
|
+
reconcile/gql_definitions/introspection.json,sha256=kY3f6I33Qo8h3ie2YiUWIXCNnlAe6_Ct-MVDuewmegQ,2246801
|
228
228
|
reconcile/gql_definitions/acs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
229
229
|
reconcile/gql_definitions/acs/acs_instances.py,sha256=L91WW9LbhJbBSrECqShQpFtjoBOsmNIYLRpMbx1io5o,2181
|
230
230
|
reconcile/gql_definitions/acs/acs_policies.py,sha256=bN5i4mks10Z23KJSj7jqp966Osq2dps4d-sPH9gjxEA,7008
|
@@ -309,7 +309,7 @@ reconcile/gql_definitions/endpoints_discovery/apps.py,sha256=aBWRAwDUJQ32ghJS4cP
|
|
309
309
|
reconcile/gql_definitions/external_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
310
310
|
reconcile/gql_definitions/external_resources/aws_accounts.py,sha256=XR69j9dpTQ0gv8y-AZN7AJ0dPvO-wbHscyCDgrax6Bk,2046
|
311
311
|
reconcile/gql_definitions/external_resources/external_resources_modules.py,sha256=JViHtDWEBwjStBUo_bUdm_sxdpjCHcoATeFvwFRLQpU,3009
|
312
|
-
reconcile/gql_definitions/external_resources/external_resources_namespaces.py,sha256=
|
312
|
+
reconcile/gql_definitions/external_resources/external_resources_namespaces.py,sha256=qGslq_4LdKd0jt8-TYySBU9c6rTTPVxG613xLSDFxBQ,44622
|
313
313
|
reconcile/gql_definitions/external_resources/external_resources_settings.py,sha256=WBkJqnoyYCe1Vimwbp_Pa0RdyTdmWNf6oEWyA749QzA,3589
|
314
314
|
reconcile/gql_definitions/external_resources/fragments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
315
315
|
reconcile/gql_definitions/external_resources/fragments/external_resources_module_overrides.py,sha256=T_qWCRtzU8F9frebBXG9TkeQdrKGt3R9YinSngPoFqM,1262
|
@@ -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.dev105.dist-info/METADATA,sha256=WiFbmcDIrpf5D2W8Q6_gQUyGCiSkpczVt3sNKLc4h9s,24566
|
790
|
+
qontract_reconcile-0.10.2.dev105.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
791
|
+
qontract_reconcile-0.10.2.dev105.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
792
|
+
qontract_reconcile-0.10.2.dev105.dist-info/RECORD,,
|
@@ -166,6 +166,12 @@ class AWSRdsFactory(AWSDefaultResourceFactory):
|
|
166
166
|
if "old_parameter_group" in data:
|
167
167
|
old_pg_data = rvr._get_values(data["old_parameter_group"])
|
168
168
|
data["old_parameter_group"] = old_pg_data
|
169
|
+
if (
|
170
|
+
(blue_green_deployment := data.get("blue_green_deployment"))
|
171
|
+
and (target := blue_green_deployment.get("target"))
|
172
|
+
and (parameter_group := target.get("parameter_group"))
|
173
|
+
):
|
174
|
+
target["parameter_group"] = rvr._get_values(parameter_group)
|
169
175
|
if "replica_source" in data:
|
170
176
|
sourcedb_spec = self._get_source_db_spec(
|
171
177
|
spec.provisioner_name, data["replica_source"]
|
@@ -143,6 +143,9 @@ def run(
|
|
143
143
|
workers_cluster: str | None = None,
|
144
144
|
workers_namespace: str | None = None,
|
145
145
|
) -> None:
|
146
|
+
if dry_run and not dry_run_job_suffix:
|
147
|
+
raise RuntimeError("dry_run needs a dry_run_job_suffix")
|
148
|
+
|
146
149
|
vault_settings = get_app_interface_vault_settings()
|
147
150
|
secret_reader = create_secret_reader(use_vault=vault_settings.vault)
|
148
151
|
er_settings = get_settings()
|
@@ -114,6 +114,20 @@ query ExternalResourcesNamespaces {
|
|
114
114
|
availability_zone
|
115
115
|
parameter_group
|
116
116
|
old_parameter_group
|
117
|
+
blue_green_deployment {
|
118
|
+
enabled
|
119
|
+
switchover
|
120
|
+
delete
|
121
|
+
target {
|
122
|
+
allocated_storage
|
123
|
+
engine_version
|
124
|
+
instance_class
|
125
|
+
iops
|
126
|
+
parameter_group
|
127
|
+
storage_throughput
|
128
|
+
storage_type
|
129
|
+
}
|
130
|
+
}
|
117
131
|
overrides
|
118
132
|
output_resource_name
|
119
133
|
enhanced_monitoring
|
@@ -571,6 +585,23 @@ class NamespaceTerraformResourceAWSV1(ConfiguredBaseModel):
|
|
571
585
|
provider: str = Field(..., alias="provider")
|
572
586
|
|
573
587
|
|
588
|
+
class RDSBlueGreenDeploymentTargetV1(ConfiguredBaseModel):
|
589
|
+
allocated_storage: Optional[int] = Field(..., alias="allocated_storage")
|
590
|
+
engine_version: Optional[str] = Field(..., alias="engine_version")
|
591
|
+
instance_class: Optional[str] = Field(..., alias="instance_class")
|
592
|
+
iops: Optional[int] = Field(..., alias="iops")
|
593
|
+
parameter_group: Optional[str] = Field(..., alias="parameter_group")
|
594
|
+
storage_throughput: Optional[str] = Field(..., alias="storage_throughput")
|
595
|
+
storage_type: Optional[str] = Field(..., alias="storage_type")
|
596
|
+
|
597
|
+
|
598
|
+
class RDSBlueGreenDeploymentV1(ConfiguredBaseModel):
|
599
|
+
enabled: Optional[bool] = Field(..., alias="enabled")
|
600
|
+
switchover: Optional[bool] = Field(..., alias="switchover")
|
601
|
+
delete: Optional[bool] = Field(..., alias="delete")
|
602
|
+
target: Optional[RDSBlueGreenDeploymentTargetV1] = Field(..., alias="target")
|
603
|
+
|
604
|
+
|
574
605
|
class AWSRDSEventNotificationV1(ConfiguredBaseModel):
|
575
606
|
destination: str = Field(..., alias="destination")
|
576
607
|
source_type: Optional[str] = Field(..., alias="source_type")
|
@@ -588,6 +619,7 @@ class NamespaceTerraformResourceRDSV1(NamespaceTerraformResourceAWSV1):
|
|
588
619
|
availability_zone: Optional[str] = Field(..., alias="availability_zone")
|
589
620
|
parameter_group: Optional[str] = Field(..., alias="parameter_group")
|
590
621
|
old_parameter_group: Optional[str] = Field(..., alias="old_parameter_group")
|
622
|
+
blue_green_deployment: Optional[RDSBlueGreenDeploymentV1] = Field(..., alias="blue_green_deployment")
|
591
623
|
overrides: Optional[str] = Field(..., alias="overrides")
|
592
624
|
output_resource_name: Optional[str] = Field(..., alias="output_resource_name")
|
593
625
|
enhanced_monitoring: Optional[bool] = Field(..., alias="enhanced_monitoring")
|
@@ -43531,6 +43531,18 @@
|
|
43531
43531
|
"isDeprecated": false,
|
43532
43532
|
"deprecationReason": null
|
43533
43533
|
},
|
43534
|
+
{
|
43535
|
+
"name": "blue_green_deployment",
|
43536
|
+
"description": null,
|
43537
|
+
"args": [],
|
43538
|
+
"type": {
|
43539
|
+
"kind": "OBJECT",
|
43540
|
+
"name": "RDSBlueGreenDeployment_v1",
|
43541
|
+
"ofType": null
|
43542
|
+
},
|
43543
|
+
"isDeprecated": false,
|
43544
|
+
"deprecationReason": null
|
43545
|
+
},
|
43534
43546
|
{
|
43535
43547
|
"name": "overrides",
|
43536
43548
|
"description": null,
|
@@ -43751,6 +43763,160 @@
|
|
43751
43763
|
"enumValues": null,
|
43752
43764
|
"possibleTypes": null
|
43753
43765
|
},
|
43766
|
+
{
|
43767
|
+
"kind": "OBJECT",
|
43768
|
+
"name": "RDSBlueGreenDeployment_v1",
|
43769
|
+
"description": null,
|
43770
|
+
"fields": [
|
43771
|
+
{
|
43772
|
+
"name": "enabled",
|
43773
|
+
"description": null,
|
43774
|
+
"args": [],
|
43775
|
+
"type": {
|
43776
|
+
"kind": "SCALAR",
|
43777
|
+
"name": "Boolean",
|
43778
|
+
"ofType": null
|
43779
|
+
},
|
43780
|
+
"isDeprecated": false,
|
43781
|
+
"deprecationReason": null
|
43782
|
+
},
|
43783
|
+
{
|
43784
|
+
"name": "switchover",
|
43785
|
+
"description": null,
|
43786
|
+
"args": [],
|
43787
|
+
"type": {
|
43788
|
+
"kind": "SCALAR",
|
43789
|
+
"name": "Boolean",
|
43790
|
+
"ofType": null
|
43791
|
+
},
|
43792
|
+
"isDeprecated": false,
|
43793
|
+
"deprecationReason": null
|
43794
|
+
},
|
43795
|
+
{
|
43796
|
+
"name": "delete",
|
43797
|
+
"description": null,
|
43798
|
+
"args": [],
|
43799
|
+
"type": {
|
43800
|
+
"kind": "SCALAR",
|
43801
|
+
"name": "Boolean",
|
43802
|
+
"ofType": null
|
43803
|
+
},
|
43804
|
+
"isDeprecated": false,
|
43805
|
+
"deprecationReason": null
|
43806
|
+
},
|
43807
|
+
{
|
43808
|
+
"name": "target",
|
43809
|
+
"description": null,
|
43810
|
+
"args": [],
|
43811
|
+
"type": {
|
43812
|
+
"kind": "OBJECT",
|
43813
|
+
"name": "RDSBlueGreenDeploymentTarget_v1",
|
43814
|
+
"ofType": null
|
43815
|
+
},
|
43816
|
+
"isDeprecated": false,
|
43817
|
+
"deprecationReason": null
|
43818
|
+
}
|
43819
|
+
],
|
43820
|
+
"inputFields": null,
|
43821
|
+
"interfaces": [],
|
43822
|
+
"enumValues": null,
|
43823
|
+
"possibleTypes": null
|
43824
|
+
},
|
43825
|
+
{
|
43826
|
+
"kind": "OBJECT",
|
43827
|
+
"name": "RDSBlueGreenDeploymentTarget_v1",
|
43828
|
+
"description": null,
|
43829
|
+
"fields": [
|
43830
|
+
{
|
43831
|
+
"name": "parameter_group",
|
43832
|
+
"description": null,
|
43833
|
+
"args": [],
|
43834
|
+
"type": {
|
43835
|
+
"kind": "SCALAR",
|
43836
|
+
"name": "String",
|
43837
|
+
"ofType": null
|
43838
|
+
},
|
43839
|
+
"isDeprecated": false,
|
43840
|
+
"deprecationReason": null
|
43841
|
+
},
|
43842
|
+
{
|
43843
|
+
"name": "engine_version",
|
43844
|
+
"description": null,
|
43845
|
+
"args": [],
|
43846
|
+
"type": {
|
43847
|
+
"kind": "SCALAR",
|
43848
|
+
"name": "String",
|
43849
|
+
"ofType": null
|
43850
|
+
},
|
43851
|
+
"isDeprecated": false,
|
43852
|
+
"deprecationReason": null
|
43853
|
+
},
|
43854
|
+
{
|
43855
|
+
"name": "instance_class",
|
43856
|
+
"description": null,
|
43857
|
+
"args": [],
|
43858
|
+
"type": {
|
43859
|
+
"kind": "SCALAR",
|
43860
|
+
"name": "String",
|
43861
|
+
"ofType": null
|
43862
|
+
},
|
43863
|
+
"isDeprecated": false,
|
43864
|
+
"deprecationReason": null
|
43865
|
+
},
|
43866
|
+
{
|
43867
|
+
"name": "allocated_storage",
|
43868
|
+
"description": null,
|
43869
|
+
"args": [],
|
43870
|
+
"type": {
|
43871
|
+
"kind": "SCALAR",
|
43872
|
+
"name": "Int",
|
43873
|
+
"ofType": null
|
43874
|
+
},
|
43875
|
+
"isDeprecated": false,
|
43876
|
+
"deprecationReason": null
|
43877
|
+
},
|
43878
|
+
{
|
43879
|
+
"name": "storage_type",
|
43880
|
+
"description": null,
|
43881
|
+
"args": [],
|
43882
|
+
"type": {
|
43883
|
+
"kind": "SCALAR",
|
43884
|
+
"name": "String",
|
43885
|
+
"ofType": null
|
43886
|
+
},
|
43887
|
+
"isDeprecated": false,
|
43888
|
+
"deprecationReason": null
|
43889
|
+
},
|
43890
|
+
{
|
43891
|
+
"name": "iops",
|
43892
|
+
"description": null,
|
43893
|
+
"args": [],
|
43894
|
+
"type": {
|
43895
|
+
"kind": "SCALAR",
|
43896
|
+
"name": "Int",
|
43897
|
+
"ofType": null
|
43898
|
+
},
|
43899
|
+
"isDeprecated": false,
|
43900
|
+
"deprecationReason": null
|
43901
|
+
},
|
43902
|
+
{
|
43903
|
+
"name": "storage_throughput",
|
43904
|
+
"description": null,
|
43905
|
+
"args": [],
|
43906
|
+
"type": {
|
43907
|
+
"kind": "SCALAR",
|
43908
|
+
"name": "String",
|
43909
|
+
"ofType": null
|
43910
|
+
},
|
43911
|
+
"isDeprecated": false,
|
43912
|
+
"deprecationReason": null
|
43913
|
+
}
|
43914
|
+
],
|
43915
|
+
"inputFields": null,
|
43916
|
+
"interfaces": [],
|
43917
|
+
"enumValues": null,
|
43918
|
+
"possibleTypes": null
|
43919
|
+
},
|
43754
43920
|
{
|
43755
43921
|
"kind": "OBJECT",
|
43756
43922
|
"name": "NamespaceTerraformResourceS3_v1",
|
{qontract_reconcile-0.10.2.dev103.dist-info → qontract_reconcile-0.10.2.dev105.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|