Fix lint errors

This commit is contained in:
Prathamesh Musale 2025-11-21 16:15:37 +05:30
parent 5e158f4595
commit 6b5a1e7ae3
2 changed files with 19 additions and 18 deletions

View File

@ -233,9 +233,9 @@ Edit the generated template files in `templates/` to customize:
# 7. Success message # 7. Success message
print(f"\n{'=' * 60}") print(f"\n{'=' * 60}")
print(f"✓ Helm chart generated successfully!") print("✓ Helm chart generated successfully!")
print(f"{'=' * 60}") print(f"{'=' * 60}")
print(f"\nChart details:") print("\nChart details:")
print(f" Name: {chart_name}") print(f" Name: {chart_name}")
print(f" Location: {chart_dir.absolute()}") print(f" Location: {chart_dir.absolute()}")
print(f" Stack: {stack_path}") print(f" Stack: {stack_path}")
@ -244,23 +244,23 @@ Edit the generated template files in `templates/` to customize:
template_files = list((chart_dir / "templates").glob("*.yaml")) if (chart_dir / "templates").exists() else [] template_files = list((chart_dir / "templates").glob("*.yaml")) if (chart_dir / "templates").exists() else []
print(f" Files: {len(template_files)} template(s) generated") print(f" Files: {len(template_files)} template(s) generated")
print(f"\nDeployment directory structure:") print("\nDeployment directory structure:")
print(f" {deployment_dir_path}/") print(f" {deployment_dir_path}/")
print(f" ├── spec.yml (reference)") print(" ├── spec.yml (reference)")
print(f" ├── stack.yml (reference)") print(" ├── stack.yml (reference)")
print(f" └── chart/ (self-sufficient Helm chart)") print(" └── chart/ (self-sufficient Helm chart)")
print(f"\nNext steps:") print("\nNext steps:")
print(f" 1. Review the chart:") print(" 1. Review the chart:")
print(f" cd {chart_dir}") print(f" cd {chart_dir}")
print(f" cat Chart.yaml") print(" cat Chart.yaml")
print(f"") print("")
print(f" 2. Review generated templates:") print(" 2. Review generated templates:")
print(f" ls templates/") print(" ls templates/")
print(f"") print("")
print(f" 3. Install to Kubernetes:") print(" 3. Install to Kubernetes:")
print(f" helm install {chart_name} {chart_dir}") print(f" helm install {chart_name} {chart_dir}")
print(f"") print("")
print(f" 4. Check deployment:") print(" 4. Check deployment:")
print(f" kubectl get pods") print(" kubectl get pods")
print(f"") print("")

View File

@ -91,6 +91,7 @@ def create_deployment(ctx, deployment_dir, image, url, kube_config, image_regist
deploy_command_context, deploy_command_context,
spec_file_name, spec_file_name,
deployment_dir, deployment_dir,
False,
None, None,
None None
) )