Skip to content

Instantly share code, notes, and snippets.

@Anthonyhawkins
Created June 8, 2021 17:25
Show Gist options
  • Save Anthonyhawkins/38b0aeec25d242f3e6cb77ddba09e5ff to your computer and use it in GitHub Desktop.
Save Anthonyhawkins/38b0aeec25d242f3e6cb77ddba09e5ff to your computer and use it in GitHub Desktop.
#@ load("@ytt:struct", "struct")
#@ tiles = struct.decode(data.values.tiles)
#@ for tile in tiles:
- name: #@ "product-" + tile
type: pivnet
source:
api_token: pivnet_token
product_slug: image-slug
product_version: #@ tiles[tile]['ver']
#@ end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment