package kubepromstack

import "github.com/oslokommune/okctl/pkg/helm/charts/kubepromstack"

Package kubepromstack provides a helm chart for installing kube-prometheus-stack: - https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack

Index

Constants

const (
	// ReleaseName is the name of the release
	ReleaseName = "kube-prometheus-stack"
	// Namespace is the default namespace
	Namespace = "monitoring"
)

Functions

func New

func New(values *Values, timeout time.Duration) *helm.Chart

New returns an initialised helm chart: - https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack

Types

type Values

type Values struct {
	GrafanaServiceAccountName          string
	GrafanaCertificateARN              string
	GrafanaHostname                    string
	AuthHostname                       string
	ClientID                           string
	SecretsConfigName                  string
	SecretsGrafanaCookieSecretKey      string
	SecretsGrafanaOauthClientSecretKey string
	SecretsGrafanaAdminUserKey         string
	SecretsGrafanaAdminPassKey         string
}

Values maps up the values.yaml file

func (*Values) RawYAML

func (v *Values) RawYAML() ([]byte, error)

RawYAML implements the raw marshaller interface in the Helm package

Source Files

doc.go kubepromstack.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
5 packages
Last checked
5 days ago

Tools for package owners.