Skip to content

kustomize dir doesn't limit collection of resouces to the output of kustomize #731

Open
@Jackbennett

Description

@Jackbennett

I have an example that's supposed to run the kustomize from a specific folder, but the output to the bundle from the run includes all files in the repo and pre-kustomized files as well as the kustomized resouces.

Created an example with comments in the README: https://github.com/Jackbennett/fleet-examples/tree/test-fleet/single-cluster/kustomize-multi-path

#697 is also related because if gitrepo path could be set to the path i'm using fleet.yaml to set kustomize.dir then I wouldn't even need a fleet.yaml. An example is also included.

Worth noting is this example is a repo structure already in use with other tooling, it's not from scratch. Fixing this would help fleet adoption.

Thanks. I'm also learning Go if you want to point me in a direction to help.

edit: rancher 2.5-head and fleet 0.3.5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions