raijin-server 0.2.28__py3-none-any.whl → 0.2.29__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.

Potentially problematic release.


This version of raijin-server might be problematic. Click here for more details.

raijin_server/__init__.py CHANGED
@@ -1,5 +1,5 @@
1
1
  """Pacote principal do CLI Raijin Server."""
2
2
 
3
- __version__ = "0.2.28"
3
+ __version__ = "0.2.29"
4
4
 
5
5
  __all__ = ["__version__"]
@@ -140,7 +140,7 @@ def _cleanup_orphan_crds(ctx: ExecutionContext, crds: list[str]) -> bool:
140
140
 
141
141
 
142
142
  def _uninstall_kong(ctx: ExecutionContext) -> None:
143
- """Remove instalacao anterior do Kong."""
143
+ """Remove instalacao anterior do Kong completamente, incluindo CRDs."""
144
144
  typer.echo("Removendo instalacao anterior do Kong...")
145
145
 
146
146
  run_cmd(
@@ -155,6 +155,17 @@ def _uninstall_kong(ctx: ExecutionContext) -> None:
155
155
  check=False,
156
156
  )
157
157
 
158
+ # Remove CRDs do Kong tambem
159
+ crds = _check_orphan_crds(ctx)
160
+ if crds:
161
+ typer.echo(f"Removendo {len(crds)} CRDs do Kong...")
162
+ for crd in crds:
163
+ run_cmd(
164
+ ["kubectl", "delete", "crd", crd, "--ignore-not-found"],
165
+ ctx,
166
+ check=False,
167
+ )
168
+
158
169
  time.sleep(5)
159
170
 
160
171
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: raijin-server
3
- Version: 0.2.28
3
+ Version: 0.2.29
4
4
  Summary: CLI para automacao de setup e hardening de servidores Ubuntu Server.
5
5
  Home-page: https://example.com/raijin-server
6
6
  Author: Equipe Raijin
@@ -1,4 +1,4 @@
1
- raijin_server/__init__.py,sha256=WPj_zYPlDDdC8qb99tlMy-WAu5vWOQOyCldFgDmmT9Q,95
1
+ raijin_server/__init__.py,sha256=GFv9tjlsvvlB3sWf-ulGWC2aPNJKT90M5Vchdya9dVs,95
2
2
  raijin_server/cli.py,sha256=2m7q1znMLbBdnUwN6oOUrCZXEqC2e7SfbjYkymbP4lQ,37884
3
3
  raijin_server/config.py,sha256=QNiEVvrbW56XgvNn5-h3bkJm46Xc8mjNqPbvixXD8N0,4829
4
4
  raijin_server/healthchecks.py,sha256=lzXdFw6S0hOYbUKbqksh4phb04lXgXdTspP1Dsz4dx8,15401
@@ -18,7 +18,7 @@ raijin_server/modules/hardening.py,sha256=4hz3ifkMhPlXa2n7gPxN0gitQgzALZ-073vuU3
18
18
  raijin_server/modules/harness.py,sha256=uWTxTVJlY_VB6xi4ftMtTSaIb96HA8WJQS-RbyxU45M,5391
19
19
  raijin_server/modules/istio.py,sha256=o0K5-Fw4LRs-kbAVgwzYxHzEt_aPFJG8suqOqvg2748,7297
20
20
  raijin_server/modules/kafka.py,sha256=n7ZpLPWv6sKBJhdBiPe7VgeDB24YiCIOWvOQkWwt03Y,5664
21
- raijin_server/modules/kong.py,sha256=5KCGcIhnEkHHwYEDEDdUTaoDCUwn7HKaZetoqOBlP3E,12553
21
+ raijin_server/modules/kong.py,sha256=9_hFTbp5EYL6R3c91_xwW0pwJtPkgT1qxTwMa9xqq-k,12913
22
22
  raijin_server/modules/kubernetes.py,sha256=9E6zV0zGQWZW92NVpxwYctpi-4JDmi6YzF3tKRI4HlU,13343
23
23
  raijin_server/modules/loki.py,sha256=aNiUpnOFppZMXoQwYhn7IoPMzwUz4aHi6pbiqj1PRjc,5022
24
24
  raijin_server/modules/metallb.py,sha256=uUuklc_RsQ-W2qDVRMQAxQm9HKGEqso444b1IwBpM6w,8554
@@ -38,9 +38,9 @@ raijin_server/scripts/checklist.sh,sha256=j6E0Kmk1EfjLvKK1VpCqzXJAXI_7Bm67LK4ndy
38
38
  raijin_server/scripts/install.sh,sha256=Y1ickbQ4siQ0NIPs6UgrqUr8WWy7U0LHmaTQbEgavoI,3949
39
39
  raijin_server/scripts/log_size_metric.sh,sha256=Iv4SsX8AuCYRou-klYn32mX41xB6j0xJGLBO6riw4rU,1208
40
40
  raijin_server/scripts/pre-deploy-check.sh,sha256=XqMo7IMIpwUHF17YEmU0-cVmTDMoCGMBFnmS39FidI4,4912
41
- raijin_server-0.2.28.dist-info/licenses/LICENSE,sha256=kJsMCjOiRZE0AQNtxWqBa32z9kMAaF4EUxyHj3hKaJo,1105
42
- raijin_server-0.2.28.dist-info/METADATA,sha256=hVqz4e9G6A5HwIr9nHeGF1zGwDSKoiuPDPGttOAY1vM,22476
43
- raijin_server-0.2.28.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
44
- raijin_server-0.2.28.dist-info/entry_points.txt,sha256=3ZvxDX4pvcjkIRsXAJ69wIfVmKa78LKo-C3QhqN2KVM,56
45
- raijin_server-0.2.28.dist-info/top_level.txt,sha256=Yz1xneCRtsZOzbPIcTAcrSxd-1p80pohMXYAZ74dpok,14
46
- raijin_server-0.2.28.dist-info/RECORD,,
41
+ raijin_server-0.2.29.dist-info/licenses/LICENSE,sha256=kJsMCjOiRZE0AQNtxWqBa32z9kMAaF4EUxyHj3hKaJo,1105
42
+ raijin_server-0.2.29.dist-info/METADATA,sha256=xP_M7JES79b4Bd24Mg_lUeUa9Hz_hnogARe5nzPq_6w,22476
43
+ raijin_server-0.2.29.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
44
+ raijin_server-0.2.29.dist-info/entry_points.txt,sha256=3ZvxDX4pvcjkIRsXAJ69wIfVmKa78LKo-C3QhqN2KVM,56
45
+ raijin_server-0.2.29.dist-info/top_level.txt,sha256=Yz1xneCRtsZOzbPIcTAcrSxd-1p80pohMXYAZ74dpok,14
46
+ raijin_server-0.2.29.dist-info/RECORD,,