Skip to content

Commit

Permalink
feat(prometheus-pve-exporter): set emptyDir to disk instead of memory
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Ortega <[email protected]>
  • Loading branch information
M0NsTeRRR committed Nov 4, 2024
1 parent 3d5f977 commit bafa80a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-pve-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kubeVersion: ">=1.23.0-0"
name: prometheus-pve-exporter
description: prometheus-pve-exporter helm chart for Kubernetes
type: application
version: 0.2.13
version: 0.2.14
# image: prompve/prometheus-pve-exporter
appVersion: "3.4.5"
maintainers:
Expand Down
4 changes: 2 additions & 2 deletions charts/prometheus-pve-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# prometheus-pve-exporter

![Version: 0.2.13](https://img.shields.io/badge/Version-0.2.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.4.5](https://img.shields.io/badge/AppVersion-3.4.5-informational?style=flat-square)
![Version: 0.2.14](https://img.shields.io/badge/Version-0.2.14-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.4.5](https://img.shields.io/badge/AppVersion-3.4.5-informational?style=flat-square)

prometheus-pve-exporter helm chart for Kubernetes

Expand Down Expand Up @@ -65,7 +65,7 @@ helm repo add adminafk https://helm-charts.adminafk.fr
| securityContext.allowPrivilegeEscalation | bool | `false` | |
| securityContext.capabilities.drop[0] | string | `"ALL"` | |
| securityContext.privileged | bool | `false` | |
| securityContext.readOnlyRootFilesystem | bool | `true` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsGroup | int | `1000` | |
| securityContext.runAsNonRoot | bool | `true` | |
| securityContext.runAsUser | int | `1000` | |
Expand Down
3 changes: 1 addition & 2 deletions charts/prometheus-pve-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ spec:
{{- end }}
volumes:
- name: tmp
emptyDir:
medium: "Memory"
emptyDir: {}
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-pve-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
readOnlyRootFilesystem: false
runAsNonRoot: true
privileged: false
runAsUser: 1000
Expand Down

0 comments on commit bafa80a

Please sign in to comment.