diff --git a/clusters/hexm-0002/apps.yaml b/clusters/hexm-0002/apps.yaml new file mode 100644 index 0000000..c592a1c --- /dev/null +++ b/clusters/hexm-0002/apps.yaml @@ -0,0 +1,27 @@ +# Flux CD Kustomization for hexm-0001 +# Flux reads this file after bootstrap and reconciles the epcare app overlay. +# +# Bootstrap this cluster (run once per cluster): +# flux bootstrap gitlab \ +# --owner= \ +# --repository=epcare-k8s-files \ +# --branch=main \ +# --path=clusters/hexm-0001 \ +# --token-auth +# +# After bootstrap, Flux will automatically sync any Kustomization resources +# found under clusters/hexm-0001/ — including this file. +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: epcare + namespace: flux-system +spec: + interval: 10m + path: ./apps/overlays/hexm-0002 + prune: true + sourceRef: + kind: GitRepository + name: flux-system # Created automatically by flux bootstrap + wait: true + timeout: 5m