diff --git a/stable/prometheus-adapter/Chart.yaml b/stable/prometheus-adapter/Chart.yaml index c17c315875..ae1090b8a9 100644 --- a/stable/prometheus-adapter/Chart.yaml +++ b/stable/prometheus-adapter/Chart.yaml @@ -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: diff --git a/stable/prometheus-adapter/README.md b/stable/prometheus-adapter/README.md index 0fe4c1637e..5d8db54a84 100644 --- a/stable/prometheus-adapter/README.md +++ b/stable/prometheus-adapter/README.md @@ -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` | diff --git a/stable/prometheus-adapter/templates/custom-metrics-apiserver-deployment.yaml b/stable/prometheus-adapter/templates/custom-metrics-apiserver-deployment.yaml index 9ac2d8e0ad..f4df30b57e 100644 --- a/stable/prometheus-adapter/templates/custom-metrics-apiserver-deployment.yaml +++ b/stable/prometheus-adapter/templates/custom-metrics-apiserver-deployment.yaml @@ -28,6 +28,7 @@ spec: allowPrivilegeEscalation: false capabilities: drop: ["all"] + readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 10001 serviceAccountName: {{ template "k8s-prometheus-adapter.serviceAccountName" . }} diff --git a/stable/prometheus-adapter/values.yaml b/stable/prometheus-adapter/values.yaml index 23ade9662b..f91f200eec 100644 --- a/stable/prometheus-adapter/values.yaml +++ b/stable/prometheus-adapter/values.yaml @@ -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