-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2694 from tyriis/feature/flux-capacitor
feat(capacitor): add flux sync for capacitor manifests
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
kubernetes/talos-flux/apps/flux-system/capacitor/flux-sync.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
kubernetes/talos-flux/flux/repositories/oci/capacitor-manifests.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |