qontract-reconcile 0.10.1rc1165__py3-none-any.whl → 0.10.1rc1167__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.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.dist-info}/RECORD +7 -7
- reconcile/gitlab_fork_compliance.py +8 -3
- reconcile/utils/terrascript_aws_client.py +1 -1
- {qontract_reconcile-0.10.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.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.1rc1167
|
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.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.dist-info}/RECORD
RENAMED
@@ -29,7 +29,7 @@ reconcile/github_repo_invites.py,sha256=3GOBGZq1DKMIuyYsDxHqXDnMTWlJfeu248-m3ajf
|
|
29
29
|
reconcile/github_repo_permissions_validator.py,sha256=dcbXdUx6imjNchjp3pg9-z1i7lFEGOr_28GvsiwO5Xw,1734
|
30
30
|
reconcile/github_users.py,sha256=nfTq78QRONIfDVj-5O3bD6psllJjzWFnog-EJ1WqFPU,3672
|
31
31
|
reconcile/github_validator.py,sha256=cVTVxJIGR4a1Jz8wrdXEAb_CMpXUzvykVmUURX4cook,917
|
32
|
-
reconcile/gitlab_fork_compliance.py,sha256=
|
32
|
+
reconcile/gitlab_fork_compliance.py,sha256=c7UfqSAsW04c1bWJmXXaQDwtUcG4Kb6nCJAyRU2uAuw,4449
|
33
33
|
reconcile/gitlab_housekeeping.py,sha256=D0DOqC-xuMBMct04_MI8Lq32OAi_QMvvGLOz_E-77Dw,22482
|
34
34
|
reconcile/gitlab_labeler.py,sha256=4xJHmVX155fclrHqkR926sL1GH6RTN5XfZ8PnqNXbRA,4534
|
35
35
|
reconcile/gitlab_members.py,sha256=PrJE9OhDRdGG_gHM_77nQojLb4B18jtUu8DxgLsRS88,8417
|
@@ -727,7 +727,7 @@ reconcile/utils/state.py,sha256=W0_awkLAPX18hNOF_60o73tkPxDUylqbzYNHfl_sDsk,1638
|
|
727
727
|
reconcile/utils/structs.py,sha256=LcbLEg8WxfRqM6nW7NhcWN0YeqF7SQzxOgntmLs1SgY,352
|
728
728
|
reconcile/utils/template.py,sha256=wTvRU4AnAV_o042tD4Mwls2dwWMuk7MKnde3MaCjaYg,331
|
729
729
|
reconcile/utils/terraform_client.py,sha256=LjX2U2E0Dglt2S_KA5jWQ_dVC8sPn4FEAh0xW_d6JTk,35953
|
730
|
-
reconcile/utils/terrascript_aws_client.py,sha256=
|
730
|
+
reconcile/utils/terrascript_aws_client.py,sha256=k2N_ojFPhiPwI0KdkPpfgboq7D9OgledxTSwKarHpKM,283460
|
731
731
|
reconcile/utils/three_way_diff_strategy.py,sha256=oQcHXd9LVhirJfoaOBoHUYuZVGfyL2voKr6KVI34zZE,4833
|
732
732
|
reconcile/utils/throughput.py,sha256=iP4UWAe2LVhDo69mPPmgo9nQ7RxHD6_GS8MZe-aSiuM,344
|
733
733
|
reconcile/utils/vault.py,sha256=pi0PuyopvCq1gW0cldvy1-Ff6bqLUlCKC2MW0sifvSE,15043
|
@@ -880,8 +880,8 @@ tools/test/test_qontract_cli.py,sha256=iuzKbQ6ahinvjoQmQLBrG4shey0z-1rB6qCgS8T6d
|
|
880
880
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
881
881
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
882
882
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
883
|
-
qontract_reconcile-0.10.
|
884
|
-
qontract_reconcile-0.10.
|
885
|
-
qontract_reconcile-0.10.
|
886
|
-
qontract_reconcile-0.10.
|
887
|
-
qontract_reconcile-0.10.
|
883
|
+
qontract_reconcile-0.10.1rc1167.dist-info/METADATA,sha256=-KUvwqzuEkYD_mXI8afbG7E0vT8PLKe4l31VW7ay1oI,2213
|
884
|
+
qontract_reconcile-0.10.1rc1167.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
885
|
+
qontract_reconcile-0.10.1rc1167.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
886
|
+
qontract_reconcile-0.10.1rc1167.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
887
|
+
qontract_reconcile-0.10.1rc1167.dist-info/RECORD,,
|
@@ -5,8 +5,12 @@ from gitlab import GitlabGetError
|
|
5
5
|
from gitlab.const import MAINTAINER_ACCESS
|
6
6
|
|
7
7
|
from reconcile import queries
|
8
|
+
from reconcile.typed_queries.app_interface_vault_settings import (
|
9
|
+
get_app_interface_vault_settings,
|
10
|
+
)
|
8
11
|
from reconcile.utils.gitlab_api import GitLabApi
|
9
12
|
from reconcile.utils.mr.labels import BLOCKED_BOT_ACCESS
|
13
|
+
from reconcile.utils.secret_reader import create_secret_reader
|
10
14
|
|
11
15
|
LOG = logging.getLogger(__name__)
|
12
16
|
|
@@ -38,10 +42,11 @@ class GitlabForkCompliance:
|
|
38
42
|
self.maintainers_group = maintainers_group
|
39
43
|
|
40
44
|
self.instance = queries.get_gitlab_instance()
|
41
|
-
|
45
|
+
vault_settings = get_app_interface_vault_settings()
|
46
|
+
self.secret_reader = create_secret_reader(use_vault=vault_settings.vault)
|
42
47
|
|
43
48
|
self.gl_cli = GitLabApi(
|
44
|
-
self.instance, project_id=project_id,
|
49
|
+
self.instance, project_id=project_id, secret_reader=self.secret_reader
|
45
50
|
)
|
46
51
|
self.mr = self.gl_cli.get_merge_request(mr_id)
|
47
52
|
|
@@ -94,7 +99,7 @@ class GitlabForkCompliance:
|
|
94
99
|
self.src = GitLabApi(
|
95
100
|
self.instance,
|
96
101
|
project_id=self.mr.source_project_id,
|
97
|
-
|
102
|
+
secret_reader=self.secret_reader,
|
98
103
|
)
|
99
104
|
except GitlabGetError:
|
100
105
|
self.handle_error("access denied for user {bot}", MSG_ACCESS)
|
@@ -2433,7 +2433,7 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
|
|
2433
2433
|
values = {}
|
2434
2434
|
values["name"] = identifier
|
2435
2435
|
|
2436
|
-
action = ["s3:*Object"]
|
2436
|
+
action = ["s3:*Object*"]
|
2437
2437
|
if common_values.get("acl", "private") == "public-read":
|
2438
2438
|
action.append("s3:PutObjectAcl")
|
2439
2439
|
allow_object_tagging = common_values.get("allow_object_tagging", False)
|
{qontract_reconcile-0.10.1rc1165.dist-info → qontract_reconcile-0.10.1rc1167.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|