In the generated operator there is a default, hardcoded specification for the container and your role is to:
- Extend the api structure
- Regenerate the api
operator-sdk generate k8s
andoperator-sdk generate openapi"
- Define in the resource definition
- Write the required go code to reflect your changes inside your controller file
- Deploy your operator
operator-sdk up local --namespace=default