diff --git a/docs-v2/content/en/schemas/v4beta8.json b/docs-v2/content/en/schemas/v4beta8.json index e4fd5bed3e2..0e8eedfac80 100755 --- a/docs-v2/content/en/schemas/v4beta8.json +++ b/docs-v2/content/en/schemas/v4beta8.json @@ -2982,12 +2982,6 @@ "description": "equivalent to the dir in `kpt live apply
kpt live apply <dir>
. If not provided, skaffold deploys from the default hydrated path <WORKDIR>/.kpt-pipeline
."
},
- "false": {
- "type": "boolean",
- "description": "used in `kpt live init`, which forces the inventory values to be updated, even if they are already set.",
- "x-intellij-html-description": "used in kpt live init
, which forces the inventory values to be updated, even if they are already set.",
- "default": "false"
- },
"flags": {
"items": {
"type": "string"
@@ -2997,6 +2991,12 @@
"x-intellij-html-description": "kpt global flags.",
"default": "[]"
},
+ "force": {
+ "type": "boolean",
+ "description": "used in `kpt live init`, which forces the inventory values to be updated, even if they are already set.",
+ "x-intellij-html-description": "used in kpt live init
, which forces the inventory values to be updated, even if they are already set.",
+ "default": "false"
+ },
"inventoryID": {
"type": "string",
"description": "*alpha* inventory ID which annotates the resources being lively applied by kpt.",
@@ -3020,7 +3020,7 @@
"name",
"inventoryID",
"namespace",
- "false",
+ "force",
"defaultNamespace"
],
"additionalProperties": false,
diff --git a/pkg/skaffold/schema/latest/config.go b/pkg/skaffold/schema/latest/config.go
index 962cc9c7472..eadcdccae36 100644
--- a/pkg/skaffold/schema/latest/config.go
+++ b/pkg/skaffold/schema/latest/config.go
@@ -807,7 +807,7 @@ type KptDeploy struct {
InventoryNamespace string `yaml:"namespace,omitempty"`
// Force is used in `kpt live init`, which forces the inventory values to be updated, even if they are already set.
- Force bool `yaml:"false,omitempty"`
+ Force bool `yaml:"force,omitempty"`
// LifecycleHooks describes a set of lifecycle hooks that are executed before and after every deploy.
LifecycleHooks DeployHooks `yaml:"-"`