-
Bug
-
Resolution: Unresolved
-
Minor
-
3.6.0.GA
-
False
-
None
-
False
-
Workaround Exists
-
-
-
Description of problem:
It's not possible to process/apply OpenShift Template in vanilla Dev Spaces installation
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Use following OpenShift template:
kind: Template apiVersion: template.openshift.io/v1 objects: - kind: Secret apiVersion: v1 metadata: labels: app: template-reproducer name: template-reproducer stringData: TEST: ${TEST} parameters: - name: TEST displayName: Source Broker Username description: The username to use for the connection to Source Broker. required: true
And try to process it like this (as normal user, not cluster-admin:
oc process -f template.yaml -p TEST=test | oc create -f - error: unable to process template processedtemplates.template.openshift.io is forbidden: User "user1" cannot create resource "processedtemplates" in API group "template.openshift.io" in the namespace "user1-dev" error: no objects passed to create
Actual results:
processing/applying openshift template fails
Expected results:
process/applying openshift template works out of the box
Reproducibility (Always/Intermittent/Only Once):
always
Acceptance criteria:
appropriate role binding is configured ootb to allow "*" to OpenShift Template :
kind: Template
apiVersion: template.openshift.io/v1
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):