k8s-helper-cli 0.5.2__py3-none-any.whl → 0.5.3__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.
- k8s_helper/__init__.py +1 -1
- k8s_helper/core.py +5 -5
- {k8s_helper_cli-0.5.2.dist-info → k8s_helper_cli-0.5.3.dist-info}/METADATA +1 -1
- k8s_helper_cli-0.5.3.dist-info/RECORD +11 -0
- k8s_helper_cli-0.5.2.dist-info/RECORD +0 -11
- {k8s_helper_cli-0.5.2.dist-info → k8s_helper_cli-0.5.3.dist-info}/WHEEL +0 -0
- {k8s_helper_cli-0.5.2.dist-info → k8s_helper_cli-0.5.3.dist-info}/entry_points.txt +0 -0
- {k8s_helper_cli-0.5.2.dist-info → k8s_helper_cli-0.5.3.dist-info}/licenses/LICENSE +0 -0
- {k8s_helper_cli-0.5.2.dist-info → k8s_helper_cli-0.5.3.dist-info}/top_level.txt +0 -0
k8s_helper/__init__.py
CHANGED
k8s_helper/core.py
CHANGED
@@ -3397,14 +3397,14 @@ scrape_configs:
|
|
3397
3397
|
subprocess.run([
|
3398
3398
|
'helm', 'repo', 'add', 'prometheus-community',
|
3399
3399
|
'https://prometheus-community.github.io/helm-charts'
|
3400
|
-
], check=True, capture_output=True)
|
3400
|
+
], check=True, capture_output=True, text=True)
|
3401
3401
|
|
3402
|
-
subprocess.run(['helm', 'repo', 'update'], check=True, capture_output=True)
|
3402
|
+
subprocess.run(['helm', 'repo', 'update'], check=True, capture_output=True, text=True)
|
3403
3403
|
print("✅ Helm repository added and updated")
|
3404
3404
|
except subprocess.CalledProcessError as e:
|
3405
3405
|
return {
|
3406
3406
|
'success': False,
|
3407
|
-
'error': f'Failed to add Helm repository: {e.stderr
|
3407
|
+
'error': f'Failed to add Helm repository: {e.stderr if e.stderr else str(e)}'
|
3408
3408
|
}
|
3409
3409
|
|
3410
3410
|
# Create Helm values file
|
@@ -3573,7 +3573,7 @@ scrape_configs:
|
|
3573
3573
|
os.unlink(values_file)
|
3574
3574
|
|
3575
3575
|
except subprocess.CalledProcessError as e:
|
3576
|
-
error_msg = e.stderr
|
3576
|
+
error_msg = e.stderr if e.stderr else str(e)
|
3577
3577
|
return {
|
3578
3578
|
'success': False,
|
3579
3579
|
'error': f'Helm installation failed: {error_msg}'
|
@@ -3678,7 +3678,7 @@ scrape_configs:
|
|
3678
3678
|
}
|
3679
3679
|
|
3680
3680
|
except subprocess.CalledProcessError as e:
|
3681
|
-
error_msg = e.stderr
|
3681
|
+
error_msg = e.stderr if e.stderr else str(e)
|
3682
3682
|
return {
|
3683
3683
|
'success': False,
|
3684
3684
|
'error': f'Failed to uninstall Helm release: {error_msg}'
|
@@ -0,0 +1,11 @@
|
|
1
|
+
k8s_helper/__init__.py,sha256=3GNylm6r22pm4iWnjRfi_QLWcPBP9GL0NqZSTtFnLdc,2666
|
2
|
+
k8s_helper/cli.py,sha256=3eP3J7srPIM0bm_G5RxdU_RvtDwJHLX2xBguF2EmXtk,95115
|
3
|
+
k8s_helper/config.py,sha256=P7YdfyvCHprrNs2J9DRb3RrClylfTTh5hfTtDzLug0A,6867
|
4
|
+
k8s_helper/core.py,sha256=0a4juGOteVZ3xwPqhq8vA3Dai63El1nCHo4D9tt7UMM,160443
|
5
|
+
k8s_helper/utils.py,sha256=wYgTd5ktyuI-EiVcfW7FrxA7MzXY5odrEKQgmMVdueY,9496
|
6
|
+
k8s_helper_cli-0.5.3.dist-info/licenses/LICENSE,sha256=tXPvVl3gLVc6e0qCEoLH9KjeA7z4JVL78UybpvGtBCw,1096
|
7
|
+
k8s_helper_cli-0.5.3.dist-info/METADATA,sha256=K-zPIghmapn0gBpCr0AAxR3Uulbu1ww3z_xxTbNIKEo,30789
|
8
|
+
k8s_helper_cli-0.5.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
k8s_helper_cli-0.5.3.dist-info/entry_points.txt,sha256=IoCMWUZ6mn90LwzQzEy5YkWOwvogDdZ6ycqUWAzCFTQ,50
|
10
|
+
k8s_helper_cli-0.5.3.dist-info/top_level.txt,sha256=x9A1jflyer-z2cFnkqk5B42juoH2q0fy5hkT9upsTG8,11
|
11
|
+
k8s_helper_cli-0.5.3.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
k8s_helper/__init__.py,sha256=6P0gvzwSbX4EBvqjSs8DO6uNsGzJAFG36qUqVY9vlnQ,2666
|
2
|
-
k8s_helper/cli.py,sha256=3eP3J7srPIM0bm_G5RxdU_RvtDwJHLX2xBguF2EmXtk,95115
|
3
|
-
k8s_helper/config.py,sha256=P7YdfyvCHprrNs2J9DRb3RrClylfTTh5hfTtDzLug0A,6867
|
4
|
-
k8s_helper/core.py,sha256=WNri9uYRPdU_NRCdEpkgJhxzAC3iKaF2UntALvZS4ng,160448
|
5
|
-
k8s_helper/utils.py,sha256=wYgTd5ktyuI-EiVcfW7FrxA7MzXY5odrEKQgmMVdueY,9496
|
6
|
-
k8s_helper_cli-0.5.2.dist-info/licenses/LICENSE,sha256=tXPvVl3gLVc6e0qCEoLH9KjeA7z4JVL78UybpvGtBCw,1096
|
7
|
-
k8s_helper_cli-0.5.2.dist-info/METADATA,sha256=1G1nZLtXZPaYsaCr4pyjRWqor80TUNa0DnQhSriSZSo,30789
|
8
|
-
k8s_helper_cli-0.5.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
-
k8s_helper_cli-0.5.2.dist-info/entry_points.txt,sha256=IoCMWUZ6mn90LwzQzEy5YkWOwvogDdZ6ycqUWAzCFTQ,50
|
10
|
-
k8s_helper_cli-0.5.2.dist-info/top_level.txt,sha256=x9A1jflyer-z2cFnkqk5B42juoH2q0fy5hkT9upsTG8,11
|
11
|
-
k8s_helper_cli-0.5.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|