# volumeMounts:
# - name: alloy-data # mountPath: /var/lib/alloy/data # securityContext: # runAsUser: 0
This commit is contained in:
parent
43b172d8d4
commit
8db5e5950d
1 changed files with 5 additions and 11 deletions
|
@ -4,17 +4,11 @@ server:
|
|||
image: grafana/alloy:latest
|
||||
ports:
|
||||
- containerPort: 12345
|
||||
# volumeMounts:
|
||||
# - name: sidecar-container-alloy-config
|
||||
# mountPath: /etc/alloy/config.yaml
|
||||
# subPath: config.yaml
|
||||
# args:
|
||||
# - --config.file=/etc/alloy/config.yaml
|
||||
volumeMounts:
|
||||
- name: alloy-data
|
||||
mountPath: /var/lib/alloy/data
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
# volumeMounts:
|
||||
# - name: alloy-data
|
||||
# mountPath: /var/lib/alloy/data
|
||||
# securityContext:
|
||||
# runAsUser: 0
|
||||
|
||||
volumes:
|
||||
- name: alloy-data
|
||||
|
|
Loading…
Reference in a new issue