GitLab Pages (OpenShift)

Hey,
can i use GitLab pages on a self hosted instance on OpenShift? If yes, how can i activate this, because on OpenShift there is no gitlab.rb config file.
Greets

apiVersion: apps.gitlab.com/v1beta1
kind: GitLab
metadata:
  name: gitlab
  namespace: gitlab-system
spec:
  chart:
    values:
      certmanager:
        install: contentways.eu
      global:
        hosts:
          domain: contentways.eu
        ingress:
          configureCertmanager: true
          class: none
          annotations:
            route.openshift.io/termination: "edge"
      certmanager-issuer:
        email: info@patrick-omland.de
      pages:
        enabled: true
        host: contentways-pages.eu
        https: true
    version: 6.1.2

This is my gitlab-crd.yaml file to create a Gitlab instance with the Gitlab Operator, but when I look in the Admin Panel it shows me the pages as disabled. In OpenShift there is no route create for the pages Domain, what I am doing wrong?

HI @Aeon

from the first glance you are missing the spec.chart.values.global.hosts.pages as shown here and your spec.chart.values.pages should be in spec.chart.values.global.pages as shown here.

You can refer to Chart documentation | GitLab to see available options.

Thx, my mistake now it works. But in OpenShift the deployment added a Wildcard Route and OpenShift says that no wildcard routes are supported. So what can I do to use Pages?