[stable/prometheus-adapter] v0.4.1, readOnlyRootFilesystem, fixes (#10036)

Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
This commit is contained in:
Steven Sheehy
2018-12-16 02:22:52 -08:00
committed by Kubernetes Prow Robot
parent ac8dd4986a
commit 6e7180700e
4 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: prometheus-adapter
version: v0.2.1
appVersion: v0.4.0
version: v0.2.2
appVersion: v0.4.1
description: A Helm chart for k8s prometheus adapter
home: https://github.com/DirectXMan12/k8s-prometheus-adapter
keywords:
+2 -2
View File
@@ -38,10 +38,10 @@ The following table lists the configurable parameters of the Prometheus Adapter
| ------------------------------- | ------------------------------------------------------------------------------- | --------------------------------------------|
| `affinity` | Node affinity | `{}` |
| `image.repository` | Image repository | `directxman12/k8s-prometheus-adapter-amd64` |
| `image.tag` | Image tag | `v0.4.0` |
| `image.tag` | Image tag | `v0.4.1` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `logLevel` | Log level | `4` |
| `metricsRelistInterval` | Interval at which to re-list the set of all available metrics from Prometheus | `30s` |
| `metricsRelistInterval` | Interval at which to re-list the set of all available metrics from Prometheus | `1m` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `prometheus.url` | Url of where we can find the Prometheus service | `http://prometheus.default.svc` |
| `prometheus.port` | Port of where we can find the Prometheus service | `9090` |
@@ -28,6 +28,7 @@ spec:
allowPrivilegeEscalation: false
capabilities:
drop: ["all"]
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 10001
serviceAccountName: {{ template "k8s-prometheus-adapter.serviceAccountName" . }}
+3 -3
View File
@@ -3,12 +3,12 @@ affinity: {}
image:
repository: directxman12/k8s-prometheus-adapter-amd64
tag: v0.4.0
tag: v0.4.1
pullPolicy: IfNotPresent
logLevel: 4
metricsRelistInterval: 30s
metricsRelistInterval: 1m
nodeSelector: {}
@@ -30,7 +30,7 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:
resources:
resources: {}
# requests:
# cpu: 100m
# memory: 128Mi