Last active
August 22, 2021 06:39
-
-
Save cari-lynn/9e84b00c8f6a9c9e8cb0b41fcd1daa6f to your computer and use it in GitHub Desktop.
OpenAPI Schema inserted into Package Definition (ytt -f package.yml --data-value-file openapiSchema=openapi.yml)
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
type: object | |
properties: | |
namespace: | |
type: string | |
default: fluent-bit |
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") | |
#@ load("@ytt:yaml", "yaml") | |
--- | |
apiVersion: data.packaging.carvel.dev/v1alpha1 | |
kind: Package | |
metadata: | |
name: fluent-bit.carvel.dev.1.5.3 | |
namespace: my-ns | |
spec: | |
refName: fluent-bit.carvel.dev | |
version: 1.5.3 | |
releaseNotes: "Fixed some bugs" | |
capacityRequirementsDescription: "RAM: 10GB" | |
licenses: | |
- "Apache 2.0" | |
- "MIT" | |
releasedAt: 2021-05-05T18:57:06Z | |
valuesSchema: | |
openAPIv3: #@ yaml.decode(data.values.openapiSchema) | |
template: | |
spec: | |
fetch: | |
- imgpkgBundle: | |
image: registry.tkg.vmware.run/tkg-fluent-bit@sha256:... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment