|
|
|
@ -20,7 +20,7 @@ spec:
|
|
|
|
|
# This is a busybox image with our gitea customizations saved to |
|
|
|
|
# /custom, built using ./script/build_customizations_image from the |
|
|
|
|
# root of the repo |
|
|
|
|
image: eu.gcr.io/fluted-magpie-218106/gitea_custom:0.1.1 |
|
|
|
|
image: eu.gcr.io/fluted-magpie-218106/gitea_custom:0.1.2 |
|
|
|
|
command: [ |
|
|
|
|
'sh', '-c', |
|
|
|
|
'mkdir -p /data/gitea/conf && mkdir -p /data/gitea/https && cp /root/conf/app.ini /data/gitea/conf/app.ini && chown 1000:1000 /data/gitea/conf/app.ini && chmod 660 /data/gitea/conf/app.ini && cp /root/conf/*.pem /data/gitea/https && chmod 600 /data/gitea/https/*.pem && cp -R /custom/* /data/gitea && chown -R 1000:1000 /data/gitea' |
|
|
|
|