# flux_source_some-file.yaml
apiVersion: image.toolkit.fluxcd.io/v1
kind: ImageRepository
---



apiVersion: image.toolkit.fluxcd.io/v1
kind: ImagePolicy

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


---

apiVersion: image.toolkit.fluxcd.io/v1/v2
kind: ImagePolicy