Open thomassuedbroecker opened 2 years ago
@thomassuedbroecker I briefly poked around this locally and it looks like opm's dockerfile generation functionality was graduated out of alpha sometime in the past couple of minor version releases:
cc @joelanford @anik120
Hi @timflannagan thanks for your feedback.
I used the Operator SDK and it worked. But the documentation inside OLM should also work ;-) Here my blog post Deploy an operator without the Operator SDK
Greetings Thomas
I have just encountered the same error. It is happening only if dockerfile exists in the catalog directory. If you generate exactly like in the documentation, then dockerfile is in the dir above it.
Version
I have the same behavior on both OS.
Situation
I try follow the instruction to create a catalog in the OLM documention
Initialize the catalog (https://olm.operatorframework.io/docs/tasks/creating-a-catalog/#initialize-the-catalog)
This are the steps to reproduce:
Step 1: Execute
opm alpha generate
The creation of the dockerfile doesn't work
Step 2: Execute
opm init
The creation catalog/operator yaml or json works
Step 3: Execute
opm validate
Doesn't work
Output:
Summary
For me the OPM doesn't work on two OSs, I am not able to follow the written documentation.