Skip to content

Commit

Permalink
change forwarding file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Buh13246 committed Nov 4, 2023
1 parent a9c97c2 commit a7a65b8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blubb/velocity.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ player-info-forwarding-mode = "MODERN"

# If you are using modern or BungeeGuard IP forwarding, configure a file that contains a unique secret here.
# The file is expected to be UTF-8 encoded and not empty.
forwarding-secret-file = "forwarding.secret"
forwarding-secret-file = "/mnt/forwarding.secret"

# Announce whether or not your server supports Forge. If you run a modded server, we
# suggest turning this on.
Expand Down
14 changes: 14 additions & 0 deletions velocity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ spec:
image: ghcr.io/krassegorganisation/blubb:latest
ports:
- containerPort: 25577
volumeMounts:
- name: mnt
mountPath: /mnt
initContainers:
- name: init-secret-file
image: busybox:1.28
command: ['sh', '-c', "ls -la /mnt; echo test >> /mnt/test-file"]
volumeMounts:
- name: mnt
mountPath: /mnt
volumes:
- name: mnt
emptyDir: {}

---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit a7a65b8

Please sign in to comment.