Update apps/vault/deployment.yaml

This commit is contained in:
2025-11-26 11:17:52 +00:00
parent 4fb51ff464
commit 18a6fac531

View File

@@ -16,17 +16,15 @@ spec:
containers:
- name: vault
image: hashicorp/vault:1.16
command: ["/bin/sh", "-c"]
args:
- "server"
- "-config=/vault/config/vault.hcl"
- |
export VAULT_DISABLE_CHOWN=true;
vault server -config=/vault/config/vault.hcl
securityContext:
runAsUser: 0
capabilities:
add:
- IPC_LOCK
env:
- name: VAULT_DISABLE_CHOWN
value: "true"
add: ["IPC_LOCK"]
volumeMounts:
- name: config
mountPath: /vault/config