2023-09-29 17:04:09 +00:00
|
|
|
#@ load("@ytt:data", "data") # for reading data values (generated via ytt's data-values-schema-inspect mode).
|
|
|
|
#@ load("@ytt:yaml", "yaml") # for dynamically decoding the output of ytt's data-values-schema-inspect
|
|
|
|
---
|
|
|
|
apiVersion: data.packaging.carvel.dev/v1alpha1
|
|
|
|
kind: Package
|
|
|
|
metadata:
|
|
|
|
name: #@ "supervisor.pinniped.dev." + data.values.version
|
|
|
|
spec:
|
|
|
|
refName: supervisor.pinniped.dev
|
|
|
|
version: #@ data.values.version
|
|
|
|
releaseNotes: |
|
|
|
|
Initial release of the pinniped supervisor package, TODO: AUTOMATE THIS??
|
|
|
|
valuesSchema:
|
|
|
|
openAPIv3: #@ yaml.decode(data.values.openapi)["components"]["schemas"]["dataValues"]
|
|
|
|
template:
|
|
|
|
spec:
|
|
|
|
fetch:
|
|
|
|
- imgpkgBundle:
|
2023-10-02 19:28:01 +00:00
|
|
|
image: #@ data.values.repo_host + ":" + data.values.version
|
2023-09-29 17:04:09 +00:00
|
|
|
template:
|
|
|
|
- ytt:
|
|
|
|
paths:
|
|
|
|
- "config/"
|
|
|
|
- kbld:
|
|
|
|
paths:
|
|
|
|
- ".imgpkg/images.yml"
|
|
|
|
- "-"
|
|
|
|
deploy:
|
|
|
|
- kapp: {}
|