Skip to content

Commit

Permalink
Merge pull request #3278 from BlackDex/add-emptydir-tmp-synthetic-agent
Browse files Browse the repository at this point in the history
[synthetic-monitoring-agent] Add default emptyDir for /tmp with synthetic-agent
  • Loading branch information
Sheikh-Abubaker committed Aug 30, 2024
2 parents 44e86c5 + 298df5f commit fde4cc0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/synthetic-monitoring-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ name: synthetic-monitoring-agent
sources:
- https://github.com/grafana/synthetic-monitoring-agent
type: application
version: 0.3.0
version: 0.4.0
2 changes: 1 addition & 1 deletion charts/synthetic-monitoring-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# synthetic-monitoring-agent

![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.9.3-0-gcd7aadd](https://img.shields.io/badge/AppVersion-v0.9.3--0--gcd7aadd-informational?style=flat-square)
![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.9.3-0-gcd7aadd](https://img.shields.io/badge/AppVersion-v0.9.3--0--gcd7aadd-informational?style=flat-square)

Grafana's Synthetic Monitoring application. The agent provides probe functionality and executes network checks for monitoring remote targets.

Expand Down
6 changes: 6 additions & 0 deletions charts/synthetic-monitoring-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ spec:
name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts:
- mountPath: /tmp
name: synthetic-monitoring-agent-tmpfs
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
Expand Down Expand Up @@ -95,3 +98,6 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: synthetic-monitoring-agent-tmpfs
emptyDir: {}

0 comments on commit fde4cc0

Please sign in to comment.