forked from cerc-io/stack-orchestrator
Previously, down() generated resource names from the deployment config and deleted those specific names. This failed to clean up orphaned resources when deployment IDs changed (e.g., after force_redeploy). Changes: - Add 'app' label to all resources: Ingress, Service, NodePort, ConfigMap, PV - Refactor down() to query K8s by label selector instead of generating names - This ensures all resources for a deployment are cleaned up, even if the deployment config has changed or been deleted Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| compose | ||
| k8s | ||
| webapp | ||
| __init__.py | ||
| deploy_types.py | ||
| deploy_util.py | ||
| deploy.py | ||
| deployer_factory.py | ||
| deployer.py | ||
| deployment_context.py | ||
| deployment_create.py | ||
| deployment.py | ||
| dns_probe.py | ||
| images.py | ||
| spec.py | ||
| stack_state.py | ||
| stack.py | ||