[Operator SDK] Use entrypoint of a Docker Image as default Service Command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Won't Fix
|
Low
|
Unassigned |
Bug Description
[Moved to Juju from https:/
[With Sidecar Charms] Currently if you want to start a container through Pebble you will have to provide the command to start the container in the command field.
This command seems to be equivalent to the ENTRYPOINT field of a Dockerfile, for example.
In the case of a container definition in a Pod in Kubernetes the command field is optional and will default to the entrypoint if none is stated. Similar default behavior in Pebble would make sense. Additionally an arguments field to expand the entrypoint would also be very useful, for further configuration.
More context on how this is done in Kubernetes: https:/
Use case of a pod_spec charm where no command option is provided, but a argument option is: https:/
Changed in juju: | |
importance: | Undecided → Medium |
milestone: | none → 2.9-next |
status: | New → Triaged |
tags: | added: sidecar-charm |
This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.