- name: config-volume
configMap: name: sidecar-container-alloy-config
This commit is contained in:
parent
ec2fc47ea2
commit
39eab1ef93
1 changed files with 7 additions and 2 deletions
|
@ -16,6 +16,8 @@ server:
|
||||||
mountPath: /openbao/logs
|
mountPath: /openbao/logs
|
||||||
- name: alloy-data
|
- name: alloy-data
|
||||||
mountPath: /var/lib/alloy
|
mountPath: /var/lib/alloy
|
||||||
|
- name: config-volume
|
||||||
|
mountPath: /var/lib/alloy/config
|
||||||
- name: log-sidecar
|
- name: log-sidecar
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
command: ["/bin/sh", "-c", "
|
command: ["/bin/sh", "-c", "
|
||||||
|
@ -33,10 +35,13 @@ server:
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: alloy-data
|
- name: alloy-data
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: config-volume
|
||||||
|
configMap:
|
||||||
|
name: sidecar-container-alloy-config
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/lib/alloy/data
|
- mountPath: /openbao/logs
|
||||||
name: alloy-data
|
name: log-storage
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
|
||||||
postStart:
|
postStart:
|
||||||
|
|
Loading…
Reference in a new issue