Last active
August 22, 2021 06:38
-
-
Save cari-lynn/06bf14051f9a6dc2ad81e05d32830c7a to your computer and use it in GitHub Desktop.
Full OpenAPI Schema inserted into Package Definition (ytt -f package.yml --data-values-file 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
openapi: 3.0.0 # Version of the openapi spec | |
info: | |
version: 1.0.0 # Version of this document | |
title: Openapi schema generated from ytt schema | |
components: | |
schemas: | |
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") | |
--- | |
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: #@ data.values.components.schemas | |
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