docs: add skipSchemaValidation to index.md and update related structs

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2025-02-14 21:30:07 +08:00
parent e33b4725ea
commit 78bbc6a584
5 changed files with 9 additions and 5 deletions

View File

@ -193,6 +193,8 @@ helmDefaults:
# verify the chart before upgrading (only works with packaged charts not directories) (default false) # verify the chart before upgrading (only works with packaged charts not directories) (default false)
verify: true verify: true
keyring: path/to/keyring.gpg keyring: path/to/keyring.gpg
# --skip-schema-validation flag to helm 'install', 'upgrade' and 'lint', starts with helm 3.16.0 (default false)
skipSchemaValidation: false
# wait for k8s resources via --wait. (default false) # wait for k8s resources via --wait. (default false)
wait: true wait: true
# if set and --wait enabled, will retry any failed check on resource state subject to the specified number of retries (default 0) # if set and --wait enabled, will retry any failed check on resource state subject to the specified number of retries (default 0)
@ -313,6 +315,8 @@ releases:
# Override helmDefaults options for verify, wait, waitForJobs, timeout, recreatePods and force. # Override helmDefaults options for verify, wait, waitForJobs, timeout, recreatePods and force.
verify: true verify: true
keyring: path/to/keyring.gpg keyring: path/to/keyring.gpg
# --skip-schema-validation flag to helm 'install', 'upgrade' and 'lint', starts with helm 3.16.0 (default false)
skipSchemaValidation: false
wait: true wait: true
waitRetries: 3 waitRetries: 3
waitForJobs: true waitForJobs: true

View File

@ -54,7 +54,7 @@ type ApplyOptions struct {
WaitRetries int WaitRetries int
// WaitForJobs is true if the helm command should wait for the jobs to be completed // WaitForJobs is true if the helm command should wait for the jobs to be completed
WaitForJobs bool WaitForJobs bool
// Propagate '--skipSchemaValidation' to helmv3 template and helm install // Propagate '--skip-schema-validation' to helmv3 template and helm install
SkipSchemaValidation bool SkipSchemaValidation bool
// ReuseValues is true if the helm command should reuse the values // ReuseValues is true if the helm command should reuse the values
ReuseValues bool ReuseValues bool

View File

@ -32,7 +32,7 @@ type SyncOptions struct {
PostRenderer string PostRenderer string
// Propagate '--post-renderer-args' to helmv3 template and helm install // Propagate '--post-renderer-args' to helmv3 template and helm install
PostRendererArgs []string PostRendererArgs []string
// Propagate '--skipSchemaValidation' to helmv3 template and helm install // Propagate '--skip-schema-validation' to helmv3 template and helm install
SkipSchemaValidation bool SkipSchemaValidation bool
// Cascade '--cascade' to helmv3 delete, available values: background, foreground, or orphan, default: background // Cascade '--cascade' to helmv3 delete, available values: background, foreground, or orphan, default: background
Cascade string Cascade string

View File

@ -38,7 +38,7 @@ type TemplateOptions struct {
PostRenderer string PostRenderer string
// Propagate '--post-renderer-args' to helmv3 template and helm install // Propagate '--post-renderer-args' to helmv3 template and helm install
PostRendererArgs []string PostRendererArgs []string
// Propagate '--skipSchemaValidation' to helmv3 template and helm install // Propagate '--skip-schema-validation' to helmv3 template and helm install
SkipSchemaValidation bool SkipSchemaValidation bool
// KubeVersion is the kube-version flag // KubeVersion is the kube-version flag
KubeVersion string KubeVersion string

View File

@ -161,7 +161,7 @@ type HelmSpec struct {
Keyring string `yaml:"keyring,omitempty"` Keyring string `yaml:"keyring,omitempty"`
// EnableDNS, when set to true, enable DNS lookups when rendering templates // EnableDNS, when set to true, enable DNS lookups when rendering templates
EnableDNS bool `yaml:"enableDNS"` EnableDNS bool `yaml:"enableDNS"`
// Propagate '--skipSchemaValidation' to helmv3 template and helm install // Propagate '--skip-schema-validation' to helmv3 template and helm install
SkipSchemaValidation *bool `yaml:"skipSchemaValidation,omitempty"` SkipSchemaValidation *bool `yaml:"skipSchemaValidation,omitempty"`
// Devel, when set to true, use development versions, too. Equivalent to version '>0.0.0-0' // Devel, when set to true, use development versions, too. Equivalent to version '>0.0.0-0'
Devel bool `yaml:"devel"` Devel bool `yaml:"devel"`
@ -390,7 +390,7 @@ type ReleaseSpec struct {
// Propagate '--post-renderer' to helmv3 template and helm install // Propagate '--post-renderer' to helmv3 template and helm install
PostRenderer *string `yaml:"postRenderer,omitempty"` PostRenderer *string `yaml:"postRenderer,omitempty"`
// Propagate '--skipSchemaValidation' to helmv3 template and helm install // Propagate '--skip-schema-validation' to helmv3 template and helm install
SkipSchemaValidation *bool `yaml:"skipSchemaValidation,omitempty"` SkipSchemaValidation *bool `yaml:"skipSchemaValidation,omitempty"`
// Propagate '--post-renderer-args' to helmv3 template and helm install // Propagate '--post-renderer-args' to helmv3 template and helm install