mountPath: /etc/alloy

items:
                - key: "config.yaml"
                  path: "config.alloy"
This commit is contained in:
miwr 2025-03-20 14:23:57 +01:00
parent c376f6d0c6
commit 267a04fee5

View file

@ -6,15 +6,16 @@ server:
- containerPort: 12345 - containerPort: 12345
securityContext: securityContext:
runAsUser: 100 runAsUser: 100
args:
- --config.file=/var/lib/alloy/config/config.yaml
volumeMounts: volumeMounts:
- name: log-storage - name: log-storage
mountPath: /openbao/logs mountPath: /openbao/logs
- name: alloy-data - name: alloy-data
mountPath: /var/lib/alloy mountPath: /var/lib/alloy
- name: config-volume - name: config-volume
mountPath: /var/lib/alloy/config mountPath: /etc/alloy
items:
- key: "config.yaml"
path: "config.alloy"
- name: log-sidecar - name: log-sidecar
image: alpine:latest image: alpine:latest
command: ["/bin/sh", "-c", " command: ["/bin/sh", "-c", "