Add tests for source oci command

Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
Somtochi Onyekwere 2022-06-30 12:07:29 +01:00 committed by Stefan Prodan
parent 30e5389d02
commit adc7981f22
No known key found for this signature in database
GPG key ID: 3299AEB0E4085BAF
12 changed files with 195 additions and 0 deletions

12
cmd/flux/testdata/oci/export.golden vendored Normal file
View file

@ -0,0 +1,12 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
name: podinfo
namespace: flux-system
spec:
interval: 10m0s
ref:
tag: 6.1.6
url: ghcr.io/stefanprodan/manifests/podinfo