Skip to content

Commit

Permalink
Merge pull request #2694 from tyriis/feature/flux-capacitor
Browse files Browse the repository at this point in the history
feat(capacitor): add flux sync for capacitor manifests
  • Loading branch information
tyriis authored Mar 15, 2024
2 parents c8d07bd + b32828c commit 09e2a69
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
18 changes: 18 additions & 0 deletions kubernetes/talos-flux/apps/flux-system/capacitor/flux-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: capacitor
namespace: flux-system
spec:
targetNamespace: flux-system
interval: 1h
retryInterval: 2m
timeout: 5m
wait: true
prune: true
path: ./
sourceRef:
kind: OCIRepository
name: capacitor-manifests
1 change: 1 addition & 0 deletions kubernetes/talos-flux/apps/flux-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ resources:
# - ./namespace.yaml namespace is part of gotk manifests and will switch reconcile
- ./gotk/flux-sync.yaml
- ./gimlet/flux-sync.yaml
- ./capacitor/flux-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/ocirepository-source-v1beta2.json
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: capacitor-manifests
namespace: flux-system
spec:
interval: 12h
url: oci://ghcr.io/gimlet-io/capacitor-manifests
ref:
tag: v0.3.2
digest: sha256:5839d05c70f18743256c29af42c8ad3cd7525035d3093a1ebe2365e80bb2fcf3

0 comments on commit 09e2a69

Please sign in to comment.