https://rancher.com/ logo
#fleet
Title
# fleet
m

mammoth-postman-10874

07/21/2022, 9:33 PM
I have kustomization.yaml referring remote manifest available over https. vanilla kustomize is able to build such manifest. But fleet fails with: Get “https://raw.githubusercontent.com/kyverno/kyverno/v1.7.1/config/crds/kyverno.io_clusterpolicies.yaml”: dial tcp 185.199.111.133443 i/o timeout’‘: hit 27s timeout running ‘’/usr/bin/git fetch --depth=1 origin HEAD’'
e

early-rocket-98507

07/25/2022, 6:56 PM
It's an open issue https://github.com/rancher/fleet/issues/697 Right now, everything has to live in the GitRepo of your Fleet config; there doesn't seem to be any sub git processor to pull remote resources
m

mammoth-postman-10874

07/25/2022, 7:27 PM
It looks like a kustomize library itself is to blame here. I tried to build fleet from source and feed
fleet test
with it, it works and if I change remote source to be a git path, I have different error:
git not found in PATH
. It looks like fleet-controller simply lacks git program installed.
e

early-rocket-98507

07/26/2022, 4:12 PM
Agreed and it's pretty frustrating.
b

best-microphone-20624

08/02/2022, 7:37 PM
You can use the google
kpt
tool to workaround the problem by pre-downloading the manifests.
71 Views