1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00
Files
prometheus-operator/helm
Ricardo Hernandez b4d659a684 [helm/alertmanager] Reference external secret for Alertmanager config (#1570)
* Reference external secret for alertmanager config

* Bump versions

* Update README

* Improve wording on README
2018-07-25 12:53:03 +02:00
..
2018-07-23 14:15:02 +02:00
2018-07-23 19:02:17 +02:00

TL;DR

# Install helm https://docs.helm.sh/using_helm/ then run:
helm repo add coreos https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
helm install coreos/prometheus-operator --name prometheus-operator --namespace monitoring
helm install coreos/kube-prometheus --name kube-prometheus --namespace monitoring

How to contribute?

  1. Fork the project
  2. Make the changes in the helm charts
  3. Bump the version in Chart.yaml for each modified chart
  4. Update kube-prometheus/requirements.yaml file with the dependencies
  5. Bump the kube-prometheus/Chart.yaml
  6. Test locally
  7. Push the changes

How to test?

# From top directory i.e. prometheus-operator
helm install helm/prometheus-operator --name prometheus-operator --namespace monitoring
mkdir -p helm/kube-prometheus/charts
helm package -d helm/kube-prometheus/charts helm/alertmanager helm/grafana helm/prometheus  helm/exporter-kube-dns \
helm/exporter-kube-scheduler helm/exporter-kubelets helm/exporter-node helm/exporter-kube-controller-manager \
helm/exporter-kube-etcd helm/exporter-kube-state helm/exporter-coredns helm/exporter-kubernetes
helm install helm/kube-prometheus --name kube-prometheus --namespace monitoring