Compare commits
6 Commits
ba12854639
...
72991db7c3
| Author | SHA1 | Date | |
|---|---|---|---|
| 72991db7c3 | |||
| 8ffdf9a014 | |||
|
|
34e37f0b97 | ||
| a76044f85c | |||
| adfe833d60 | |||
| bfb6b4135e |
@ -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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user