Skip to content

Relative paths not work on kustomize resources #616

Open
@lfdominguez

Description

@lfdominguez

Hi, i have a repo structure like this:

/apps/app1/
  - kustomization.yaml
  - fleet.yaml (this configure kustomize to use current dir)
/common/secrets/gitlab.yaml

kustomization.yaml

resources:
  - ../../common/secrets/gitlab.yaml

But when fleet try to render kustomization get this error

Error while running post render on files: accumulating resources: accumulation err='accumulating resources from '../../common/secrets/gitlab.yaml': '../../common/secrets/gitlab.yaml' doesn't exist': '../../common/secrets/gitlab.yaml' doesn't exist

Is that i can't use common files in the repository and need to copy over all configs the same file?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions