fix(charts/piped): make entrypoint actually do something

It does nothing if 1st argument is not nginx and just execs the arguments:
https://github.com/nginxinc/docker-nginx/blob/master/entrypoint/docker-entrypoint.sh#L12
This commit is contained in:
JuniorJPDJ 2023-07-10 01:04:46 +02:00 committed by GitHub
parent 85a5cde0b3
commit f4d83a9b9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ frontend:
command: "/bin/ash" command: "/bin/ash"
args: args:
- -c - -c
- "sed -i s/pipedapi.kavin.rocks/$BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh && nginx -g 'daemon off;'" - "sed -i s/pipedapi.kavin.rocks/$BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh nginx -g 'daemon off;'"
# resources: # resources:
# requests: # requests: