From ce1485c8c12a84eff92fb3dda98c8f511e4e5151 Mon Sep 17 00:00:00 2001 From: Rory Shively Date: Wed, 20 Feb 2019 17:29:57 -0600 Subject: [PATCH] generated new schema files to include UseHelmSecrets --- docs/content/en/schemas/v1beta5.json | 5 +++++ pkg/skaffold/schema/latest/config.go | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/content/en/schemas/v1beta5.json b/docs/content/en/schemas/v1beta5.json index a3b8d2fce8c..0e0a453a5bc 100755 --- a/docs/content/en/schemas/v1beta5.json +++ b/docs/content/en/schemas/v1beta5.json @@ -615,6 +615,11 @@ "description": "should build dependencies be skipped.", "default": "false" }, + "useHelmSecrets": { + "type": "boolean", + "description": "instructs skaffold to use secrets plugin on deployment", + "default": "false" + }, "overrides": { "additionalProperties": {}, "type": "object", diff --git a/pkg/skaffold/schema/latest/config.go b/pkg/skaffold/schema/latest/config.go index ef36193d6cf..b1d35127fa7 100644 --- a/pkg/skaffold/schema/latest/config.go +++ b/pkg/skaffold/schema/latest/config.go @@ -395,6 +395,9 @@ type HelmRelease struct { // SkipBuildDependencies should build dependencies be skipped. SkipBuildDependencies bool `yaml:"skipBuildDependencies,omitempty"` + // UseHelmSecrets instructs skaffold to use secrets plugin on deployment + UseHelmSecrets bool `yaml:"useHelmSecrets,omitempty"` + // Overrides are key-value pairs. // If present, Skaffold will build a Helm `values` file that overrides // the original and use it to call Helm CLI (`--f` flag). @@ -405,9 +408,6 @@ type HelmRelease struct { // ImageStrategy adds image configurations to the Helm `values` file. ImageStrategy HelmImageStrategy `yaml:"imageStrategy,omitempty"` - - // UseHelmSecrets instructs skaffold to use secrets plugin on deployment - UseHelmSecrets bool `yaml:"useHelmSecrets,omitempty"` } // HelmPackaged parameters for packaging helm chart (`helm package`).