Type of question
Setting up a new project with operator sdk version 0.19
Question
What did you do?
Created a new Memcached golang operator using the guide for the operator-sdk here:
https://sdk.operatorframework.io/docs/golang/quickstart/
and the stock controller from the operator-sdk source:
https://github.com/operator-framework/operator-sdk/blob/master/example/memcached-operator/memcached_controller.go.tmpl
What did you expect to see?
A deployment created upon applying the cr for the Memcached CRD.
What did you see instead? Under which circumstances?
The Memcached CRD gets created and a pod with the controller using my Memcached operator image gets created but when I attempt to apply the CR and create instances of the Memcached operator which should create deployment objects, I don't see any events or errors but no deployment gets created either.
Environment
4.3.1
Additional context
I was able to get this working when creating an operator using the old scaffolding from operator-sdk v0.17

I see the instances of the Memcached operator but the controller doesn't create the deployment. Am I missing something with registering the controller with the manager or something?
Thanks,
Atef
Type of question
Setting up a new project with operator sdk version 0.19
Question
What did you do?
Created a new Memcached golang operator using the guide for the operator-sdk here:
https://sdk.operatorframework.io/docs/golang/quickstart/
and the stock controller from the operator-sdk source:
https://github.com/operator-framework/operator-sdk/blob/master/example/memcached-operator/memcached_controller.go.tmpl
What did you expect to see?
A deployment created upon applying the cr for the Memcached CRD.
What did you see instead? Under which circumstances?
The Memcached CRD gets created and a pod with the controller using my Memcached operator image gets created but when I attempt to apply the CR and create instances of the Memcached operator which should create deployment objects, I don't see any events or errors but no deployment gets created either.
Environment
operator-sdk version:
v0.19.0
Kubernetes version information:
4.3.1
Additional context
I was able to get this working when creating an operator using the old scaffolding from operator-sdk v0.17
I see the instances of the Memcached operator but the controller doesn't create the deployment. Am I missing something with registering the controller with the manager or something?
Thanks,
Atef