Bug: 'command' not converted #133

Closed
opened 2025-07-09 18:11:51 +00:00 by jpsnyder · 1 comment
jpsnyder commented 2025-07-09 18:11:51 +00:00 (Migrated from github.com)

Greetings again,

I ran into an issue where I noticed that the "command" option in my docker compose is not getting converted.

Something like this

services:
  my-app:
    image: my-image
    command: ["/app/start.sh", "--config", "production.yaml"]

should convert to this:

apiVersion: v1
kind: Deployment
metadata:
  name: my-app-pod
spec:
  containers:
  - name: my-app-container
    image: my-image
    command: ["/app/start.sh"]
    args: ["--config", "production.yaml"]

https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/

Greetings again, I ran into an issue where I noticed that the "command" option in my docker compose is not getting converted. Something like this ```yaml services: my-app: image: my-image command: ["/app/start.sh", "--config", "production.yaml"] ``` should convert to this: ```yaml apiVersion: v1 kind: Deployment metadata: name: my-app-pod spec: containers: - name: my-app-container image: my-image command: ["/app/start.sh"] args: ["--config", "production.yaml"] ``` https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/

Seriously, how did I miss this?

Thanks a lot, I will merge the fix

Seriously, how did I miss this? Thanks a lot, I will merge the fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Katenary/katenary#133
No description provided.