Skip to content

Flux-cd image not support kustomise resource from git repo URL #5524

@sebglon

Description

@sebglon

Describe the bug

The docker image fluxcd/flux-cli:v2.6.2 not support kustomize resource from git repo URL.

kind: Kustomization
resources:
  - https://github.com/kubernetes-csi/external-snapshotter//deploy/kubernetes/snapshot-controller?ref=v8.3.0&timeout=150&depth=1

Steps to reproduce

kind: Kustomization
resources:
  - https://github.com/kubernetes-csi/external-snapshotter//deploy/kubernetes/snapshot-controller?ref=v8.3.0&timeout=150&depth=1

Expected behavior

Flux diff run without error

Screenshots and recordings

logs:

kustomize build failed: accumulating resources: accumulation err='accumulating resources from '../../../bases/snapshot-controller': read /builds/ubbleai/devops/k8s/bases/snapshot-controller: is a directory': recursed accumulation of path '/builds/ubbleai/devops/k8s/bases/snapshot-controller': accumulating resources: accumulation err='accumulating resources from 'https://github.com/kubernetes-csi/external-snapshotter//deploy/kubernetes/snapshot-controller?ref=v8.3.0\u0026timeout=150\u0026depth=1': URL is a git repository': no 'git' program on path: exec: \"git\": executable file not found in $PATH

OS / Distro

docker

Flux version

v2.6.2

Flux check

N/A

Git provider

No response

Container Registry provider

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions