New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create Template on OCP4 #1805
Comments
@gastaldi ^^^ could you have a look please? |
Yes, this is a fix that was introduced in 4.4.2 AFAIK. Because the There are other resources that may need this change, see https://issues.jboss.org/browse/RHOAR-124 for more details |
@gastaldi how do you explain we run Templates in version |
Initial support for OpenShift 4 was introduced in 4.4.0, but there are cases where it would still hit the Can you confirm 4.1.1 hits |
Also worth mentioning that changing the template does not impact OpenShift 3.x |
@gastaldi I can confirm |
Ok, then this seems to be a regression |
@rohanKanojia We are still using workaround |
I am getting
With 4.1.1 it was OK.
Template is version
v1
Creating with
I understand this is somehow related to [1] and [2]. As this worked with
4.1.1
is this regression?But I am not sure what is now correct solution for this. Correct Update templates objects to
template.openshift.io/v1
? Templates are not ours, so there may be some resistance to do so argumenting change is initiated by client change.What could be workaround for this? Can we set template.setApiVersion("template.openshift.io/v1"); in our code to make it work on OCP4?
[1] #1684
[2] #1631
The text was updated successfully, but these errors were encountered: