forked from cerc-io/stack-orchestrator
Fix lint errors
This commit is contained in:
parent
5e158f4595
commit
6b5a1e7ae3
@ -233,9 +233,9 @@ Edit the generated template files in `templates/` to customize:
|
||||
|
||||
# 7. Success message
|
||||
print(f"\n{'=' * 60}")
|
||||
print(f"✓ Helm chart generated successfully!")
|
||||
print("✓ Helm chart generated successfully!")
|
||||
print(f"{'=' * 60}")
|
||||
print(f"\nChart details:")
|
||||
print("\nChart details:")
|
||||
print(f" Name: {chart_name}")
|
||||
print(f" Location: {chart_dir.absolute()}")
|
||||
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 []
|
||||
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" ├── spec.yml (reference)")
|
||||
print(f" ├── stack.yml (reference)")
|
||||
print(f" └── chart/ (self-sufficient Helm chart)")
|
||||
print(" ├── spec.yml (reference)")
|
||||
print(" ├── stack.yml (reference)")
|
||||
print(" └── chart/ (self-sufficient Helm chart)")
|
||||
|
||||
print(f"\nNext steps:")
|
||||
print(f" 1. Review the chart:")
|
||||
print("\nNext steps:")
|
||||
print(" 1. Review the chart:")
|
||||
print(f" cd {chart_dir}")
|
||||
print(f" cat Chart.yaml")
|
||||
print(f"")
|
||||
print(f" 2. Review generated templates:")
|
||||
print(f" ls templates/")
|
||||
print(f"")
|
||||
print(f" 3. Install to Kubernetes:")
|
||||
print(" cat Chart.yaml")
|
||||
print("")
|
||||
print(" 2. Review generated templates:")
|
||||
print(" ls templates/")
|
||||
print("")
|
||||
print(" 3. Install to Kubernetes:")
|
||||
print(f" helm install {chart_name} {chart_dir}")
|
||||
print(f"")
|
||||
print(f" 4. Check deployment:")
|
||||
print(f" kubectl get pods")
|
||||
print(f"")
|
||||
print("")
|
||||
print(" 4. Check deployment:")
|
||||
print(" kubectl get pods")
|
||||
print("")
|
||||
|
||||
@ -91,6 +91,7 @@ def create_deployment(ctx, deployment_dir, image, url, kube_config, image_regist
|
||||
deploy_command_context,
|
||||
spec_file_name,
|
||||
deployment_dir,
|
||||
False,
|
||||
None,
|
||||
None
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user