fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Relative paths not work on kustomize resources

Open lfdominguez opened this issue 4 years ago • 1 comments

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?

lfdominguez avatar Nov 14 '21 04:11 lfdominguez

This is also a problem i am facing right now. @deniseschannon is there any hint you can give to resolve this?

siredmar avatar Jun 24 '22 11:06 siredmar