grafana-operator icon indicating copy to clipboard operation
grafana-operator copied to clipboard

[Bug]: unable to create ingress object in openshift

Open alexlionnel opened this issue 10 months ago • 3 comments

Describe the bug Ingress resource is not created when i create a grafana instance using grafana operator

Version I am using grafana-operator v5.8.0 and openshift 4.12.53

To Reproduce Steps to reproduce the behavior:

  1. Install grafana-operator from openshift interface
  2. create a grafana ressource using this yml config
apiVersion: grafana.integreatly.org/v1beta1
kind: Grafana
metadata:
  name: grafana
  labels:
    dashboards: "grafana"
  namespace: grafana-project
spec:
  config:
    log:
      mode: "console"
    auth:
      disable_login_form: "false"
    security:
      admin_user: root
      admin_password: secret
  ingress:
    spec:
      ingressClassName: openshift-default
      rules:
        - host: <my_domain.com>
          http:
            paths:
              - backend:
                  service:
                    name: grafana-service
                    port:
                      number: 3000
                path: /
                pathType: Prefix

Expected behavior Ingress resource should be created but it isn't Same result with ingressClassName: nginx

alexlionnel avatar Apr 11 '24 08:04 alexlionnel