Last generated April 25, 2025

GrafanaOrganization

GrafanaOrganization is the Schema describing a Grafana organization. Its lifecycle is managed by the observability-operator.

Full name:
grafanaorganizations.observability.giantswarm.io
Group:
observability.giantswarm.io
Singular name:
grafanaorganization
Plural name:
grafanaorganizations
Scope:
Cluster
Versions:
v1alpha1

Version v1alpha1

Example CR

apiVersion: observability.giantswarm.io/v1alpha1
kind: GrafanaOrganization
metadata:
  labels:
    app.kubernetes.io/name: observability-operator
    app.kubernetes.io/managed-by: kustomize
  name: grafanaorganization-sample
spec:
  displayName: Giant Swarm
  rbac:
    admins:
    - my-awesome-admins
    - other-admins
    editors:
    - my-awesome-editors
    - other-editors
    viewers:
    - my-awesome-viewers
    - other-viewers
  tenants:
  - myawesometenants

Properties

.apiVersion

string

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

.kind

string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

.metadata

object

.spec

object

GrafanaOrganizationSpec defines the desired state of GrafanaOrganization

.spec.displayName

string Required

DisplayName is the name displayed when viewing the organization in Grafana. It can be different from the actual org’s name.

.spec.rbac

object Required

Access rules defines user permissions for interacting with the organization in Grafana.

.spec.rbac.admins

array Required

Admins is a list of user organizations that have admin access to the grafanaorganization.

.spec.rbac.admins[*]

string

.spec.rbac.editors

array

Editors is a list of user organizations that have editor access to the grafanaorganization.

.spec.rbac.editors[*]

string

.spec.rbac.viewers

array

Viewers is a list of user organizations that have viewer access to the grafanaorganization.

.spec.rbac.viewers[*]

string

.spec.tenants

array Required

Tenants is a list of tenants that are associated with the Grafana organization.

.spec.tenants[*]

string

TenantID is a unique identifier for a tenant. It must be lowercase.

.status

object

GrafanaOrganizationStatus defines the observed state of GrafanaOrganization

.status.dataSources

array

DataSources is a list of grafana data sources that are available to the Grafana organization.

.status.dataSources[*]

object

DataSource defines the name and id for data sources.

.status.dataSources[*].ID

integer Required

ID is the unique id of the data source.

.status.dataSources[*].name

string Required

Name is the name of the data source.

.status.orgID

integer

OrgID is the actual organisation ID in grafana.


This documentation page shows information based on observability-operator v0.27.0.

This part of our documentation refers to our vintage product. The content may be not valid anymore for our current product. Please check our new documentation hub for the latest state of our docs.