Skip to content
Discussion options

You must be logged in to vote

Just had to tweak my schema a little so Kargo is updating a field in the anchored yaml

values:
  dev: &dev
    value: 1.2.0
  prof: &prod
    value: 1.1.2
tenants:
  - name: tenant1
     values: *dev
  - name: tenant2
     values: *prod

Which essentially results in this

tenants:
  - name: tenant1
     values:
       value: 1.2.0
  - name: tenant2
     values:
       value: 1.1.2

Then Kargo uses the yaml-update step to set values.dev.value and values.prod.value in different stages :)

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@david-curran-90
Comment options

Comment options

You must be logged in to vote
1 reply
@david-curran-90
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@david-curran-90
Comment options

Answer selected by david-curran-90
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