Update apps/vault/deployment.yaml
This commit is contained in:
@@ -16,17 +16,15 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: vault
|
- name: vault
|
||||||
image: hashicorp/vault:1.16
|
image: hashicorp/vault:1.16
|
||||||
|
command: ["/bin/sh", "-c"]
|
||||||
args:
|
args:
|
||||||
- "server"
|
- |
|
||||||
- "-config=/vault/config/vault.hcl"
|
export VAULT_DISABLE_CHOWN=true;
|
||||||
|
vault server -config=/vault/config/vault.hcl
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add: ["IPC_LOCK"]
|
||||||
- IPC_LOCK
|
|
||||||
env:
|
|
||||||
- name: VAULT_DISABLE_CHOWN
|
|
||||||
value: "true"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /vault/config
|
mountPath: /vault/config
|
||||||
|
|||||||
Reference in New Issue
Block a user