You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to extend operator-sdk/pkg/sdk in order to support by example such additional request able to create a subresource for a DeploymentConfig ?
// Instantiate takes the representation of a deploymentRequest and creates it. Returns the server's representation of the deploymentConfig, and an error, if there is any.
func (c *deploymentConfigs) Instantiate(deploymentConfigName string, deploymentRequest *v1.DeploymentRequest) (result *v1.DeploymentConfig, err error) {
result = &v1.DeploymentConfig{}
err = c.client.Post().
Namespace(c.ns).
Resource("deploymentconfigs").
Name(deploymentConfigName).
SubResource("instantiate").
Body(deploymentRequest).
Do().
Into(result)
return
}
The text was updated successfully, but these errors were encountered:
It appears that they also do not have support for subresources besides /status.
I am going to close this issue in favor of kubernetes-sigs/controller-runtime#172. We can re-open this feature request depending on the outcome of that issue.
Is it possible to extend
operator-sdk/pkg/sdk
in order to support by example such additional request able to create a subresource for a DeploymentConfig ?https://goo.gl/uCxqWY
The text was updated successfully, but these errors were encountered: