Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OperatorHub.io contribution #10

Closed
9 tasks done
david-martin opened this issue Apr 30, 2019 · 6 comments
Closed
9 tasks done

OperatorHub.io contribution #10

david-martin opened this issue Apr 30, 2019 · 6 comments

Comments

@david-martin
Copy link
Contributor

david-martin commented Apr 30, 2019

Follow through contribution steps on https://operatorhub.io/contribute to add the Grafana Operator to OperatorHub.io

cc @pb82 for checklist of changes before you're happy to have a v1 on OperatorHub

@wei-lee
Copy link

wei-lee commented May 1, 2019

@pb82 nice work. we are trying to do the same but we are having trouble with Ingress. Are you using ingress as well? if so are you able to get it work with oauth-proxy?

@david-martin
Copy link
Contributor Author

@wei-lee for OpenShift, something outside the operator would create the route. Same for Kubernetes and Ingress
If using something like oauth proxy, the container for that would be defined in the Grafana CR and included in the Grafana Pod.
So the default install doesn't include any Route, Ingress or OAuth Proxy. This allows it to work on Kubernetes out of the box.

See the application-monitoring-operator for an example of how you could create a Route & setup OAuth Proxy with Prometheus.

This is the pattern the Grafana Operator will follow, so expect changes to the application-monitoring-operator soon for that.

@seravat
Copy link

seravat commented Jul 24, 2019

Hey guys, any idea when the operator will be available on operatorhub? We have an interested client, which is currently using it without any lifecycle management.

@pb82
Copy link
Collaborator

pb82 commented Jul 24, 2019

@seravat We're in the process of preparing and submitting the operator, see #30 . Once this is merged i'm going to open the PR to add the operator to operatorhub.io.

A few caveats though when installing from operatorhub:

  1. by default, the operator will only discover dashboards in it's own namespace. To discover dashboards in other namespaces you have to manually apply the cluster roles (deploy/cluster_roles) and add the --scan-all flag to the container in the deployment.
  2. the operator will not create a route to Grafana by default, but you can easily force it to create the route by adding createRoute: True to the Grafana CR spec.

We're going to look into better multi-namespace support in upcoming releases of the operator.

@seravat
Copy link

seravat commented Jul 24, 2019

Thank you Peter! Looks good

@pb82
Copy link
Collaborator

pb82 commented Jul 26, 2019

It's listed now: https://operatorhub.io/operator/grafana-operator
It should also be available in the OpenShift 4 catalog

@pb82 pb82 closed this as completed Jul 26, 2019
kd7lxl referenced this issue in kd7lxl/grafana-operator Mar 11, 2021
hubeadmin added a commit that referenced this issue Nov 21, 2023
remove matrix and parallelize through for loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants