Files
home-ops/kubernetes/apps/security/external-secrets/ks.yaml
T
hermes 7b9de279d3
Flate / Flate (pull_request) Canceled after 3s
Flate / Flate - Success (pull_request) Canceled after 0s
Flate / Flate - Filter (pull_request) Successful in 5s
chore(security): dependsOn адресует Flux-Kustomization в своём ns
2026-09-17 20:58:53 +00:00

29 lines
1.2 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: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: external-secrets
spec:
interval: 1h
path: ./kubernetes/apps/security/external-secrets/app
prune: true
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
targetNamespace: security
wait: true
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
name: external-secrets
namespace: security
# Оператор ходит в Vault через kubernetes-auth, поэтому ждём готовности Vault.
# dependsOn адресует Flux-Kustomization, а не приложение: поле namespace необязательно
# и по умолчанию равно ns САМОГО объекта-зависимости (CRD kustomize.toolkit.fluxcd.io),
# а не ns, куда тот раскладывает ресурсы. Пример: ewatkins/apps/default/netbox зависит от
# dragonfly и crunchy-postgres-*, и все три объекта объявлены в flux-system, при том что
# ресурсы уезжают в default/database.
dependsOn:
- name: vault