Commit 2db9e14f authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

added tor v3 adress

parent 468b8ff4
Pipeline #4149 passed with stages
in 42 seconds
......@@ -13,4 +13,9 @@ CMD cp -L /root/torrc.sample /etc/tor/ && \
cp -L /root/metager_hidden/private_key /var/lib/tor/metager_hidden/ && \
chown -R 100:65533 /var/lib/tor/metager_hidden && \
chmod -R u=+rwX,g=,o= /var/lib/tor/metager_hidden && \
mkdir -p /var/lib/tor/metager_hidden_v3 && \
cp -L /root/metager_hidden_v3/hostname /var/lib/tor/metager_hidden_v3/ && \
cp -L /root/metager_hidden_v3/private_key /var/lib/tor/metager_hidden_v3/ && \
chown -R 100:65533 /var/lib/tor/metager_hidden_v3 && \
chmod -R u=+rwX,g=,o= /var/lib/tor/metager_hidden_v3 && \
su -s /bin/sh -c 'tor -f /etc/tor/torrc.sample' tor
......@@ -47,6 +47,10 @@ spec:
secret:
secretName: private-key
defaultMode: 040
- name: private-key-v3
secret:
secretName: private-key-v3
defaultMode: 040
- name: torrc
secret:
secretName: torrc
......@@ -61,6 +65,9 @@ spec:
- name: private-key
mountPath: "/root/metager_hidden"
readOnly: false
- name: private-key-v3
mountPath: "/root/metager_hidden_v3"
readOnly: false
- name: torrc
mountPath: "/root/torrc.sample"
subPath: torrc.sample
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment