Skip to content
Discussion options

You must be logged in to vote

URLs are used as keys for lots of things in Kargo, including the artifacts referenced by a Freight resource. chartFrom(), with the URL passed to it is indeed the right way to get at the information you're looking for, but you don't (shouldn't) need to "hard code" it. The common thing to do would be that you have have the URL in a variable and then the, potentially many places that need to use it use that variable in an expression. Typically, most of a promotion process would be described in reusable fashion using a PromotionTemplate or ClusterPromotionTemplate and the URL would essentially be an argument. So you're on the right track and what might have initially struck you as not very DR…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aaron-lunsford-even
Comment options

Answer selected by aaron-lunsford-even
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants