Is there an existing issue for this?
Current Behavior
After upgrading to Rancher v2.14.1 (Fleet v0.15.1), GitRepo resources whose spec.revision is a git tag name (no spec.branch set) fail to reconcile with:
Failed to resolve revision repo="https://git.example.com/group/repo.git" branch="" revision="2.0.0" path="/workspace": reference not found
Expected Behavior
spec.revision should resolve any commit that the underlying git repo advertises — including tags — as it did prior to v0.15.0.
Steps To Reproduce
- Push a tag (e.g. 2.0.0) to a git repo.
- Create a GitRepo:
apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
name: example
namespace: fleet-default
spec:
repo: https://git.example.com/group/repo.git
revision: "2.0.0"
- Observe the relevant gitcloner-initializer container logs / GitRepo status — reconcile fails with reference not found.
Environment
- Architecture: amd64
- Fleet Version: 0.15.1
- Cluster:
- Provider: RKE2
- Kubernetes Version: v1.35.3+rke2r3
Logs
{"fleetErrorMessage":"failed to resolve revision repo=\"https://<omitted>.git\" branch=\"\" revision=\"2.0.0\" path=\"/workspace\": reference not found","level":"fatal","msg":"Fleet cli failed","time":"2026-05-21T17:33:25Z"}
Anything else?
No response
Is there an existing issue for this?
Current Behavior
After upgrading to Rancher v2.14.1 (Fleet v0.15.1), GitRepo resources whose spec.revision is a git tag name (no spec.branch set) fail to reconcile with:
Failed to resolve revision repo="https://git.example.com/group/repo.git" branch="" revision="2.0.0" path="/workspace": reference not foundExpected Behavior
spec.revision should resolve any commit that the underlying git repo advertises — including tags — as it did prior to v0.15.0.
Steps To Reproduce
apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
name: example
namespace: fleet-default
spec:
repo: https://git.example.com/group/repo.git
revision: "2.0.0"
Environment
Logs
{"fleetErrorMessage":"failed to resolve revision repo=\"https://<omitted>.git\" branch=\"\" revision=\"2.0.0\" path=\"/workspace\": reference not found","level":"fatal","msg":"Fleet cli failed","time":"2026-05-21T17:33:25Z"}Anything else?
No response