Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reapplying generated flux manifests will erase known_host customisation #215

Open
squaremo opened this issue Jun 1, 2018 · 1 comment
Open

Comments

@squaremo
Copy link
Contributor

squaremo commented Jun 1, 2018

For some uses of Flux (or weave-flux-agent) it is necessary to customise the deployment manifest; for example, if you're using a self-hosted git server, you need to mount a known_hosts file (see fluxcd/flux#724) from a configmap volume. Unfortunately, as soon as the launcher reapplies the generated manifest, the volume and mount will disappear.

In this case, putting the known_hosts (and .ssh/config?) in a configmap and always mounting it might work. We would have to only supply the initial configmap when the person is installing flux.

@jesusvazquez
Copy link

👋 I'm having this issue. I had to overwrite the deployment of weave-flux-agent to include the ssh config volume and disable weave-agent with replicas set to 0 to avoid overrides.

Thats the only workaround that I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants