Skip to content

Commit

Permalink
Update samples to v1alpha2 API
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <[email protected]>
  • Loading branch information
hiddeco committed Apr 21, 2021
1 parent c458e8c commit 1e86ac9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
10 changes: 0 additions & 10 deletions config/samples/image_v1alpha1_imagepolicy.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions config/samples/image_v1alpha1_imagerepository.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions config/samples/image_v1alpha2_imagepolicy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: image.toolkit.fluxcd.io/v1alpha2
kind: ImagePolicy
metadata:
name: podinfo
namespace: flux-system
spec:
imageRepositoryRef:
name: podinfo
policy:
semver:
range: 5.0.x
8 changes: 8 additions & 0 deletions config/samples/image_v1alpha2_imagerepository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: image.toolkit.fluxcd.io/v1alpha2
kind: ImageRepository
metadata:
name: podinfo
namespace: flux-system
spec:
image: ghcr.io/stefanprodan/podinfo
interval: 1m0s

0 comments on commit 1e86ac9

Please sign in to comment.