Skip to content

v1.3.0 - Add Datasource CRD

Compare
Choose a tag to compare
@angelbarrera92 angelbarrera92 released this 06 Jan 08:00
· 10 commits to master since this release

We are pleased to announce the v1.3.0 release.

First of all, thanks to @unitygilles to push a lot of effort in releasing the latest two versions. It provides a big step forward to this project.

This release contains a new CRD to easily manage datasources. Instead of managing datasources using the Organization CRDs, now you can create a datasource CRD then allowing organizations to use it.
Find this graphite datasource example in the docs:

apiVersion: grafana.k8spin.cloud/v1
kind: Datasource
metadata:
  name: example-graphite
spec:
  organizations:
  - k8spin.cloud
  - great-customer-org
  datasource:
    name: graphite
    data: |-
      {
        "id": 1,
        "orgId": 1,
        "name": "test_datasource",
        "type": "graphite",
        "typeLogoUrl": "",
        "access": "proxy",
        "url": "http://mydatasource.test",
        "password": "",
        "user": "",
        "database": "",
        "basicAuth": false,
        "basicAuthUser": "",
        "basicAuthPassword": "",
        "withCredentials": false,
        "isDefault": false,
        "jsonData": {
          "graphiteType": "default",
          "graphiteVersion": "1.1"
        },
        "secureJsonFields": {},
        "version": 1,
        "readOnly": false
      }

Along with this feature, minor fixes and improvements have been developed.

Install or upgrade it by:

$ kubectl create secret generic grafana-multi-tenant-operator \
    --from-literal=GRAFANA_MULTI_TENANT_OPERATOR_HOST=my_grafana_host \
    --from-literal=GRAFANA_MULTI_TENANT_OPERATOR_ADMIN_USERNAME=admin \
    --from-literal=GRAFANA_MULTI_TENANT_OPERATOR_ADMIN_PASSWORD=my_admin_password
$ helm repo add grafana-multi-tenant-operator https://k8spin.github.io/grafana-multi-tenant-operator/charts --force-update
"grafana-multi-tenant-operator" has been added to your repositories
$ helm upgrade --install k8spin grafana-multi-tenant-operator/grafana-multi-tenant-operator

Thanks!