Files
home-ops/kubernetes/apps/security/vault/app/helmrelease.yaml
T
hermes f7471fb105
Flate / Flate - Filter (pull_request) Successful in 5s
Flate / Flate (pull_request) Successful in 16s
Flate / Flate - Success (pull_request) Canceled after 0s
feat(security): Vault standalone+raft на proxmox-csi, чарт из git
2026-09-17 16:53:30 +00:00

71 lines
2.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: vault
spec:
interval: 1h
chart:
spec:
chart: .
version: 0.34.1
sourceRef:
kind: GitRepository
name: vault-helm
install:
crds: CreateReplace
upgrade:
crds: CreateReplace
cleanupOnFail: true
remediation:
retries: 3
# Упавший первый релиз без этой настройки залипает: Flux пытается
# откатиться, предыдущей ревизии нет и HelmRelease навсегда остаётся False.
strategy: uninstall
values:
global:
enabled: true
tlsDisable: true
# authDelegator включает auth-метод kubernetes (service account -> токен Vault):
# через него External Secrets Operator будет читать секреты без хранения
# пароля/токена Vault в sops.
authDelegator:
enabled: true
# Агент-инжектор не используем — секреты раздаёт ESO.
injector:
enabled: false
csi:
enabled: false
server:
# Один под и один PVC на ZFS-зеркале (rpool через StorageClass
# proxmox-local-zfs) с интегрированным raft-хранилищем — single-node Vault.
standalone:
enabled: true
config: |
ui = true
listener "tcp" {
tls_disable = 1
address = "[::]:8200"
cluster_address = "[::]:8201"
}
storage "raft" {
path = "/vault/data"
}
service_registration "kubernetes" {}
dataStorage:
enabled: true
size: 5Gi
storageClass: proxmox-local-zfs
accessMode: ReadWriteOnce
service:
enabled: true
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 1Gi