apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: infra-gitops namespace: infra-gitops spec: interval: 30m timeout: 15m retryInterval: 1m sourceRef: kind: GitRepository name: flux path: ./flux/infrastructure/infra-gitops prune: true wait: true dependsOn: - name: infra-data-post - name: infra-monitor --- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: infra-gitops-post namespace: infra-gitops spec: interval: 30m timeout: 15m retryInterval: 1m suspend: true sourceRef: kind: GitRepository name: flux path: ./flux/infrastructure/infra-gitops/post prune: true wait: true dependsOn: - name: infra-gitops - name: infra-net postBuild: substituteFrom: - kind: Secret name: flux-env