fluxcd-flux2/cmd/flux/testdata/migrate/file-system/dir/some-file.yaml
Matheus Pimenta 7c5fb2297c
Fix flux migrate -f not considering kind comments
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2025-10-04 14:26:54 +01:00

22 lines
378 B
YAML

apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageRepository
---
apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImagePolicy
---
spec:
wait: true
dependsOn:
- apiVersion: image.toolkit.fluxcd.io/v1beta1 # update this from v1beta1
kind: ImageRepository # there can be comments here too
---
apiVersion: image.toolkit.fluxcd.io/v1/v2
kind: ImagePolicy