This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create OpenAPIV3 schema for kapp-controller package and generate pack…
…age with the schema (#2819) * Create OpenAPIV3 schema for kapp-controller package and generate package with the schema * Fix bug in package-overlay.yaml * Add checks to scripts to error out when ytt manifests not generated successfully Signed-off-by: Shivaani Gupta <gshivaani@vmware.com>
- Loading branch information
1 parent
cc7eb24
commit 351cdb7
Showing
5 changed files
with
169 additions
and
18 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
addons/packages/kapp-controller/0.30.0/bundle/config/schema.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#! schema.yaml | ||
|
||
#@data/values-schema | ||
#@schema/desc "OpenAPIv3 Schema for kapp-controller" | ||
--- | ||
#@schema/desc "The namespace in which to deploy kapp-controller" | ||
namespace: kapp-controller | ||
#@schema/desc "Configuration for kapp-controller" | ||
kappController: | ||
#@schema/desc "The namespace value used by older templates, will overwrite with top level namespace if present, for backward compatibility" | ||
#@schema/nullable | ||
namespace: kapp-controller | ||
#@schema/desc "Whether to create namespace specified for kapp-controller" | ||
createNamespace: true | ||
#@schema/desc "The namespace value used for global packaging resources. Any Package and PackageMetadata CRs within that namespace will be included in all other namespaces on the cluster, without duplicating them" | ||
globalNamespace: tanzu-package-repo-global | ||
deployment: | ||
#@schema/desc "The coreDNSIP will be injected into /etc/resolv.conf of kapp-controller pod" | ||
#@schema/nullable | ||
coreDNSIP: "" | ||
#@schema/desc "Host network of kapp-controller deployment" | ||
#@schema/nullable | ||
hostNetwork: "" | ||
#@schema/desc "The priority value that various system components use to find the priority of the kapp-controller pod" | ||
#@schema/nullable | ||
priorityClassName: "" | ||
#@schema/desc "Concurrency of kapp-controller deployment" | ||
concurrency: 4 | ||
#@schema/desc "kapp-controller deployment tolerations" | ||
tolerations: ["toleration1"] | ||
#@schema/desc "Bind port for kapp-controller API" | ||
apiPort: 10350 | ||
#@schema/desc "Address for metrics server" | ||
metricsBindAddress: ":8080" | ||
config: | ||
#@schema/desc "A cert chain of trusted CA certs. These will be added to the system-wide cert pool of trusted CA's" | ||
caCerts: "" | ||
#@schema/desc "The url/ip of a proxy for kapp controller to use when making network requests" | ||
httpProxy: "" | ||
#@schema/desc "The url/ip of a TLS capable proxy for kapp-controller to use when making network requests" | ||
httpsProxy: "" | ||
#@schema/desc "A comma delimited list of domain names which kapp-controller should bypass the proxy for when making requests" | ||
noProxy: "" | ||
#@schema/desc "A comma delimited list of hostnames for which kapp-controller should skip TLS verification" | ||
dangerousSkipTLSVerify: "" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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