From a54635dc37e6b8371478bb53ebb8865db184443e Mon Sep 17 00:00:00 2001 From: YuleZ Date: Wed, 26 Jul 2023 13:19:05 +0200 Subject: [PATCH 1/4] add hostAliases Signed-off-by: YuleZ --- charts/synthetic-monitoring-agent/templates/deployment.yaml | 4 ++++ charts/synthetic-monitoring-agent/values.yaml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/charts/synthetic-monitoring-agent/templates/deployment.yaml b/charts/synthetic-monitoring-agent/templates/deployment.yaml index f81b971f47..137177aabb 100644 --- a/charts/synthetic-monitoring-agent/templates/deployment.yaml +++ b/charts/synthetic-monitoring-agent/templates/deployment.yaml @@ -29,6 +29,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} serviceAccountName: {{ template "synthetic-monitoring-agent.serviceAccountName" . }} automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }} {{- if .Values.priorityClassName }} diff --git a/charts/synthetic-monitoring-agent/values.yaml b/charts/synthetic-monitoring-agent/values.yaml index 7e3ae67247..66bfe5a527 100644 --- a/charts/synthetic-monitoring-agent/values.yaml +++ b/charts/synthetic-monitoring-agent/values.yaml @@ -30,6 +30,11 @@ image: # -- Docker registry secret names as an array. imagePullSecrets: [] +# -- hostAliases to add +hostAliases: [ ] +# - ip: 1.2.3.4 +# hostnames: +# - domain.tld # -- Override the name of the chart. nameOverride: "" # -- Override the fullname of the chart. From 3c6826344c4adeacb67a82f0b3194e8f7d1eccfd Mon Sep 17 00:00:00 2001 From: YuleZ Date: Wed, 26 Jul 2023 13:19:26 +0200 Subject: [PATCH 2/4] bump version Signed-off-by: YuleZ --- charts/synthetic-monitoring-agent/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/synthetic-monitoring-agent/Chart.yaml b/charts/synthetic-monitoring-agent/Chart.yaml index f793f96897..acf3ac73b5 100644 --- a/charts/synthetic-monitoring-agent/Chart.yaml +++ b/charts/synthetic-monitoring-agent/Chart.yaml @@ -15,4 +15,4 @@ name: synthetic-monitoring-agent sources: - https://github.com/grafana/synthetic-monitoring-agent type: application -version: 0.1.0 +version: 0.2.0 From 1ba807e2c4878a6bd0fdb82d5e74d117f28caff1 Mon Sep 17 00:00:00 2001 From: YuleZ Date: Thu, 27 Jul 2023 10:56:08 +0200 Subject: [PATCH 3/4] apply suggestions Signed-off-by: YuleZ --- charts/synthetic-monitoring-agent/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/synthetic-monitoring-agent/values.yaml b/charts/synthetic-monitoring-agent/values.yaml index 66bfe5a527..f924c53634 100644 --- a/charts/synthetic-monitoring-agent/values.yaml +++ b/charts/synthetic-monitoring-agent/values.yaml @@ -31,7 +31,7 @@ image: # -- Docker registry secret names as an array. imagePullSecrets: [] # -- hostAliases to add -hostAliases: [ ] +hostAliases: [] # - ip: 1.2.3.4 # hostnames: # - domain.tld From a0051fae2ec5c56d948d7626e7222f0886b57828 Mon Sep 17 00:00:00 2001 From: MH Date: Tue, 1 Aug 2023 11:40:47 +0800 Subject: [PATCH 4/4] Update README.md Signed-off-by: MH --- charts/synthetic-monitoring-agent/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/synthetic-monitoring-agent/README.md b/charts/synthetic-monitoring-agent/README.md index 5e119c1ad3..9e9a4192a1 100644 --- a/charts/synthetic-monitoring-agent/README.md +++ b/charts/synthetic-monitoring-agent/README.md @@ -1,6 +1,6 @@ # synthetic-monitoring-agent -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.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.2.0](https://img.shields.io/badge/Version-0.2.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. @@ -39,6 +39,7 @@ Kubernetes: `^1.16.0-0` | autoscaling.targetMemoryUtilizationPercentage | string | `nil` | Target memory utilisation percentage | | extraObjects | list | `[]` | Add dynamic manifests via values: | | fullnameOverride | string | `""` | Override the fullname of the chart. | +| hostAliases | list | `[]` | hostAliases to add | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. | | image.registry | string | `"docker.io"` | Base registry to pull the container image from. | | image.repository | string | `"grafana/synthetic-monitoring-agent"` | Base repository for container image. |