Skip to content

Commit

Permalink
remove auditStorage from config
Browse files Browse the repository at this point in the history
Signed-off-by: phac008 <[email protected]>
  • Loading branch information
phac008 committed Nov 25, 2024
1 parent 838b346 commit ad3ad75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 34 deletions.
31 changes: 0 additions & 31 deletions platform-apps/charts/vault/values-k3d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,34 +136,6 @@ vault:
- ALL
privileged: false
runAsNonRoot: true
- name: audit-cleanup
image: hashicorp/vault:1.17.2
env:
- name: VAULT_ADDR
valueFrom:
secretKeyRef:
name: sx-vault-env-vars
key: VAULT_ADDR
command:
- /bin/sh
- -c
- |
while true; do
echo "waiting for tomorrow :-)"
sleep 86400 # Runs daily, after 1 day
echo "Truncating log file..."
truncate -s 0 /vault/audit/audit.log
done
volumeMounts:
- name: vault-root-token
mountPath: /vault-root-token
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
runAsNonRoot: true
- name: vault-initializer
image: hashicorp/vault:1.17.2
env:
Expand Down Expand Up @@ -267,9 +239,6 @@ vault:
readOnly: true
dataStorage:
size: 1Gi
auditStorage:
enabled: true
size: 1Gi
affinity: {}
ha:
enabled: true
Expand Down
6 changes: 3 additions & 3 deletions platform-apps/charts/vault/values-uibklab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ vault:
readOnly: false
dataStorage:
size: 1Gi
auditStorage:
enabled: true
size: 5Gi
#auditStorage:
# enabled: true
# size: 5Gi
affinity: {}
ha:
enabled: true
Expand Down

0 comments on commit ad3ad75

Please sign in to comment.