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

caBundle not respected for git ls-remote on Fleet 0.3.7? #622

Closed
AshleyDumaine opened this issue Nov 17, 2021 · 1 comment
Closed

caBundle not respected for git ls-remote on Fleet 0.3.7? #622

AshleyDumaine opened this issue Nov 17, 2021 · 1 comment

Comments

@AshleyDumaine
Copy link

Hello,

I'm trying to upgrade from Fleet 0.3.5 to 0.3.7 (going from Rancher 2.5.8 which uses the former to Rancher 2.6.2 which uses the latter). I also ensured I'm using a newer RKE2 for Rancher 2.6 as well (v1.21.6+rke2r1).

However, I'm hitting an issue when Fleet tries to do a git ls-remote to check for newer commits where I was not running into this on 0.3.5:
Screenshot 2021-11-17 at 16-49-44 Rancher

All of my repos are using a caBundle in the GitRepo spec and https for the protocol on the repo since we cannot use ssh.

I haven't had luck at pinpointing the exact issue, but it looks like the fleet-agent Pods for 0.3.7 no longer have fleet-agent-token-XXXX unlike in 0.3.5:

from kubectl describe on a fleet-agent 0.3.5 Pod:

Volumes:
  fleet-agent-token-qg49k:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  fleet-agent-token-qg49k
    Optional:    false 

Same but on 0.3.7:

Volumes:
  kube-api-access-p9fnw:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
@manno manno closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
@weyfonk
Copy link
Contributor

weyfonk commented Nov 15, 2024

See also #2824 (fixed).

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

4 participants