ankaios
ankaios copied to clipboard
ank apply does not return when empty agent is provided
ank apply does not return when a manifest with an empty agent is provided.
Current Behavior
ank apply -d
blocks and shows
❯ ank apply nginx_empty.yaml
WORKLOAD NAME AGENT RUNTIME EXECUTION STATE ADDITIONAL INFO
nginx1 podman / NotScheduled
Expected Behavior
ank apply
shall return and show the the workload is in state NotScheduled
.
Steps to Reproduce
- Create a file
nginx_empty.yaml
:
apiVersion: v0.1
workloads:
nginx1:
runtime: podman
agent: ""
runtimeConfig: |
image: docker.io/nginx:latest
- Call
ank apply nginx_empty.yaml
.
Context (Environment)
Anakios v0.3.0
Logs
Additional Information
Final result
To be filled by the one closing the issue.