Skip to content

Commit

Permalink
Fix overlays definition in example fleet.yaml in docs
Browse files Browse the repository at this point in the history
In fleet 0.3.0 the list of yaml overlays must be in a yaml object instead of directly in the customization object (https://github.com/rancher/fleet/blob/786b72d2c0093f21f3a565efc86d083e7555dd1a/pkg/apis/fleet.cattle.io/v1alpha1/bundle.go#L175)

Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
  • Loading branch information
bashofmann committed Oct 9, 2020
1 parent a090004 commit dda0f3f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/gitrepo-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,10 @@ targetCustomizations:
# A file named ./overlays/myoverlay/subdir/resource_patch.yaml will patch the base file.
# A patch can in JSON Patch or JSON Merge format or a strategic merge patch for builtin
# Kubernetes types. Refer to "Raw YAML Resource Customization" below for more information.
overlays:
- custom2
- custom3
yaml:
overlays:
- custom2
- custom3
# A selector used to match clusters. The structure is the standard
# metav1.LabelSelector format. If clusterGroupSelector or clusterGroup is specified,
# clusterSelector will be used only to further refine the selection after
Expand Down

0 comments on commit dda0f3f

Please sign in to comment.