From aff70985655d435ea98818fb43a60aa142d3dcfc Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 16 Nov 2024 13:11:27 -0500 Subject: [PATCH] Add auto update --- .../static-site-hosts/documentation-site-policy.yaml | 11 +++++++++++ .../documentation-site-registry.yaml | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 cluster/static-site-hosts/documentation-site-policy.yaml create mode 100644 cluster/static-site-hosts/documentation-site-registry.yaml diff --git a/cluster/static-site-hosts/documentation-site-policy.yaml b/cluster/static-site-hosts/documentation-site-policy.yaml new file mode 100644 index 0000000..32f0bfc --- /dev/null +++ b/cluster/static-site-hosts/documentation-site-policy.yaml @@ -0,0 +1,11 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta2 +kind: ImagePolicy +metadata: + name: gluttony-cluster-documentation + namespace: flux-system +spec: + imageRepositoryRef: + name: gluttony-cluster-documentation + policy: + semver: + range: 0.0.x diff --git a/cluster/static-site-hosts/documentation-site-registry.yaml b/cluster/static-site-hosts/documentation-site-registry.yaml new file mode 100644 index 0000000..ae9e013 --- /dev/null +++ b/cluster/static-site-hosts/documentation-site-registry.yaml @@ -0,0 +1,8 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta2 +kind: ImageRepository +metadata: + name: gluttony-cluster-documentation + namespace: flux-system +spec: + image: git.clortox.com/infrastructure/gluttony-cluster/documentation + interval: 5m0s