Hi community,
I want to backup my ImageStreams in my OpenShift projects, so I set up a policy in Kasten like the following link:
https://docs.kasten.io/latest/usage/openshift_imagestreams.html
But, I have the next error when I tried to run a policy with the “Location Profile for Container Images” enable with my Export Repo
- cause:
cause:
cause:
cause:
message: creds are missing for an image repository
fields:
- name: repo
value: ""
- name: sa
value: builder
file: kasten.io/k10/kio/exec/internal/images/imagestream/image_stream.go:101
function: kasten.io/k10/kio/exec/internal/images/imagestream.getImageSourceCreds
linenumber: 101
message: creds are missing for an image repository
file: kasten.io/k10/kio/exec/internal/images/imagestream/image_stream.go:344
function: kasten.io/k10/kio/exec/internal/images/imagestream.GetExportImagesForImageStream
linenumber: 344
message: failed to parse an imagestream
file: kasten.io/k10/kio/exec/phases/backup/snapshot_images_phase.go:135
function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotImagesPhase).Run
linenumber: 135
message: Failed fetching images for export from image streams
message: Job failed to be executed
I configured the secret with the credential to my external registry but I can’t find where configure it. I reviewed the complete CR of policy but I don’t find it.
https://docs.kasten.io/latest/api/policies.html#policy-api-type
My goal is backup my ImageStreams from external registry.
Is there any configuration I need to do beforehand?
Thanks
Regards,