Skip to content

Latest commit

 

History

History
 
 

pentagon

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Pentagon

This is a library to deploy Grafana's fork of Pentagon.

The library is intended to deploy 1 pentagon instance per namespace.

Example

local pentagon = import 'pentagon/pentagon.libsonnet',

{
  pentagon:
    pentagon
    + pentagon.addPentagonMapping('secret/data/path/to/secret', 'kubernetes_secret_name')
    + pentagon.addPentagonMapping('secret/data/path/to/other_secret', 'kubernetes_other_secret_name')
    + {
      _config+:: {
        namespace: 'default',
        cluster: 'prod',
      },
    },
}