++ sarex-contour: vault под управление flux

vault уже стоял в кластере (helm CLI, chart 0.1.0, standalone/raft,
инициализирован, данных нет). Overlay infrastructure/vault/sarex-contour:
values как у прочих свежих контуров (regcred, backup off, standalone),
namespace istio-injection: disabled. helm-controller перенимает релиз
`vault` и апгрейдит до 0.2.3 (base). StatefulSet updateStrategy: OnDelete —
под не дёргается автоматически.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
ivan 2026-09-10 18:15:57 +05:00
parent 5d5fde4374
commit b4f3fc6851
4 changed files with 40 additions and 0 deletions

View File

@ -8,3 +8,4 @@ resources:
- ../../infrastructure/istio-base/sarex-contour - ../../infrastructure/istio-base/sarex-contour
- ../../infrastructure/istio-pilot/sarex-contour - ../../infrastructure/istio-pilot/sarex-contour
- ../../infrastructure/istio-gateway/sarex-contour - ../../infrastructure/istio-gateway/sarex-contour
- ../../infrastructure/vault/sarex-contour

View File

@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
patches:
- path: vault-namespace.yaml
- path: vault.yaml

View File

@ -0,0 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: vault
labels:
# vault не должен получать istio-sidecar (перехват трафика ломает unseal/API);
# base ставит istio-injection: enabled — здесь перекрываем.
istio-injection: disabled

View File

@ -0,0 +1,24 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: vault
namespace: vault
spec:
interval: 5m
timeout: 10m
values:
imagePullSecrets:
- name: regcred
backup:
enabled: false
server:
standalone:
enabled: true
ha:
enabled: false
dataStorage:
enabled: true
size: 10Gi
ui:
enabled: true
serviceType: ClusterIP