Last active
October 22, 2021 12:47
-
-
Save voor/0439c6d4c504959a9f0cafc08e749044 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:data", "data") | |
apiVersion: data.packaging.carvel.dev/v1alpha1 | |
kind: Package | |
metadata: | |
name: #@ "flux-source-controller.create.army.mil.{}".format(data.values.bundle.tag) | |
namespace: flux-source-controller | |
spec: | |
refName: flux-source-controller.create.army.mil | |
#@ tag = "{}".format(data.values.bundle.tag) | |
version: #@ tag.lstrip("vV ") | |
releaseNotes: "relevant release notes..." | |
licenses: | |
- "Apache License 2.0" | |
template: | |
spec: | |
fetch: | |
- imgpkgBundle: | |
image: #@ data.values.bundle.image | |
template: | |
- ytt: | |
paths: | |
- config/ | |
- kbld: | |
paths: | |
- "-" | |
- .imgpkg/images.yml | |
deploy: | |
- kapp: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@data/values | |
--- | |
apiVersion: imgpkg.carvel.dev/v1alpha1 | |
bundle: | |
image: harbor.example.com/imgpkg/charts/flux-source-controller@sha256:47bfd1101930c5cf30e2f3df5166b05669eae7c013029417155d61d8cb601d70 | |
tag: v0.15.4 | |
kind: BundleLock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment