-
Bug
-
Resolution: Done-Errata
-
Major
-
4.12.z
-
Moderate
-
No
-
False
-
This is a clone of issue OCPBUGS-24375. The following is the description of the original issue:
—
Description of problem:
oc process command fails while running it with a template file
Version-Release number of selected component (if applicable):
4.12.41
How reproducible:
100%
Steps to Reproduce:
1. Create a new project and a template file $ oc new-project test $ oc get template httpd-example -n openshift -o yaml > /tmp/template_http.yaml 2. Run oc process command as given below $ oc process -f /tmp/template_http.yaml error: unable to process template: the namespace of the provided object does not match the namespace sent on the request 3. When we run this command as a template from other namespace it runs fine. $ oc process openshift//httpd-example 4. $ oc version Client Version: 4.12.41 Kustomize Version: v4.5.7 Server Version: 4.12.42 Kubernetes Version: v1.25.14+bcb9a60
Actual results:
$ oc process -f /tmp/template_http.yaml error: unable to process template: the namespace of the provided object does not match the namespace sent on the request
Expected results:
Command should display the output of resources it will create
Additional info:
- blocks
-
OCPBUGS-24462 oc process command fails while running it with a template file
- Closed
- clones
-
OCPBUGS-24375 oc process command fails while running it with a template file
- Closed
- is blocked by
-
OCPBUGS-24460 oc process command fails while running it with a template file
- Closed
- links to
-
RHBA-2023:7827 OpenShift Container Platform 4.13.z bug fix update