Browse Source

make ImageUpdateAutomation namespace specific

main
Victor Roest 1 year ago
parent
commit
f1ffa9c343
Signed by: 0x76 GPG Key ID: A3923C699D1A3BDA
  1. 2
      cluster/apps/presidential-paradise/zookeeper/deployment.yaml
  2. 4
      cluster/base/flux-system/image-update-automation.yaml

2
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

4
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