From 24e5f953e9665ddcd56ee076fb37c5617fa90a9b Mon Sep 17 00:00:00 2001 From: GuyTempleton Date: Mon, 3 Feb 2020 13:33:02 +0000 Subject: [PATCH] Prometheus-thanos - Allow bucket web httpPort specification Signed-off-by: GuyTempleton --- charts/prometheus-thanos/Chart.yaml | 4 ++-- charts/prometheus-thanos/README.md | 1 + charts/prometheus-thanos/templates/bucket-web-deployment.yaml | 2 +- charts/prometheus-thanos/values.yaml | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/prometheus-thanos/Chart.yaml b/charts/prometheus-thanos/Chart.yaml index df331bdf..b66122ac 100644 --- a/charts/prometheus-thanos/Chart.yaml +++ b/charts/prometheus-thanos/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "0.10.0" +appVersion: "0.10.1" description: A Helm chart for thanos monitoring components name: prometheus-thanos -version: 2.9.0 +version: 2.9.1 home: https://github.com/thanos-io/thanos sources: - https://github.com/thanos-io/thanos diff --git a/charts/prometheus-thanos/README.md b/charts/prometheus-thanos/README.md index afc3c3cc..be9ee6c7 100644 --- a/charts/prometheus-thanos/README.md +++ b/charts/prometheus-thanos/README.md @@ -71,6 +71,7 @@ The following table lists the configurable parameters of the prometheus-thanos c | `bucketWebInterface.additionalLabels` | Additional labels on bucket web interface pods| `{}` | | `bucketWebInterface.affinity` | Affinity | `{}` | | `bucketWebInterface.extraEnv` | Extra env vars | `nil` | +| `bucketWebInterface.httpServerPort` | The port to expose from the bucket web interface container | `10902` | | `bucketWebInterface.image.repository` | Docker image repo for bucket web interface | `quay.io/thanos/thanos` | | `bucketWebInterface.image.tag` | Docker image tag for bucket web interface | `v0.10.0` | | `bucketWebInterface.image.pullPolicy` | Docker image pull policy for bucket web interface| `IfNotPresent` | diff --git a/charts/prometheus-thanos/templates/bucket-web-deployment.yaml b/charts/prometheus-thanos/templates/bucket-web-deployment.yaml index 54dbbbc2..1b9ef1c1 100644 --- a/charts/prometheus-thanos/templates/bucket-web-deployment.yaml +++ b/charts/prometheus-thanos/templates/bucket-web-deployment.yaml @@ -58,7 +58,7 @@ spec: {{- end }} ports: - name: http - containerPort: 8080 + containerPort: {{ .Values.bucketWebInterface.httpServerPort }} protocol: TCP {{- if .Values.bucketWebInterface.extraEnv }} env: diff --git a/charts/prometheus-thanos/values.yaml b/charts/prometheus-thanos/values.yaml index fc800690..8d3144d9 100644 --- a/charts/prometheus-thanos/values.yaml +++ b/charts/prometheus-thanos/values.yaml @@ -310,6 +310,7 @@ bucketWebInterface: additionalLabels: {} affinity: {} extraEnv: [] + httpServerPort: 10902 image: repository: quay.io/thanos/thanos tag: v0.10.0