Skip to content

Commit

Permalink
Remove yaml block that breaks docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aran committed Mar 27, 2024
1 parent 3dbdbd2 commit 81a3e42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
5 changes: 1 addition & 4 deletions docs-v2/content/en/schemas/v4beta10.json
Original file line number Diff line number Diff line change
Expand Up @@ -700,10 +700,7 @@
},
"type": "array",
"description": "configure the --platforms flag for `bazel build` based on the configured skaffold target platform.",
"x-intellij-html-description": "configure the --platforms flag for <code>bazel build</code> based on the configured skaffold target platform.",
"examples": [
"``yaml platforms: - platform: linux/amd64 target: //platforms:linux-x86_64 - platform: linux/arm64 target: //platforms:linux-arm64 ``"
]
"x-intellij-html-description": "configure the --platforms flag for <code>bazel build</code> based on the configured skaffold target platform."
},
"target": {
"type": "string",
Expand Down
8 changes: 0 additions & 8 deletions pkg/skaffold/schema/latest/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1610,14 +1610,6 @@ type BazelArtifact struct {

// PlatformMappings configure the --platforms flag for `bazel build`
// based on the configured skaffold target platform.
// For example:
// ```yaml
// platforms:
// - platform: linux/amd64
// target: //platforms:linux-x86_64
// - platform: linux/arm64
// target: //platforms:linux-arm64
// ```
PlatformMappings []BazelPlatformMapping `yaml:"platforms,omitempty"`
}

Expand Down

0 comments on commit 81a3e42

Please sign in to comment.