qontract-reconcile 0.10.1rc1105__py3-none-any.whl → 0.10.1rc1107__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.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.dist-info}/RECORD +7 -7
- reconcile/utils/helm.py +8 -11
- reconcile/utils/saasherder/saasherder.py +1 -2
- {qontract_reconcile-0.10.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.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.1rc1107
|
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.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.dist-info}/RECORD
RENAMED
@@ -683,7 +683,7 @@ reconcile/utils/gitlab_api.py,sha256=C1nsHQKKybsmFdaG9vsItBjJm69ym4VWbqbKfAEf7oY
|
|
683
683
|
reconcile/utils/gpg.py,sha256=EKG7_fdMv8BMlV5yUdPiqoTx-KrzmVSEAl2sLkaKwWI,1123
|
684
684
|
reconcile/utils/gql.py,sha256=C0thIm_k9MBldfqwHzyqtYZk9sIvMdm9IbbnXLGwjD8,14158
|
685
685
|
reconcile/utils/grouping.py,sha256=vr9SFHZ7bqmHYrvYcEZt-Er3-yQYfAAdq5sHLZVmXPY,456
|
686
|
-
reconcile/utils/helm.py,sha256=
|
686
|
+
reconcile/utils/helm.py,sha256=cbvmmdjtfPfHhD5SPqf922P6IKO4Ll9FYiCAIRfQtTk,3830
|
687
687
|
reconcile/utils/helpers.py,sha256=k9svgFFZG7H5FvHYY0g5jJyvgvh2UDZxf0Ib221teag,1179
|
688
688
|
reconcile/utils/imap_client.py,sha256=h8YDiCSCvroErhpH_-KGYI7Y2WU2Q2oSpuxDFbOkSbY,1989
|
689
689
|
reconcile/utils/instrumented_wrappers.py,sha256=eVwMoa6FCrYxLv3RML3WpZF9qKVfCTjMxphgVXG03OM,1073
|
@@ -819,7 +819,7 @@ reconcile/utils/runtime/sharding.py,sha256=r0ieUtNed7NvknSw6qQrCkKpVXE1shuHGnfFc
|
|
819
819
|
reconcile/utils/saasherder/__init__.py,sha256=3U8plqMAPRE1kjwZ5YnIsYsggTf4_gS7flRUEuXVBAs,343
|
820
820
|
reconcile/utils/saasherder/interfaces.py,sha256=C2wrw34OXypshVocAsPrVZsSHptgw4g9u7Haa2wulZQ,9087
|
821
821
|
reconcile/utils/saasherder/models.py,sha256=z8ln03zi2a8cu716NcNUDHp8Dv1VcVbhqdWVxCl7x9A,10148
|
822
|
-
reconcile/utils/saasherder/saasherder.py,sha256=
|
822
|
+
reconcile/utils/saasherder/saasherder.py,sha256=ncFN9ERyTPHxBlOi55FMRakrbN1OfjI2UfbR1YM1IjE,85903
|
823
823
|
reconcile/utils/terraform/__init__.py,sha256=zNbiyTWo35AT1sFTElL2j_AA0jJ_yWE_bfFn-nD2xik,250
|
824
824
|
reconcile/utils/terraform/config.py,sha256=5UVrd563TMcvi4ooa5JvWVDW1I3bIWg484u79evfV_8,164
|
825
825
|
reconcile/utils/terraform/config_client.py,sha256=gRL1rQ0AqvShei_rcGqC3HDYGskOFKE1nPrJyJE9yno,4676
|
@@ -870,8 +870,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
|
|
870
870
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
871
871
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
872
872
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
873
|
-
qontract_reconcile-0.10.
|
874
|
-
qontract_reconcile-0.10.
|
875
|
-
qontract_reconcile-0.10.
|
876
|
-
qontract_reconcile-0.10.
|
877
|
-
qontract_reconcile-0.10.
|
873
|
+
qontract_reconcile-0.10.1rc1107.dist-info/METADATA,sha256=ybs_POVzxtD7de8oGhpljR3lSrcR2LPZX8i99qZD73s,2213
|
874
|
+
qontract_reconcile-0.10.1rc1107.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
|
875
|
+
qontract_reconcile-0.10.1rc1107.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
876
|
+
qontract_reconcile-0.10.1rc1107.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
877
|
+
qontract_reconcile-0.10.1rc1107.dist-info/RECORD,,
|
reconcile/utils/helm.py
CHANGED
@@ -28,7 +28,7 @@ class JSONEncoder(json.JSONEncoder):
|
|
28
28
|
def do_template(
|
29
29
|
values: Mapping[str, Any],
|
30
30
|
path: str,
|
31
|
-
|
31
|
+
namespace: str,
|
32
32
|
) -> str:
|
33
33
|
try:
|
34
34
|
with (
|
@@ -76,9 +76,9 @@ def do_template(
|
|
76
76
|
"helm",
|
77
77
|
"template",
|
78
78
|
path,
|
79
|
-
"
|
80
|
-
|
81
|
-
"
|
79
|
+
"--namespace",
|
80
|
+
namespace,
|
81
|
+
"--values",
|
82
82
|
values_file.name,
|
83
83
|
"--repository-config",
|
84
84
|
repository_config_file.name,
|
@@ -100,23 +100,20 @@ def do_template(
|
|
100
100
|
def template(
|
101
101
|
values: Mapping[str, Any],
|
102
102
|
path: str = "./helm/qontract-reconcile",
|
103
|
-
|
103
|
+
namespace: str = "qontract-reconcile",
|
104
104
|
) -> Mapping[str, Any]:
|
105
|
-
return yaml.safe_load(do_template(values=values, path=path,
|
105
|
+
return yaml.safe_load(do_template(values=values, path=path, namespace=namespace))
|
106
106
|
|
107
107
|
|
108
108
|
def template_all(
|
109
109
|
url: str,
|
110
110
|
path: str,
|
111
|
-
|
111
|
+
namespace: str,
|
112
112
|
values: Mapping[str, Any],
|
113
|
-
ref: str | None,
|
114
113
|
ssl_verify: bool = True,
|
115
114
|
) -> Iterable[Mapping[str, Any]]:
|
116
115
|
with tempfile.TemporaryDirectory() as wd:
|
117
116
|
git.clone(url, wd, depth=1, verify=ssl_verify)
|
118
|
-
if ref:
|
119
|
-
git.checkout(ref, wd)
|
120
117
|
return yaml.safe_load_all(
|
121
|
-
do_template(values=values, path=f"{wd}{path}",
|
118
|
+
do_template(values=values, path=f"{wd}{path}", namespace=namespace)
|
122
119
|
)
|
@@ -988,9 +988,8 @@ class SaasHerder: # pylint: disable=too-many-public-methods
|
|
988
988
|
image.setdefault("tag", image_tag)
|
989
989
|
resources = helm.template_all(
|
990
990
|
url=url,
|
991
|
-
ref=commit_sha,
|
992
991
|
path=path,
|
993
|
-
name
|
992
|
+
namespace=spec.target.namespace.name,
|
994
993
|
values=consolidated_parameters,
|
995
994
|
ssl_verify=ssl_verify,
|
996
995
|
)
|
{qontract_reconcile-0.10.1rc1105.dist-info → qontract_reconcile-0.10.1rc1107.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|