Skip to content

[Manifest-Deployer] allow to use soft links in /var/lib/k0s/manifests #4402

@secustor

Description

@secustor

Is your feature request related to a problem? Please describe.

I'm keeping all configuration in a central git repository which includes some manifests and my k0sctl config.

Now I want to use the manifest deployer to add some manifests and reconcile it reguralry ( I'm pulling in changes via git ).

My first attempt has been to simply add a soft link from /var/lib/k0s/manifests/custom to /data/setup/manifests, though these manifests are not deployed.
During debugging I have copied the manifest manually to /var/lib/k0s/manifests/test, which brought the desired effect.

I guess currently manifest-deployer:

  • do not listen for filesystem events behind soft links
  • or can not resolve soft links at all

Describe the solution you would like

manifest-deployer resolves and listens to soft links in its manifest folder.

Describe alternatives you've considered

Writing a script to copy and overwrite the data after pulling the new data or moving it into a helm chart extension.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions