Operator SDK v1.9.0 seems to ignore --output-dir
when generating bundle.Dockerfile
#5021
Labels
language/go
Issue is related to a Go operator project
Bug Report
What did you do?
The behaviour of
operator-sdk generate bundle
appears to have changed in v1.9.0, producing invalidbundle.Dockerfile
s.What did you expect to see?
In Operator SDK v1.7.2, running
operator-sdk generate bundle
with the--output-dir deploy/bundle
argument produces a bundle.Dockerfile containing the linesWhat did you see instead? Under which circumstances?
Executing
outputs manifests and metadata to
deploy/bundle/*
but the dockerfile containsThe
bundle
directory does not existEnvironment
Operator type:
/language go
Kubernetes cluster type:
OpenShift 4.7
$ operator-sdk version
v1.9.0
$ go version
(if language is Go)go version go1.16.4 linux/amd64
$ kubectl version
Possible Solution
Take into account
--output-dir
when writing bundle.DockerfileAdditional context
I'm working on updating https://github.com/devfile/devworkspace-operator to use operator-sdk v1.9.0 in order to get OLM webhooks support.
The text was updated successfully, but these errors were encountered: