Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support Running Sidecar With a Command #2448

Open
tabbyl21 opened this issue Oct 17, 2023 · 1 comment
Open

Feature Request: Support Running Sidecar With a Command #2448

tabbyl21 opened this issue Oct 17, 2023 · 1 comment

Comments

@tabbyl21
Copy link

Hi, I would like to support running a sidecar using a command. This is useful in the case that the container being run as a sidecar does not have an entry point and needs to be run explicitly using a command.

Here are my answers to the requested questions:

  • I am using the latest operator image.
  • I am running Zalando on GKE and kind as of now.
  • I am not running it in production presently.
  • I am using the latest operator image.
  • This is a feature request

I have run the change on my own fork, it is a two liner change. :)

tabbyl21 added a commit to tabbyl21/postgres-operator that referenced this issue Oct 17, 2023
This PR addresses issue zalando#2448 . Some containers may not have entry points, if this is the case they would need to be run using a command. This change extends the definition of sidecar so that there is an optional command field. If the field is present then the container will be run using that command. This is a two line change that is fully backward compatible.
@tabbyl21
Copy link
Author

PR with required changes: #2449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant