qontract-reconcile 0.10.2.dev240__py3-none-any.whl → 0.10.2.dev242__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qontract-reconcile
3
- Version: 0.10.2.dev240
3
+ Version: 0.10.2.dev242
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
@@ -70,7 +70,7 @@ reconcile/openshift_prometheus_rules.py,sha256=onowXab248zmHH8SbYDTc1W1bl7JiqRFU
70
70
  reconcile/openshift_resourcequotas.py,sha256=yUi56PiOn3inMMfq_x_FEHmaW-reGipzoorjdar372g,2415
71
71
  reconcile/openshift_resources.py,sha256=I2nO_C37mG3rfyGrd4cGwN3mVseVGuTAHAyhFzLyqF4,1518
72
72
  reconcile/openshift_resources_base.py,sha256=728-5nEmWMviSnhQH-EbEp_876VI2PGgC8LnrIfbD3U,42890
73
- reconcile/openshift_rhcs_certs.py,sha256=wty5ayzcIebe4-Vlkf1Zi3UzVqBU8WUtYmsOiYviWNs,10070
73
+ reconcile/openshift_rhcs_certs.py,sha256=NEHOuSztYkNn7GFqUg2On7kmi3VajDJ5zHZt08Xa24A,10230
74
74
  reconcile/openshift_rolebindings.py,sha256=9mlJ2FjWUoH-rsjtasreA_hV-K5Z_YR00qR_RR60OZM,6555
75
75
  reconcile/openshift_routes.py,sha256=fXvuPSjcjVw1X3j2EQvUAdbOepmIFdKk-M3qP8QzPiw,1075
76
76
  reconcile/openshift_saas_deploy.py,sha256=T1dvb9zajisaJNjbnR6-AZHU-itscHtr4oCqLj8KCK0,13037
@@ -217,7 +217,7 @@ reconcile/glitchtip_project_alerts/integration.py,sha256=d3PMy-mQSbSZdIGAVaZCA2U
217
217
  reconcile/glitchtip_project_dsn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
218
218
  reconcile/glitchtip_project_dsn/integration.py,sha256=2iugub-kHYkHNK33n0v9_TeWonuxCPah_VkoTPvaajE,8077
219
219
  reconcile/gql_definitions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
220
- reconcile/gql_definitions/introspection.json,sha256=G1JM6YaRbTYyTEKTlx-UyrLT7reHtMY1vWqu3VhC74A,2339039
220
+ reconcile/gql_definitions/introspection.json,sha256=7uISKAEWpJ2RvF2BvOeIDXvKEL46DaKjG1lHMFft2V8,2338518
221
221
  reconcile/gql_definitions/acs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
222
222
  reconcile/gql_definitions/acs/acs_instances.py,sha256=L91WW9LbhJbBSrECqShQpFtjoBOsmNIYLRpMbx1io5o,2181
223
223
  reconcile/gql_definitions/acs/acs_policies.py,sha256=Ygpfl2-VkYLSlJvHgp_dJBfb66K_Rwfdfpsa18w1v1s,4338
@@ -800,7 +800,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
800
800
  tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
801
801
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
802
802
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
803
- qontract_reconcile-0.10.2.dev240.dist-info/METADATA,sha256=_ARV2nsqHJLqa48kVDV4MEZmN8RZOXUPBWO9xrwbiX4,24289
804
- qontract_reconcile-0.10.2.dev240.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
805
- qontract_reconcile-0.10.2.dev240.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
806
- qontract_reconcile-0.10.2.dev240.dist-info/RECORD,,
803
+ qontract_reconcile-0.10.2.dev242.dist-info/METADATA,sha256=ZPBCbcD6RjER29qHo9IkVjoZLVn2F52-WKT2_OiCSWE,24289
804
+ qontract_reconcile-0.10.2.dev242.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
805
+ qontract_reconcile-0.10.2.dev242.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
806
+ qontract_reconcile-0.10.2.dev242.dist-info/RECORD,,
@@ -10150,18 +10150,6 @@
10150
10150
  "isDeprecated": false,
10151
10151
  "deprecationReason": null
10152
10152
  },
10153
- {
10154
- "name": "garbageCollection",
10155
- "description": null,
10156
- "args": [],
10157
- "type": {
10158
- "kind": "SCALAR",
10159
- "name": "Boolean",
10160
- "ofType": null
10161
- },
10162
- "isDeprecated": false,
10163
- "deprecationReason": null
10164
- },
10165
10153
  {
10166
10154
  "name": "enableDeletion",
10167
10155
  "description": null,
@@ -59,6 +59,7 @@ class OpenshiftRhcsCertExpiration(GaugeMetric):
59
59
  cert_name: str
60
60
  cluster: str
61
61
  namespace: str
62
+ renewal_threshold_days: str
62
63
 
63
64
  @classmethod
64
65
  def name(cls) -> str:
@@ -200,6 +201,9 @@ def fetch_openshift_resource_for_cert_resource(
200
201
  cert_name=cert_resource.secret_name,
201
202
  namespace=ns.name,
202
203
  cluster=ns.cluster.name,
204
+ renewal_threshold_days=str(
205
+ cert_resource.auto_renew_threshold_days or 7
206
+ ),
203
207
  ),
204
208
  int(vault_cert_secret["expiration_timestamp"]),
205
209
  )