operator-framework / operator-framework/operator-sdk

FBC: catalog-build target in Makefile needs to be updated to generate an FBC catalog image

Open
#5,832 12 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

kind/feature lifecycle/frozen needs discussion olm-integration priority/important-soon
Dominant language
Go
Stars
7.7k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Bug Report

What did you do?

The catalog-build target in Makefile still uses opm index add to generate a SQLite catalog index image. This needs to be updated to generating an FBC index image as we will be defaulting to using File-Based Catalogs once PR is merged into master.

How reproducible:
Always

Steps to Reproduce:

  1. generate an operator through operator-sdk
  2. cat Makefile
What did you expect to see?

Generate the FBC index image in the following way:
$ mkdir catalog
$ opm generate dockerfile catalog
$ mkdir catalog/xxxx
$ opm init xxxx -c alpha -o yaml > catalog/xxxx/index.yaml
$ opm render quay.io/test/xxxx:v1.0 -o yaml >> catalog/xxxx/index.yaml

What did you see instead? Under which circumstances?

Screen Shot 2022-06-06 at 11 27 34 AM

Environment

$ operator-sdk version

operator-sdk version: "v1.20.0-16-g38b8b8d9", commit: "38b8b8d949578a44fb23319e56c242fd620523ca", kubernetes version: "v1.23", go version: "go1.17.4", GOOS: "linux", GOARCH: "amd64"

$ go version (if language is Go)

go version: "go1.17.4"

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.