weave gitops

This commit is contained in:
Michael Thomson
2023-11-27 11:50:25 -05:00
parent 038f173233
commit a740aa62a3
4 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: weave-gitops
namespace: flux-system
spec:
interval: 1h0m0s
type: oci
url: oci://ghcr.io/weaveworks/charts

View File

@@ -0,0 +1,18 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: weave-gitops
namespace: flux-system
spec:
interval: 15m
path: ./weave-gitops
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: weave-gitops
namespace: weave-gitops

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: weave-gitops