You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# extraEnvs is useful for adding extra environment variables such as proxy settings
39
42
extraEnvs:
@@ -60,7 +63,7 @@ See [Helm Configuration](#helm-configuration) and [App Configuration](https://gi
60
63
```bash
61
64
helm upgrade --install prometheus-msteams \
62
65
--namespace default -f config.yaml
63
-
charts/prometheus-msteams
66
+
prometheus-msteams/prometheus-msteams
64
67
```
65
68
66
69
### When using with Prometheus Operator
@@ -69,16 +72,16 @@ Please see [Prometheus Operator alerting docs](https://github.com/coreos/prometh
69
72
70
73
### Customise messages to MS Teams
71
74
72
-
This application uses a [Default Teams Message Card Template](./prometheus-msteams/card.tmpl) to convert incoming Prometheus alerts to teams message cards.
73
-
This template can be customised by specifying the value of `customCardTemplate` parameter.
75
+
This application uses a [Default Teams Message Card Template](./prometheus-msteams/card.tmpl) to convert incoming Prometheus alerts to teams message cards.
76
+
This template can be customised by specifying the value of `customCardTemplate` parameter.
74
77
Simply create a new file that you want to use as your custom template (for example, `custom-card.tmpl`).
75
78
You can use the `--set-file` flag to set the value from this file:
76
79
77
80
```bash
78
-
helm install --name prometheus-msteams \
79
-
./prometheus-msteams --namespace monitoring \
81
+
helm upgrade --install prometheus-msteams \
82
+
--namespace default -f config.yaml \
80
83
--set-file customCardTemplate=custom-card.tmpl \
81
-
-f config.yaml
84
+
prometheus-msteams/prometheus-msteams
82
85
```
83
86
84
87
Otherwise you can also set the value by specifying the template data directly via values file.
@@ -87,22 +90,25 @@ Otherwise you can also set the value by specifying the template data directly vi
|`imagePullSecrets`| Configuration for [imagePullSecrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-pod-that-uses-your-secret) so that you can use a private registry for your image |`[]`|
94
98
|`extraEnvs`| Extra environment variables |`{}`|
95
-
|`connectors`| Add your own Microsoft Teams connectors. |`{}`|
96
-
|`connectors_with_custom_templates`| Add your own Microsoft Teams connectors with custom template file. |`{}`|
99
+
|`connectors`| Add your own Microsoft Teams connectors. |`[]`|
100
+
|`connectors_with_custom_templates`| Add your own Microsoft Teams connectors with custom template file. |`[]`|
97
101
|`service.port`| Service port |`2000`|
98
102
|`service.type`| Service type |`ClusterIP`|
99
103
|`container.port`| Container port |`2000`|
100
104
|`container.additionalArgs`| additional prometheus-msteams flags to use |`{}`|
101
-
|`resources`| Pod resources | See [default](./prometheus-msteams/values.yaml)|
105
+
|`resources`| Pod resources | See [default](./values.yaml)|
102
106
|`nodeSelector`| Pod nodeSelector |`{}`|
103
107
|`affinity`| Pod affinity |`{}`|
104
108
|`tolerations`| Pod tolerations |`{}`|
109
+
|`priorityClassName`| Pod priority class |`""`|
105
110
|`podAnnotations`| Pod annotations |`{}`|
111
+
|`podSecurityContext`| Pod securityContext | See [default](./values.yaml)|
106
112
|`customCardTemplate`| Custom message card template for MS teams |`""`|
107
113
|`metrics.serviceMonitor.enabled`| Set this to `true` to create ServiceMonitor for Prometheus operator |`false`|
108
114
|`metrics.serviceMonitor.additionalLabels`| Additional labels that can be used so ServiceMonitor will be discovered by Prometheus |`{}`|
0 commit comments