# volumeMounts:

#   - name: alloy-data
      #     mountPath: /var/lib/alloy/data
This commit is contained in:
miwr 2025-03-18 12:00:36 +01:00
parent 93fe631736
commit 815f6a2822

View file

@ -10,9 +10,9 @@ server:
# subPath: config.yaml # subPath: config.yaml
# args: # args:
# - --config.file=/etc/alloy/config.yaml # - --config.file=/etc/alloy/config.yaml
volumeMounts: # volumeMounts:
- name: alloy-data # - name: alloy-data
mountPath: /var/lib/alloy/data # mountPath: /var/lib/alloy/data
securityContext: securityContext:
fsGroup: 1000 fsGroup: 1000
runAsGroup: 1000 runAsGroup: 1000
@ -42,7 +42,7 @@ server:
echo $(grep "Unseal Key 4:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key4.txt echo $(grep "Unseal Key 4:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key4.txt
echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}') bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
bao audit enable file file_path=stdout bao audit enable file file_path=/asdfsdf/sadfs.log
rm /tmp/init.txt rm /tmp/init.txt
ui: ui:
enabled: true enabled: true