You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am progressing in POC'ing Kargo to use for promoting our applications between dev/int/prd. Now I am investigating/prototyping the use of verifications.
My use cases:
(Scope of this discussion) Initiate / Review image scan results for new images in a Warehouse
(Scope of this discussion) Initiate replication of images (we run multiple ECRs and I plan on having an API to move images between them. dont ask me why we are doing this!).
(out-of-scope for discussion) - Validate the health of the application (pods healthy, prometheus queries) ....this is for a later discussion.
For the image scanning, my current project has 8 image sources in my warehouse
Then I am looking to call the verification from the Stage. I noticed that the args are not under the individual referenced analysisTemplates.
Questions):
I am trying to understand how the Analysis can be kicked off and loop through all the images from the warehouse. if all pass the validation, then the validation passes.
What is the best approach to loop thru the images from the warehouse?
Is this a valid use of AnalysisTemplates?
apiVersion: kargo.akuity.io/v1alpha1kind: Stagemetadata:
name: crossplane-chartlabels:
environment: developmentannotations:
kargo.akuity.io/color: greennamespace: kargo-crossplane-compositions-imagesspec:
requestedFreight:
- origin:
kind: Warehousename: imagessources:
direct: truepromotionTemplate:
spec:
steps:
- task:
name: promote-images-to-chart# I would like the below to be dynamic by iterating thru .images from the Freight# Just to validate the integration, i hard coded the repo name and pulled the tag from the Freightverification:
analysisTemplates:
- name: bliss-image-scanargs:
- name: repovalue: crossplane-contrib/function-environment-configs
- name: tagvalue: ${{ imageFrom("xpkg.upbound.io/crossplane-contrib/function-environment-configs").Tag }}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am progressing in POC'ing Kargo to use for promoting our applications between dev/int/prd. Now I am investigating/prototyping the use of verifications.
My use cases:
For the image scanning, my current project has 8 image sources in my warehouse
I also created a sample
AnalysisTemplate
Sample Payload of calling the above api
Then I am looking to call the verification from the Stage. I noticed that the args are not under the individual referenced analysisTemplates.
Questions):
Referenced issues/documentation:
Beta Was this translation helpful? Give feedback.
All reactions