You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
I gave up trying to get this working without making substantial changes, so I rewrote it in Go, see flux-tester for details. I'm open to merging it back into this repo but I'm operating under the assumption that if you had wanted it done this way you would've done so.
Repro steps:
make integration-test
Expected:
It finishes
Actual:
It times out. Pod logs show
git clone: fatal: Could not read from remote repository.
Root cause:
After #892, ssh config is written loaded into the container image from disk. In the integration test, we mount the
known_hosts
file to the/root/.ssh
directory:https://github.com/weaveworks/flux/blob/master/test/flux-deploy-all.yaml#L86
This overwrites the directory and nukes the ssh_config, which contains the location of the identity file mounted at /etc/fluxd/ssh/identity: https://github.com/weaveworks/flux/blob/master/docker/ssh_config
Setting
StrictHostKeyChecking no
and removing thevolumeMount
works around the issue, but that won't work long term.Kubernetes issue: kubernetes/kubernetes#51165
Possible working configuration (although it is a slightly different use case): dshulyak/kubernetes.github.io@d58ba7b
The text was updated successfully, but these errors were encountered: