qontract-reconcile 0.10.1rc997__py3-none-any.whl → 0.10.1rc998__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.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/RECORD +9 -9
- reconcile/gql_definitions/common/saas_files.py +2 -0
- reconcile/openshift_saas_deploy.py +2 -1
- reconcile/typed_queries/saas_files.py +1 -0
- reconcile/utils/saasherder/saasherder.py +3 -0
- {qontract_reconcile-0.10.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc998
|
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
|
{qontract_reconcile-0.10.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/RECORD
RENAMED
@@ -75,7 +75,7 @@ reconcile/openshift_resources.py,sha256=I2nO_C37mG3rfyGrd4cGwN3mVseVGuTAHAyhFzLy
|
|
75
75
|
reconcile/openshift_resources_base.py,sha256=Seh4T8oA_JO-g0Z5TODDtL5cyRj-o7bmk6-eOmDAL4Q,40751
|
76
76
|
reconcile/openshift_rolebindings.py,sha256=9mlJ2FjWUoH-rsjtasreA_hV-K5Z_YR00qR_RR60OZM,6555
|
77
77
|
reconcile/openshift_routes.py,sha256=fXvuPSjcjVw1X3j2EQvUAdbOepmIFdKk-M3qP8QzPiw,1075
|
78
|
-
reconcile/openshift_saas_deploy.py,sha256=
|
78
|
+
reconcile/openshift_saas_deploy.py,sha256=UZlm29JujJVS3MzSm6uehlC3y-jZxl6WVwMeKRdN11U,12773
|
79
79
|
reconcile/openshift_saas_deploy_change_tester.py,sha256=FfXrx_JloAlWeJVsJLIQPqFQ7OoBkaB2TgJJXlNZNCM,8796
|
80
80
|
reconcile/openshift_saas_deploy_trigger_base.py,sha256=m7aqYEZUM-vr3EBw-hIbz1rHpXZNxs_BAJv3ndfvnAQ,14039
|
81
81
|
reconcile/openshift_saas_deploy_trigger_cleaner.py,sha256=roLyVAVntaQptKaZbnN1LyLvCA8fyvqELfjU6M8xfeY,3511
|
@@ -261,7 +261,7 @@ reconcile/gql_definitions/common/pgp_reencryption_settings.py,sha256=NPLmO6J-zSu
|
|
261
261
|
reconcile/gql_definitions/common/pipeline_providers.py,sha256=JJgmmghqLIwjKOdcWYHPnf4PDgAq4GF7046i0ozrqgI,9127
|
262
262
|
reconcile/gql_definitions/common/quay_instances.py,sha256=toBkdYYVTmEafezAHZKgaW-mQ29xEW6jeronzsAlNyI,1786
|
263
263
|
reconcile/gql_definitions/common/reserved_networks.py,sha256=yP9qSQCaSQcva-ZgTnZp09qH27ur5_qK080ToIs04MY,2560
|
264
|
-
reconcile/gql_definitions/common/saas_files.py,sha256=
|
264
|
+
reconcile/gql_definitions/common/saas_files.py,sha256=JZdFKBygaZVxGwBUYMki9EbnsGdmfmxuAreMZ3dchwo,16702
|
265
265
|
reconcile/gql_definitions/common/saas_target_namespaces.py,sha256=4VYP2VbwY8WVwtSFk2-jsUNhSmRD3X4FWKxetOKvmd0,2835
|
266
266
|
reconcile/gql_definitions/common/saasherder_settings.py,sha256=nqQLcMwYxLseqq0BEcVvmrpIj2eQq0h8XDSpLN6GGCw,1793
|
267
267
|
reconcile/gql_definitions/common/slack_workspaces.py,sha256=2o0kgi4QiaRuNmZJnc_By4F6NsKIdRaXkrufRQw7Nok,1753
|
@@ -618,7 +618,7 @@ reconcile/typed_queries/pagerduty_instances.py,sha256=zxCNxMak4iikryePaRi71lTADV
|
|
618
618
|
reconcile/typed_queries/quay.py,sha256=OvkSDDbS3o4a4W5MqVxTAVmo47p5XegeoEVNiuqsevg,242
|
619
619
|
reconcile/typed_queries/repos.py,sha256=8A93dKDt6igT4ClqMjt7YUTsoP4qh1Wnm0W3xsMgj48,824
|
620
620
|
reconcile/typed_queries/reserved_networks.py,sha256=-f_CIrTn8u-dotj5VKFlAcD7TX1CSSuR7Ko2zC8OKEM,358
|
621
|
-
reconcile/typed_queries/saas_files.py,sha256=
|
621
|
+
reconcile/typed_queries/saas_files.py,sha256=lPJNh5F2ThJUjW2zvsCKPLm2DVNBnbHFbzWByqTg2uM,14012
|
622
622
|
reconcile/typed_queries/slack.py,sha256=r30lspctHloyygPn8_DVybxPwUWwiBpvBRRXiTVcQYk,251
|
623
623
|
reconcile/typed_queries/slo_documents.py,sha256=l7H6Uq85EcvvWUgmi5c1YHeJGk60KN-TBmi8d0w-XyU,375
|
624
624
|
reconcile/typed_queries/smtp.py,sha256=aSLglYa5bHKmlGwKkxq2RZqyMWuAf0a4S_mOuhDa084,542
|
@@ -803,7 +803,7 @@ reconcile/utils/runtime/sharding.py,sha256=r0ieUtNed7NvknSw6qQrCkKpVXE1shuHGnfFc
|
|
803
803
|
reconcile/utils/saasherder/__init__.py,sha256=J3MBZBFa5YmhqYm08QsjBXz8mFcVOCiOCkyIcw41t7E,343
|
804
804
|
reconcile/utils/saasherder/interfaces.py,sha256=C2wrw34OXypshVocAsPrVZsSHptgw4g9u7Haa2wulZQ,9087
|
805
805
|
reconcile/utils/saasherder/models.py,sha256=z8ln03zi2a8cu716NcNUDHp8Dv1VcVbhqdWVxCl7x9A,10148
|
806
|
-
reconcile/utils/saasherder/saasherder.py,sha256=
|
806
|
+
reconcile/utils/saasherder/saasherder.py,sha256=8yKSNuwLVJaJnOxGOHjhFaRqEmEbJxKqBj1-phI618o,84863
|
807
807
|
reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
|
808
808
|
reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
|
809
809
|
reconcile/utils/terraform/config_client.py,sha256=gRL1rQ0AqvShei_rcGqC3HDYGskOFKE1nPrJyJE9yno,4676
|
@@ -854,8 +854,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
|
|
854
854
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
855
855
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
856
856
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
857
|
-
qontract_reconcile-0.10.
|
858
|
-
qontract_reconcile-0.10.
|
859
|
-
qontract_reconcile-0.10.
|
860
|
-
qontract_reconcile-0.10.
|
861
|
-
qontract_reconcile-0.10.
|
857
|
+
qontract_reconcile-0.10.1rc998.dist-info/METADATA,sha256=C-FKJi66DUTRsEPvxIam7tbqEn2MiaX4Of5mxG-eYhA,2262
|
858
|
+
qontract_reconcile-0.10.1rc998.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
859
|
+
qontract_reconcile-0.10.1rc998.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
860
|
+
qontract_reconcile-0.10.1rc998.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
861
|
+
qontract_reconcile-0.10.1rc998.dist-info/RECORD,,
|
@@ -233,6 +233,7 @@ query SaasFiles {
|
|
233
233
|
}
|
234
234
|
}
|
235
235
|
validateTargetsInApp
|
236
|
+
validatePlannedData
|
236
237
|
resourceTemplates {
|
237
238
|
name
|
238
239
|
url
|
@@ -560,6 +561,7 @@ class SaasFileV2(ConfiguredBaseModel):
|
|
560
561
|
parameters: Optional[Json] = Field(..., alias="parameters")
|
561
562
|
secret_parameters: Optional[list[SaasSecretParametersV1]] = Field(..., alias="secretParameters")
|
562
563
|
validate_targets_in_app: Optional[bool] = Field(..., alias="validateTargetsInApp")
|
564
|
+
validate_planned_data: Optional[bool] = Field(..., alias="validatePlannedData")
|
563
565
|
resource_templates: list[SaasResourceTemplateV2] = Field(..., alias="resourceTemplates")
|
564
566
|
self_service_roles: Optional[list[SaasFileV2_RoleV1]] = Field(..., alias="selfServiceRoles")
|
565
567
|
|
@@ -238,7 +238,8 @@ def run(
|
|
238
238
|
|
239
239
|
# validate that the deployment will succeed
|
240
240
|
# to the best of our ability to predict
|
241
|
-
|
241
|
+
if saasherder.validate_planned_data:
|
242
|
+
ob.validate_planned_data(ri, oc_map)
|
242
243
|
|
243
244
|
# if saas_file_name is defined, the integration
|
244
245
|
# is being called from multiple running instances
|
@@ -126,6 +126,7 @@ class SaasFile(ConfiguredBaseModel):
|
|
126
126
|
..., alias="secretParameters"
|
127
127
|
)
|
128
128
|
validate_targets_in_app: bool | None = Field(..., alias="validateTargetsInApp")
|
129
|
+
validate_planned_data: bool | None = Field(..., alias="validatePlannedData")
|
129
130
|
managed_resource_names: list[ManagedResourceNamesV1] | None = Field(
|
130
131
|
..., alias="managedResourceNames"
|
131
132
|
)
|
@@ -158,6 +158,9 @@ class SaasHerder: # pylint: disable=too-many-public-methods
|
|
158
158
|
self.compare = self._get_saas_file_feature_enabled("compare", default=True)
|
159
159
|
self.publish_job_logs = self._get_saas_file_feature_enabled("publish_job_logs")
|
160
160
|
self.cluster_admin = self._get_saas_file_feature_enabled("cluster_admin")
|
161
|
+
self.validate_planned_data = self._get_saas_file_feature_enabled(
|
162
|
+
"validate_planned_data", default=True
|
163
|
+
)
|
161
164
|
|
162
165
|
def __enter__(self) -> "SaasHerder":
|
163
166
|
return self
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc997.dist-info → qontract_reconcile-0.10.1rc998.dist-info}/top_level.txt
RENAMED
File without changes
|