mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-18 17:55:44 +00:00
Update image-reflector API to v1beta2
Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
parent
4a871cdf10
commit
9dd98fb2b2
29 changed files with 53 additions and 50 deletions
2
cmd/flux/testdata/export/image-policy.yaml
vendored
2
cmd/flux/testdata/export/image-policy.yaml
vendored
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta1
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImagePolicy
|
||||
metadata:
|
||||
name: flux-system
|
||||
|
|
|
|||
5
cmd/flux/testdata/export/image-repo.yaml
vendored
5
cmd/flux/testdata/export/image-repo.yaml
vendored
|
|
@ -1,10 +1,13 @@
|
|||
---
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta1
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImageRepository
|
||||
metadata:
|
||||
name: flux-system
|
||||
namespace: {{ .fluxns }}
|
||||
spec:
|
||||
exclusionList:
|
||||
- ^.*\.sig$
|
||||
image: ghcr.io/test/podinfo
|
||||
interval: 1m0s
|
||||
provider: generic
|
||||
|
||||
|
|
|
|||
4
cmd/flux/testdata/export/objects.yaml
vendored
4
cmd/flux/testdata/export/objects.yaml
vendored
|
|
@ -30,7 +30,7 @@ spec:
|
|||
- kind: "Kustomization"
|
||||
name: "*"
|
||||
---
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta1
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImageRepository
|
||||
metadata:
|
||||
name: flux-system
|
||||
|
|
@ -39,7 +39,7 @@ spec:
|
|||
image: ghcr.io/test/podinfo
|
||||
interval: 1m0s
|
||||
---
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta1
|
||||
apiVersion: image.toolkit.fluxcd.io/v1beta2
|
||||
kind: ImagePolicy
|
||||
metadata:
|
||||
name: flux-system
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue