Webhook mount location is incompatible with older versions of OLM #4439
Labels
kind/documentation
Categorizes issue or PR as related to documentation.
language/go
Issue is related to a Go operator project
Milestone
Bug Report
What did you do?
Attempt to deploy an operator with webhooks generated by SDK v1.1.0 against the
release-4.6
version of OLM.What did you expect to see?
The operator falls back to the old default serving cert mount locations for the
release-4.6
version of OLM if the newer locations aren't populated:older
release-4.6
locations:/apiserver.local.config/certificates/apiserver.crt
/apiserver.local.config/certificates/apiserver.key
newer
master
locations:/tmp/k8s-webhook-server/serving-certs/tls.cert
/tmp/k8s-webhook-server/serving-certs/tls.key
What did you see instead? Under which circumstances?
The operator attempted to use only the new, unpopulated, serving cert mount locations and failed to be deployed:
Environment
Operator type:
/language go
Kubernetes cluster type:
OpenShift
$ operator-sdk version
v1.1.0
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: