add cluster configs
This commit is contained in:
@@ -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=<gitlab-group-or-user> \
|
||||||
|
# --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
|
||||||
Reference in New Issue
Block a user