++ 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:
parent
5d5fde4374
commit
b4f3fc6851
@ -8,3 +8,4 @@ resources:
|
||||
- ../../infrastructure/istio-base/sarex-contour
|
||||
- ../../infrastructure/istio-pilot/sarex-contour
|
||||
- ../../infrastructure/istio-gateway/sarex-contour
|
||||
- ../../infrastructure/vault/sarex-contour
|
||||
|
||||
7
infrastructure/vault/sarex-contour/kustomization.yaml
Normal file
7
infrastructure/vault/sarex-contour/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: vault-namespace.yaml
|
||||
- path: vault.yaml
|
||||
8
infrastructure/vault/sarex-contour/vault-namespace.yaml
Normal file
8
infrastructure/vault/sarex-contour/vault-namespace.yaml
Normal 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
|
||||
24
infrastructure/vault/sarex-contour/vault.yaml
Normal file
24
infrastructure/vault/sarex-contour/vault.yaml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user