diff --git a/helm/README.md b/helm/README.md index 023ed4e69..a24b31ac7 100644 --- a/helm/README.md +++ b/helm/README.md @@ -5,3 +5,24 @@ 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 --set rbacEnable=true --namespace monitoring ```` + +# How to contribue? + +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](kube-prometheus/requirements.yaml) file with the dependencies +5. Bump the [kube-prometheus/Chart.yaml](kube-prometheus/Chart.yaml) +6. [Test locally](#how-to-test) +7. Push the changes + +# How to test? + + +``` +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/prometheus-operator 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-kubernetes +helm install helm/kube-prometheus --name kube-prometheus --namespace monitoring + +``` diff --git a/helm/prometheus-operator/Chart.yaml b/helm/prometheus-operator/Chart.yaml index 2bacf2048..61506132a 100644 --- a/helm/prometheus-operator/Chart.yaml +++ b/helm/prometheus-operator/Chart.yaml @@ -9,4 +9,4 @@ maintainers: name: prometheus-operator sources: - https://github.com/coreos/prometheus-operator -version: 0.0.10 +version: 0.0.11 diff --git a/helm/prometheus-operator/values.yaml b/helm/prometheus-operator/values.yaml index 36e00ef80..3935cf28c 100644 --- a/helm/prometheus-operator/values.yaml +++ b/helm/prometheus-operator/values.yaml @@ -22,7 +22,7 @@ configmapReload: ## image: repository: quay.io/coreos/prometheus-operator - tag: v0.15.0 + tag: v0.16.1 pullPolicy: IfNotPresent ## If enabled, prometheus-operator will create a service for scraping kubelets @@ -51,4 +51,4 @@ resources: {} # cpu: 100m # memory: 50Mi -jobLabel: prometheus-operator \ No newline at end of file +jobLabel: prometheus-operator