Skip to content

pre-provisioning the Checkmk data source on a Kubernetes deployment #310

@normansa78

Description

@normansa78

Hi everyone,

I wasn't sure if this was the correct place to post this, but I struggled quite a bit with pre-provisioning the Checkmk data source on a Kubernetes deployment using ConfigMaps.

After a lot of trial and error, I wanted to share the final working configuration with you all.

---
apiVersion: v1
kind: ConfigMap
metadata:
  name: checkmk-datasource
  namespace: your_namespace_here
data:
  checkmk-datasource.yaml: |-
    apiVersion: 1
    datasources:
      - name: Checkmk Datasource
        type: checkmk-cloud-datasource
        access: proxy
        uid: Checkmk-Datasource-01
        editable: true
        edition: "Commercial editions"
        jsonData:
          url: "https://<checkmk_sever>/<site_name>"
          username: xxxyyyzzz #The user's role requires the "Users Management" feature in checkmk.
        secureJsonData:
          secret: "zzzyyyxxx"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions