add support for deploymentLabels

Signed-off-by: quintonm <quinton.mccombs@gmail.com>
This commit is contained in:
quintonm
2024-09-24 11:21:20 -05:00
parent 16a607549e
commit 03d4acc77f
4 changed files with 29 additions and 0 deletions

View File

@@ -81,6 +81,15 @@ $ helm upgrade -i flagger flagger/flagger \
--set metricsServer=http://osm-prometheus.osm-system.svc:7070
```
If you need to add labels to the flagger deployment or pods, you can pass the labels as parameters as shown below.
```console
helm upgrade -i flagger flagger/flagger \
<other parameters> \
--set podLabels.<labelName>=<labelValue> \
--set deploymentLabels.<labelName>=<labelValue>
```
You can install Flagger in any namespace as long as it can talk to the Prometheus service on port 9090.
For ingress controllers, the install instructions are: