Data Grid Operator in OpenShift ERROR Reconciler error admission webhook validation.gatekeeper denied the request
Issue
A route cannot be created by the Data Grid Operator by the gatekeeper.sh
and returns the message below:
2024-09-03T18:22:11.744Z ERROR Reconciler error {"controller": "infinispan", "controllerGroup": "infinispan.org", "controllerKind": "Infinispan", "infinispan": {"name":"datagrid","namespace":"datagrid-namespace"}, "namespace": "datagrid-namespace", "name": "datagrid", "reconcileID": "...", "error": "admission webhook \"validation.gatekeeper.sh\" denied the request: [route-https-only] Route must be https. TLS configuration is required for Route <datagrid-external>. See https://confluence.details.com for more info on configuring/obtaining certs"}
The route name is: datagrid-external
as in CustomResource-external
.
Environment
- Red hat OpenShift Container Platform (OCP)
- 4.x
- Gatekeeper
- Red Hat Data Grid (RHDG)
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.