Adding --properties arguments when running docker image

Aperta
#663 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, java, shell
Ambito
devops

Direzione di ricerca

Inspect the Dockerfile and startup script mentioned in the issue, focusing on the exec command and its handling of container arguments. Check how --properties /dev/null is used, then verify that both supplied properties paths reach s3proxy and are loaded. The issue is over two years old, so check for maintainer guidance before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

help wanted

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.

Lingua principale
Java
Stelle
2.4k
Fork
289
Merge medio
12h 52m
PR unite (30g)
22

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di gaul/s3proxy

Tutte le issue di gaul/s3proxy

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.