Compare commits

...

6 Commits

7 changed files with 11 additions and 13 deletions

View File

@ -18,7 +18,7 @@ spec:
author: author:
email: ops@bstein.dev email: ops@bstein.dev
name: flux-bot name: flux-bot
messageTemplate: "chore(ci-demo): update image to {{range .Updated.Images}}{{.}}{{end}}" messageTemplate: "chore(ci-demo): apply image updates"
push: push:
branch: feature/ci-gitops branch: feature/ci-gitops
update: update:

View File

@ -12,8 +12,6 @@ spec:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system
namespace: flux-system namespace: flux-system
targetNamespace: ci-demo
dependsOn: dependsOn:
- name: core - name: core
wait: false wait: false

View File

@ -19,7 +19,7 @@ spec:
author: author:
email: ops@bstein.dev email: ops@bstein.dev
name: flux-bot name: flux-bot
messageTemplate: "chore(harbor): update images to {{range .Updated.Images}}{{.}}{{end}}" messageTemplate: "chore(harbor): apply image updates"
push: push:
branch: feature/ci-gitops branch: feature/ci-gitops
update: update:

View File

@ -18,7 +18,7 @@ spec:
author: author:
email: ops@bstein.dev email: ops@bstein.dev
name: flux-bot name: flux-bot
messageTemplate: "chore(pegasus): update image to {{range .Updated.Images}}{{.}}{{end}}" messageTemplate: "chore(pegasus): apply image updates"
push: push:
branch: feature/ci-gitops branch: feature/ci-gitops
update: update:

View File

@ -4478,7 +4478,7 @@ spec:
- args: - args:
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.cluster.local./ - --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.cluster.local./
- --watch-all-namespaces=true - --watch-all-namespaces=true
- --log-level=debug - --log-level=info
- --log-encoding=json - --log-encoding=json
- --enable-leader-election - --enable-leader-election
- --storage-path=/data - --storage-path=/data
@ -5965,7 +5965,7 @@ spec:
- args: - args:
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.cluster.local./ - --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.cluster.local./
- --watch-all-namespaces=true - --watch-all-namespaces=true
- --log-level=debug - --log-level=info
- --log-encoding=json - --log-encoding=json
- --enable-leader-election - --enable-leader-election
env: env:
@ -12379,7 +12379,7 @@ spec:
- args: - args:
- --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.cluster.local./ - --events-addr=http://notification-controller.$(RUNTIME_NAMESPACE).svc.cluster.local./
- --watch-all-namespaces=true - --watch-all-namespaces=true
- --log-level=debug - --log-level=info
- --log-encoding=json - --log-encoding=json
- --enable-leader-election - --enable-leader-election
env: env:

View File

@ -1,18 +1,18 @@
# services/ci-demo/image.yaml # services/ci-demo/image.yaml
apiVersion: image.toolkit.fluxcd.io/v1beta2 apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageRepository kind: ImageRepository
metadata: metadata:
name: ci-demo name: ci-demo
namespace: ci-demo namespace: flux-system
spec: spec:
image: registry.bstein.dev/infra/ci-demo image: registry.bstein.dev/infra/ci-demo
interval: 1m0s interval: 1m0s
--- ---
apiVersion: image.toolkit.fluxcd.io/v1beta2 apiVersion: image.toolkit.fluxcd.io/v1
kind: ImagePolicy kind: ImagePolicy
metadata: metadata:
name: ci-demo name: ci-demo
namespace: ci-demo namespace: flux-system
spec: spec:
imageRepositoryRef: imageRepositoryRef:
name: ci-demo name: ci-demo

View File

@ -8,4 +8,4 @@ resources:
- service.yaml - service.yaml
images: images:
- name: registry.bstein.dev/infra/ci-demo - name: registry.bstein.dev/infra/ci-demo
newTag: v0.0.0-2 # {"$imagepolicy": "ci-demo:ci-demo:tag"} newTag: registry.bstein.dev/infra/ci-demo:v0.0.0-3 # {"$imagepolicy": "flux-system:ci-demo"}