SAP / SAP/component-operator

[FEATURE] [INTERNAL] httpRepository source should support single files

Open
#100 0 comments 0 reactions 1 assignee View on GitHub

@cbarbian-sap is already working on this.

Since Jul 18, 2026.

  • #101 by @cbarbian-sap — open
Dominant language
Go
Stars
3
Forks
2
Avg merge
12d 20h
Merged PRs (30d)
2

Description

Note

The following is about the spec.sourceRef.httpRepository source type which is not yet released for public usage (therefore not documented); use at your own risk.

Is your feature request related to a problem? Please describe.

Currently, spec.sourceRef.httpRepository.url must target a tar.gz archive. Other content formats such as

  • .tar.bz2
  • .tar (non-compressed)
  • or even a single YAML file

are not supported.

For example it would be nice if one could install something like https://github.com/cert-manager/cert-manager/releases/download/v1.21.0/cert-manager.yaml by just referencing the file via a spec.sourceRef.httpRepository.

Describe the solution you'd like

Evaluate the content type of the downloaded url (maybe plus some guessing magic a la file).

Additional context

Caveat: this would be probably implemented in downloadArchive() in ./internal/generator. Which is also used by the flux sources. Please double and triple check any change with respect to interaction with the flux source-controller.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.