Parameters
The parent key for all of the following parameters is grafana_helm.
namespaceLabels
| type |
object |
| default |
|
Additional labels to add to the namespace specified in namespace.
namespaceAnnotations
| type |
object |
| default |
|
Additional annotations to add to the namespace specified in namespace.
secrets
| type |
object |
| default |
|
| example |
|
A dictionary holding secrets for use with Grafana.
Each key in the dictionary is used as the name of a secret.
The value of the key is merged directly into an empty Kubernetes Secret resource.
By default, secrets are created in the namespace in which Grafana is deployed.
openshiftIntegration
Configuration options for tight integration in OpenShift.
openshiftIntegration.enabled
| type |
boolean |
| default |
|
Enables configuration for OpenShift integration.
|
Enabling OpenShift integration will configure various Helm values and create the neccessary resources for Grafana to authenticate agains OpenShift and have datasources for the OpenShift observation stack. |
openshiftIntegration.auth
| type |
object |
| default |
|
openshiftIntegration.ingress
| type |
object |
| default |
|
The URL the Grafana instance will be published under has the form <urlPrefix>.apps.<clusterDomain>.
openshiftIntegration.metrics
| type |
object |
||||
| default |
|
Integrating OpenShift metrics.
openshiftIntegration.logsApps
| type |
object |
||||
| default |
|
Inegrate OpenShift Application logs.
helm_values
| type |
object |
| default |
|
Values passed to Helm.
Example
namespace: example-namespace
dashboards:
dashboard-crossplane: |-
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
[...]
datasources:
'datasource.yaml': |-
apiVersion: 1
datasources:
- name: Prometheus
type: prometheus
url: http://prometheus-svc
access: proxy
isDefault: true
extraConfigMap:
'nginx.conf': "# My NGINX config File"