Flux self-managed bootstrap files copied from ugok (controller images already mirrored to cr.yandex), GitRepository/Kustomization pointed at gitlab.sarex.io directly since the cluster has outbound internet access. Starts with just flux-system + helm-repositories, infra/apps to be added incrementally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
26 lines
490 B
YAML
26 lines
490 B
YAML
apiVersion: source.toolkit.fluxcd.io/v1
|
|
kind: GitRepository
|
|
metadata:
|
|
name: flux-system
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 1m0s
|
|
ref:
|
|
branch: master
|
|
url: https://gitlab.sarex.io/infra/iac.git
|
|
secretRef:
|
|
name: flux-system
|
|
---
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
kind: Kustomization
|
|
metadata:
|
|
name: flux-system
|
|
namespace: flux-system
|
|
spec:
|
|
interval: 10m0s
|
|
path: ./clusters/asterus
|
|
prune: true
|
|
sourceRef:
|
|
kind: GitRepository
|
|
name: flux-system
|