From f1ffa9c343ddb5220c13db1cf911599b32a05275 Mon Sep 17 00:00:00 2001 From: Victor Roest Date: Sun, 31 Oct 2021 12:46:21 +0100 Subject: [PATCH] make ImageUpdateAutomation namespace specific --- cluster/apps/presidential-paradise/zookeeper/deployment.yaml | 2 +- cluster/base/flux-system/image-update-automation.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster/apps/presidential-paradise/zookeeper/deployment.yaml b/cluster/apps/presidential-paradise/zookeeper/deployment.yaml index c301bb9..3dff301 100644 --- a/cluster/apps/presidential-paradise/zookeeper/deployment.yaml +++ b/cluster/apps/presidential-paradise/zookeeper/deployment.yaml @@ -23,7 +23,7 @@ spec: spec: containers: - name: zookeeper - image: registry.xirion.net/library/zookeeper:0.2.0 # {"$imagepolicy": "presidential-paradise:zookeeper"} + image: registry.xirion.net/library/zookeeper:0.2.0 # {"$imagepolicy": "presidential-paradise:zookeeper"} ports: - name: web containerPort: 8085 diff --git a/cluster/base/flux-system/image-update-automation.yaml b/cluster/base/flux-system/image-update-automation.yaml index 2c8d235..0802cf7 100644 --- a/cluster/base/flux-system/image-update-automation.yaml +++ b/cluster/base/flux-system/image-update-automation.yaml @@ -2,7 +2,7 @@ apiVersion: image.toolkit.fluxcd.io/v1beta1 kind: ImageUpdateAutomation metadata: name: flux-system - namespace: flux-system + namespace: presidential-paradise spec: interval: 1m0s sourceRef: @@ -20,5 +20,5 @@ spec: push: branch: main update: - path: ./cluster/ + path: ./cluster/apps/presidential-paradise strategy: Setters