k8s-helper-cli 0.5.2__tar.gz → 0.5.3__tar.gz

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.
Files changed (18) hide show
  1. {k8s_helper_cli-0.5.2/src/k8s_helper_cli.egg-info → k8s_helper_cli-0.5.3}/PKG-INFO +1 -1
  2. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/pyproject.toml +1 -1
  3. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper/__init__.py +1 -1
  4. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper/core.py +5 -5
  5. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3/src/k8s_helper_cli.egg-info}/PKG-INFO +1 -1
  6. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/LICENSE +0 -0
  7. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/README.md +0 -0
  8. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/setup.cfg +0 -0
  9. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper/cli.py +0 -0
  10. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper/config.py +0 -0
  11. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper/utils.py +0 -0
  12. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper_cli.egg-info/SOURCES.txt +0 -0
  13. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper_cli.egg-info/dependency_links.txt +0 -0
  14. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper_cli.egg-info/entry_points.txt +0 -0
  15. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper_cli.egg-info/requires.txt +0 -0
  16. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/src/k8s_helper_cli.egg-info/top_level.txt +0 -0
  17. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/tests/test_core.py +0 -0
  18. {k8s_helper_cli-0.5.2 → k8s_helper_cli-0.5.3}/tests/test_integration.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: k8s-helper-cli
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: A simplified Python wrapper for common Kubernetes operations
5
5
  Author-email: Harshit Chatterjee <harshitchatterjee50@gmail.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "k8s-helper-cli"
3
- version = "0.5.2"
3
+ version = "0.5.3"
4
4
  description = "A simplified Python wrapper for common Kubernetes operations"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -20,7 +20,7 @@ from .utils import (
20
20
  create_service_manifest
21
21
  )
22
22
 
23
- __version__ = "0.5.2"
23
+ __version__ = "0.5.3"
24
24
  __author__ = "Harshit Chatterjee"
25
25
  __email__ = "harshitchatterjee50@gmail.com"
26
26
 
@@ -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.decode() if e.stderr else str(e)}'
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.decode() if e.stderr else str(e)
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.decode() if e.stderr else str(e)
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}'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: k8s-helper-cli
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: A simplified Python wrapper for common Kubernetes operations
5
5
  Author-email: Harshit Chatterjee <harshitchatterjee50@gmail.com>
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes