operator-framework / operator-framework/java-operator-sdk

Makefile bundle-build incorrect path to bundle.Dockerfile

オープン
#1,879 コメント 10 件 リアクション 0 件 担当者 1 名 GitHub で見る

@metacosm がすでに取り組んでいます。

2023年5月3日 から。

lifecycle/stale
主要言語
Java
スター
944
フォーク
242
平均マージ
1日 4時間
マージ済み PR(30日)
43

説明

Bug Report

What did you do?

Run make bundle-build

What did you expect to see?

A bundle image created locally.

What did you see instead? Under which circumstances?

bundle.Dockerfile was not found

Environment

N/A

Possible Solution

Point at the correct file, located under target -

docker build -t $(BUNDLE_IMG) -f target/bundle/$(PACKAGE_NAME)/bundle.Dockerfile target/bundle/$(PACKAGE_NAME)

Add the following under src/main/resources/application.properties

quarkus.container-image.name=<package name>-controller
quarkus.operator-sdk.bundle.package-name=<package name>
quarkus.operator-sdk.bundle.channels=<channels>
quarkus.container-image.registry=<registry>
quarkus.container-image.group=<group or repo name>
Additional context

Sample Makefile - https://github.com/skattoju/simple-java-operator/blob/cleanup/Makefile#L91

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。