Ability to define commands for a container
Closed this issue · 1 comments
seagyn commented
For my application, I need to be able to define the commands/args I want the container to use to start up. For example, we have a container that uses the following command:
command:
- /usr/bin/catalog-admin
- --config=/etc/catalog-admin/config.yml
- --bind-address=0.0.0.0:9420
- --tls-bind-address=0.0.0.0:9443
- --cert-file=/etc/catalog-admin-tls/tls.crt
- --key-file=/etc/catalog-admin-tls/tls.key
- --ca-cert-file=/etc/catalog-admin-tls/ca.crt
- --nats-secure=false
- --nats-client-group=catalog-admin
- --nats-cluster-id=eleanor-stan
It would be handy to have the ability to define commands and args that will be used for the container. A list of commands run in order and a list of arguments run in order.
https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/
clivebor commented