Mount kojid secrets by default in runroot

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-01-10 15:47:26 +00:00
parent 7f76bc4cea
commit e82dafaafd

View file

@ -8,7 +8,7 @@
default_mounts = /mnt/koji default_mounts = /mnt/koji
{% elif env == 'staging' %} {% elif env == 'staging' %}
; In staging we also need the production split volume ; In staging we also need the production split volume
default_mounts = /mnt/koji,/mnt/fedora_koji_prod/koji default_mounts = /mnt/koji,/mnt/fedora_koji_prod/koji,/etc/kojid/secrets
{% endif %} {% endif %}
; comma-delimited list of safe roots. ; comma-delimited list of safe roots.
@ -52,8 +52,8 @@ options = ro,bind
; Directory for secrets to be used by certain builds ; Directory for secrets to be used by certain builds
[path3] [path3]
mountpoint = /etc/kojid/secrets/ mountpoint = /etc/kojid/secrets
path = /etc/kojid/secrets/ path = /etc/kojid/secrets
fstype = bind fstype = bind
options = ro,bind options = ro,bind
{% endif %} {% endif %}