# 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
|
image: grafana/alloy:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 12345
|
- containerPort: 12345
|
||||||
# volumeMounts:
|
# volumeMounts:
|
||||||
# - name: sidecar-container-alloy-config
|
# - name: alloy-data
|
||||||
# mountPath: /etc/alloy/config.yaml
|
# mountPath: /var/lib/alloy/data
|
||||||
# subPath: config.yaml
|
# securityContext:
|
||||||
# args:
|
# runAsUser: 0
|
||||||
# - --config.file=/etc/alloy/config.yaml
|
|
||||||
volumeMounts:
|
|
||||||
- name: alloy-data
|
|
||||||
mountPath: /var/lib/alloy/data
|
|
||||||
securityContext:
|
|
||||||
runAsUser: 0
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: alloy-data
|
- name: alloy-data
|
||||||
|
|
Loading…
Reference in a new issue