Skip to content

Add Git to Holos container image. #440

@WhyKickAmooCow

Description

@WhyKickAmooCow

Kustomize with a git ref remote resource requires git to be installed. As evidenced using the holos github action:

 error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/kubernetes-csi/external-snapshotter.git//client/config/crd/?ref=v8.2.0': URL is a git repository': no 'git' program on path: exec: "git": executable file not found in $PATH
could not run: could not transform components/external-snapshotter/external-snapshotter.gen.yaml for external-snapshotter path ./components/external_snapshotter: could not run kustomize: could not run command:
	kubectl 'kustomize' '/tmp/holos.kustomize1771624502'
	exit status 1 at builder/v1alpha5/builder.go:615
could not run: could not render component: could not run command:
	holos '--log-level' 'info' '--log-format' 'console' 'render' 'component' '--inject' 'holos_component_name=external-snapshotter' '--inject' 'holos_component_path=components/external_snapshotter' './components/external_snapshotter'
	exit status 1 at cli/render/render.go:171

so it would be great if it could be included in the container image.

Metadata

Metadata

Assignees

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