From bfb6b4135e731f6c47f295238d3ffddf6db1927a Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Thu, 18 Dec 2025 01:09:10 -0300 Subject: [PATCH] ci-demo: move image policy to flux-system --- .../flux-system/applications/ci-demo/kustomization.yaml | 2 -- services/ci-demo/image.yaml | 8 ++++---- services/ci-demo/kustomization.yaml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml b/clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml index eb6903f..09f598d 100644 --- a/clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml +++ b/clusters/atlas/flux-system/applications/ci-demo/kustomization.yaml @@ -12,8 +12,6 @@ spec: kind: GitRepository name: flux-system namespace: flux-system - targetNamespace: ci-demo dependsOn: - name: core wait: false - diff --git a/services/ci-demo/image.yaml b/services/ci-demo/image.yaml index 60f2f42..333fa0a 100644 --- a/services/ci-demo/image.yaml +++ b/services/ci-demo/image.yaml @@ -1,18 +1,18 @@ # services/ci-demo/image.yaml -apiVersion: image.toolkit.fluxcd.io/v1beta2 +apiVersion: image.toolkit.fluxcd.io/v1 kind: ImageRepository metadata: name: ci-demo - namespace: ci-demo + namespace: flux-system spec: image: registry.bstein.dev/infra/ci-demo interval: 1m0s --- -apiVersion: image.toolkit.fluxcd.io/v1beta2 +apiVersion: image.toolkit.fluxcd.io/v1 kind: ImagePolicy metadata: name: ci-demo - namespace: ci-demo + namespace: flux-system spec: imageRepositoryRef: name: ci-demo diff --git a/services/ci-demo/kustomization.yaml b/services/ci-demo/kustomization.yaml index 9280678..2a2f588 100644 --- a/services/ci-demo/kustomization.yaml +++ b/services/ci-demo/kustomization.yaml @@ -8,4 +8,4 @@ resources: - service.yaml images: - name: registry.bstein.dev/infra/ci-demo - newTag: v0.0.0-2 # {"$imagepolicy": "ci-demo:ci-demo:tag"} + newTag: v0.0.0-2 # {"$imagepolicy": "flux-system:ci-demo"}