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

Adding --properties arguments when running docker image #663

Open
pancochea opened this issue Jul 9, 2024 · 0 comments
Open

Adding --properties arguments when running docker image #663

pancochea opened this issue Jul 9, 2024 · 0 comments

Comments

@pancochea
Copy link

We want to add arguments to add two properties files to s3, locally, we run it this way:

s3proxy --properties "/etc/s3proxy/file1" --properties "/etc/s3proxy/file2"

Now we want to run it in kubernetes, so we created a deployment and added args to the pod:

spec:
  containers:
    - args:
        - '--properties'
        - /etc/s3proxy/file1
        - '--properties'
        - /etc/s3proxy/file2

But the properties are not being loaded. After checking the dockerfile and the script, I can see that arguments are not being passed to the exec command, so it's not going to load those arguments.

Is there a way to load those properties, or we will have to custom build s3proxy?

Also, we don't understand the --properties /dev/null at the end of the exec.

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