Update apps/vault/deployment.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user