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"}